PT-2025-8850 · Linux+9 · Linux Kernel+9
Published
2025-01-28
·
Updated
2026-04-20
·
CVE-2025-21738
CVSS v2.0
5.5
Medium
| Vector | AV:L/AC:H/Au:S/C:N/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A bug in the Linux kernel allows writing outside the allocated buffer when a specific SCSI IOCTL SEND COMMAND ioctl is used with certain parameters, including out len set to 0xd42, SCSI command set to ATA 16 PASS-THROUGH, ATA command set to ATA NOP, and protocol set to ATA PROT PIO. This can cause ata pio sector() to overwrite random memory. The issue seems to be related to a problem in either libata-sff or QEMU, where the status of an ATA NOP command is not set or is cleared before being read. A safety check has been added to ata pio sector() to prevent writing outside the allocated buffer.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu