CVE-2026-142858

Source
https://cve.org/CVERecord?id=CVE-2026-142858
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142858.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142858
Downstream
Published
2026-12-03T03:21:01Z
Modified
2026-12-03T05:01:02Z
Summary
ata: libata-scsi: abort multi-sector pass-through commands when multi_count is 0
Details

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: 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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142858.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1dce589c38c36ae69614840ee230183f3a7d43c5
Fixed
5f14c59783475b8a6a72c17b3ecbbc862a940209
Fixed
d1ccb62e43be338bc188554dc35e46ca7ba1e33a
Fixed
c6e42762df7d50c9c33d807d6763ff45a375e859
Fixed
30c40077827d8ceeda247579758cada74bc44a7b
Fixed
7e1052d3ab39fb144d46673cc69e5a377c3892d8
Show 3 more events Show fewer events
Fixed
2c4be2b6248f94e3163ce9634db8112d8b9a93fa
Fixed
ce74798da24b35c68b5c2affc78ab3ccec5e0464
Fixed
3bab8c7e0c6ba187a47163a1f71477213a278c48

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142858.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.22
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142858.json"