CVE-2026-142858 ata: libata-scsi: abort multi-sector pass-through commands when multi_count is 0
linux linux: no CVSS score yet. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
On this page
In the Linux kernel, the following vulnerability has been resolved:
ata: libata-scsi: abort multi-sector pass-through commands when multi_count is 0
When an ATA_12, ATA_16, or ATA_32 pass-through command with a
multi-sector PIO command opcode (ATA_CMD_READ_MULTI,
ATA_CMD_WRITE_MULTI, ATA_CMD_READ_MULTI_EXT, ATA_CMD_WRITE_MULTI_EXT, or
ATA_CMD_WRITE_MULTI_FUA_EXT) is submitted via SG_IO on a device where
multiple-sector mode is not configured (dev->multi_count == 0),
ata_scsi_pass_thru() currently logs a warning and still dispatches the
taskfile. When the DRQ interrupt fires, ata_pio_sectors() triggers
WARN_ON_ONCE(qc->dev->multi_count == 0) and computes
nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, 0) = 0, failing
to transfer any sectors:
ata1.00: invalid multi_count 1 ignored
WARNING: drivers/ata/libata-sff.c:666 at ata_pio_sectors+0x27d/0x300
Call Trace:
<IRQ>
ata_sff_hsm_move+0x211/0x22e0
__ata_sff_port_intr+0x1c8/0x520
ata_bmdma_port_intr+0xa1/0x5b0
ata_bmdma_interrupt+0x1f5/0x550
Per ACS-3 section 7.12.7.21, if IDENTIFY DEVICE word 59 bit 8 is cleared
to zero (multi_count == 0) and a READ MULTIPLE or WRITE MULTIPLE command
is received without a preceding successful SET MULTIPLE MODE command, the
device returns command aborted (ABRT). Per the SAT specification, an ABRT
error translates to the ABORTED COMMAND sense key with NO ADDITIONAL SENSE
INFORMATION (0x00, 0x00).
Fail multi-sector taskfile commands in ata_scsi_pass_thru() with
ata_scsi_set_sense(dev, scmd, ABORTED_COMMAND, 0, 0) when
dev->multi_count == 0.
- EPSS
- 0.4% estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 5.10.275
- Linux Linux: fixed in 5.15.226
- Linux Linux: fixed in 6.1.193
- Linux Linux: fixed in 6.6.163
- Linux Linux: fixed in 6.12.117
- Linux Linux: fixed in 6.18.63
- Linux Linux: fixed in 7.3.4
- Linux Linux: fixed in 7.4-rc1
- Debian: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-142858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142858?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 2.6.22 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.10 | 5.10.275 |
| Linux | 5.15 | 5.15.226 |
| Linux | 6.1 | 6.1.193 |
| Linux | 6.6 | 6.6.163 |
| Linux | 6.12 | 6.12.117 |
| Linux | 6.18 | 6.18.63 |
| Linux | 7.3 | 7.3.4 |
| Linux | later releases | 7.4-rc1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | linux | no fix listed | DEBIAN-CVE-2026-142858 |
| Debian | 13 | linux | 6.12.117-1 | DEBIAN-CVE-2026-142858 |
| Debian | 14 | linux | 7.3.4-1 | DEBIAN-CVE-2026-142858 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- https://git.kernel.org/stable/c/2c4be2b6248f94e3163ce9634db8112d8b9a93fa
- https://git.kernel.org/stable/c/30c40077827d8ceeda247579758cada74bc44a7b
- https://git.kernel.org/stable/c/3bab8c7e0c6ba187a47163a1f71477213a278c48
- https://git.kernel.org/stable/c/5f14c59783475b8a6a72c17b3ecbbc862a940209
- https://git.kernel.org/stable/c/7e1052d3ab39fb144d46673cc69e5a377c3892d8
- https://git.kernel.org/stable/c/c6e42762df7d50c9c33d807d6763ff45a375e859
- https://git.kernel.org/stable/c/ce74798da24b35c68b5c2affc78ab3ccec5e0464
- https://git.kernel.org/stable/c/d1ccb62e43be338bc188554dc35e46ca7ba1e33a