System crash via unchecked ATA PIO buffer length
Published Feb 27, 2025 · Updated Aug 5, 2026
Out-of-bounds write in the Linux kernel allows local users to crash the system via a crafted SCSI_IOCTL_SEND_COMMAND ioctl. The ata_pio_sector() path transfers a full ATA sector into the scatter-gather buffer without checking that enough allocated space remains. Low-privileged local access and permission to issue the ioctl against an ATA device are required; the resulting random kernel-memory overwrite can interrupt the system.
Summary
What happened
Out-of-bounds write in the Linux kernel allows local users to crash the system via a crafted SCSI_IOCTL_SEND_COMMAND ioctl. The ata_pio_sector() path transfers a full ATA sector into the scatter-gather buffer without checking that enough allocated space remains. Low-privileged local access and permission to issue the ioctl against an ATA device are required; the resulting random kernel-memory overwrite can interrupt the system.
The record
- CVE
- CVE-2025-21738
- Published
- Feb 27, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.22
- Affected versionversion=5a5dbd18a7496ed403f6f54bb20c955c65482fa5 <0a17a9944b8d89ef03946121241870ac53ddaf45
- Affected versionversion=5a5dbd18a7496ed403f6f54bb20c955c65482fa5 <0dd5aade301a10f4b329fa7454fdcc2518741902
- Affected versionversion=5a5dbd18a7496ed403f6f54bb20c955c65482fa5 <6e74e53b34b6dec5a50e1404e2680852ec6768d2
- Affected versionversion=5a5dbd18a7496ed403f6f54bb20c955c65482fa5 <a8f8cf87059ed1905c2a5c72f8b39a4f57b11b4c
- Affected versionversion=5a5dbd18a7496ed403f6f54bb20c955c65482fa5 <d5e6e3000309359eae2a17117aa6e3c44897bf6c
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo