CVE-2026-72030

ata: libata-core: Reject an invalid concurrent positioning ranges count

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 23, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ata: libata-core: Reject an invalid concurrent positioning ranges count

ata_dev_config_cpr() takes the number of range descriptors from buf[0] of the concurrent positioning ranges log (up to 255), which the device reports independently of the log size in the GPL directory. The count is then walked at a fixed 32-byte stride in two places with no bound: the log read here, and the INQUIRY VPD page B9h emitter, which writes one descriptor per range into the fixed 2048-byte ata_scsi_rbuf. A device reporting a count larger than its own log overflows the read buffer (up to 7704 bytes past a 512-byte slab), and a count above 62 overflows the response buffer on the emit side.

Bound the count once, on probe, against both the log the device returned and the number of descriptors the VPD B9h response buffer can hold (ATA_DEV_MAX_CPR, derived from the rbuf size). Reject an out-of-range count with a warning; this keeps the emitter in bounds with no separate change there.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fe22e1c2f705676a705d821301fc52eecc2fe055 to before 01d7d321e6046f87ba270aeeffdc5260209bd91eAffected
  • fe22e1c2f705676a705d821301fc52eecc2fe055 to before 4cb4b4dd8853c4ab3057efe238b2c34277772176Affected
  • fe22e1c2f705676a705d821301fc52eecc2fe055 to before b1607f0ee5f5e53e0aa66f41794085b7cc98f5d1Affected
  • fe22e1c2f705676a705d821301fc52eecc2fe055 to before 4c1e8ccd8655ee8cf1bcb1b7dfee72c9fa941fd4Affected
  • fe22e1c2f705676a705d821301fc52eecc2fe055 to before d43efd1b5d976203e6f1ef26f67e8b1a7bc2751bAffected
  • fe22e1c2f705676a705d821301fc52eecc2fe055 to before 533a0b940f901c15e5cbbd4b5d66e871c209e8ceAffected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.184 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.