CVE-2026-72030

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxfe22e1c2f705676a705d821301fc52eecc2fe055 < 4cb4b4dd8853c4ab3057efe238b2c34277772176affected
LinuxLinuxfe22e1c2f705676a705d821301fc52eecc2fe055 < b1607f0ee5f5e53e0aa66f41794085b7cc98f5d1affected
LinuxLinuxfe22e1c2f705676a705d821301fc52eecc2fe055 < 4c1e8ccd8655ee8cf1bcb1b7dfee72c9fa941fd4affected
LinuxLinuxfe22e1c2f705676a705d821301fc52eecc2fe055 < d43efd1b5d976203e6f1ef26f67e8b1a7bc2751baffected
LinuxLinuxfe22e1c2f705676a705d821301fc52eecc2fe055 < 533a0b940f901c15e5cbbd4b5d66e871c209e8ceaffected
LinuxLinux5.16affected
LinuxLinux0 < 5.16unaffected
LinuxLinux6.6.148 <= 6.6.*unaffected
LinuxLinux6.12.101 <= 6.12.*unaffected
LinuxLinux6.18.42 <= 6.18.*unaffected
LinuxLinux7.1.5 <= 7.1.*unaffected
LinuxLinux7.2 <= *unaffected

Weaknesses

References