# CVE-2026-142858: ata: libata-scsi: abort multi-sector pass-through commands when multi\_count is 0

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:21:01.829Z
- **Modified:** 2026-12-03T04:18:23.037Z

## Who should check

- Anyone running Linux \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 5f14c59783475b8a6a72c17b3ecbbc862a940209; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< d1ccb62e43be338bc188554dc35e46ca7ba1e33a; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< c6e42762df7d50c9c33d807d6763ff45a375e859; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 30c40077827d8ceeda247579758cada74bc44a7b; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 7e1052d3ab39fb144d46673cc69e5a377c3892d8; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 2c4be2b6248f94e3163ce9634db8112d8b9a93fa; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< ce74798da24b35c68b5c2affc78ab3ccec5e0464; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 3bab8c7e0c6ba187a47163a1f71477213a278c48
- Anyone running Linux 2.6.22

## Description

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.

## Affected and fixed versions

- Linux: \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 5f14c59783475b8a6a72c17b3ecbbc862a940209; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< d1ccb62e43be338bc188554dc35e46ca7ba1e33a; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< c6e42762df7d50c9c33d807d6763ff45a375e859; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 30c40077827d8ceeda247579758cada74bc44a7b; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 7e1052d3ab39fb144d46673cc69e5a377c3892d8; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 2c4be2b6248f94e3163ce9634db8112d8b9a93fa; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< ce74798da24b35c68b5c2affc78ab3ccec5e0464; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 3bab8c7e0c6ba187a47163a1f71477213a278c48 (cvelist)
- Linux: 2.6.22 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 3bab8c7e0c6ba187a47163a1f71477213a278c48 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142858. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142858.md
Affected: Linux >= 1dce589c38c36ae69614840ee230183f3a7d43c5, < 5f14c59783475b8a6a72c17b3ecbbc862a940209; >= 1dce589c38c36ae69614840ee230183f3a7d43c5, < d1ccb62e43be338bc188554dc35e46ca7ba1e33a; >= 1dce589c38c36ae69614840ee230183f3a7d43c5, < c6e42762df7d50c9c33d807d6763ff45a375e859; >= 1dce589c38c36ae69614840…
Fixed in: Linux 5f14c59783475b8a6a72c17b3ecbbc862a940209, Linux 30c40077827d8ceeda247579758cada74bc44a7b, Linux 7e1052d3ab39fb144d46673cc69e5a377c3892d8, Linux 2c4be2b6248f94e3163ce9634db8112d8b9a93fa, Linux 3bab8c7e0c6ba187a47163a1f71477213a278c48

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142858 being exploited?

There is no confirmed exploitation: CVE-2026-142858 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142858?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142858?

Linux \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 5f14c59783475b8a6a72c17b3ecbbc862a940209; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< d1ccb62e43be338bc188554dc35e46ca7ba1e33a; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< c6e42762df7d50c9c33d807d6763ff45a375e859; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 30c40077827d8ceeda247579758cada74bc44a7b; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 7e1052d3ab39fb144d46673cc69e5a377c3892d8; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 2c4be2b6248f94e3163ce9634db8112d8b9a93fa; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< ce74798da24b35c68b5c2affc78ab3ccec5e0464; \>= 1dce589c38c36ae69614840ee230183f3a7d43c5, \< 3bab8c7e0c6ba187a47163a1f71477213a278c48; Linux 2.6.22.

### Is there a fix for CVE-2026-142858?

Yes. Fixed in Linux 5f14c59783475b8a6a72c17b3ecbbc862a940209, Linux 30c40077827d8ceeda247579758cada74bc44a7b, Linux 7e1052d3ab39fb144d46673cc69e5a377c3892d8, Linux 2c4be2b6248f94e3163ce9634db8112d8b9a93fa, Linux 3bab8c7e0c6ba187a47163a1f71477213a278c48. Upgrade Linux to 3bab8c7e0c6ba187a47163a1f71477213a278c48 or later.

### How do I check if I'm affected by CVE-2026-142858?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/5f14c59783475b8a6a72c17b3ecbbc862a940209>
- other: <https://git.kernel.org/stable/c/d1ccb62e43be338bc188554dc35e46ca7ba1e33a>
- other: <https://git.kernel.org/stable/c/c6e42762df7d50c9c33d807d6763ff45a375e859>
- other: <https://git.kernel.org/stable/c/30c40077827d8ceeda247579758cada74bc44a7b>
- other: <https://git.kernel.org/stable/c/7e1052d3ab39fb144d46673cc69e5a377c3892d8>
- other: <https://git.kernel.org/stable/c/2c4be2b6248f94e3163ce9634db8112d8b9a93fa>
- other: <https://git.kernel.org/stable/c/ce74798da24b35c68b5c2affc78ab3ccec5e0464>
- other: <https://git.kernel.org/stable/c/3bab8c7e0c6ba187a47163a1f71477213a278c48>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142858>

HTML: <https://flawdb.com/CVE-2026-142858> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142858>
