What’s Vulnerable › Vulnerabilities
CVE-2024-36917: block: fix overflow in blk_ioctl_discard()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-30 · updated 2026-06-17
- Weakness: CWE-190
Description
In the Linux kernel, the following vulnerability has been resolved: block: fix overflow in blk_ioctl_discard() There is no check for overflow of 'start + len' in blk_ioctl_discard(). Hung task occurs if submit an discard ioctl with the following param: start = 0x80000000000ff000, len = 0x8000000000fff000; Add the overflow validation now.
Affected products
- Linux kernel: from 2.6.28 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9-rc1, 6.9-rc2 — fixed in 6.1.91, 6.6.31, 6.8.10
How to fix
Upgrade to a fixed version: Linux kernel 6.1.91, 6.6.31, 6.8.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/22d24a544b0d49bbcbd61c8c0eaf77d3c9297155
- https://git.kernel.org/stable/c/507d526a98c355e6f3fb2c47aacad44a69784bee
- https://git.kernel.org/stable/c/8a26198186e97ee5fc4b42fde82629cff8c75cd6
- https://git.kernel.org/stable/c/e1d38cde2b7b0fbd1c48082e7a98c37d750af59b
- https://git.kernel.org/stable/c/22d24a544b0d49bbcbd61c8c0eaf77d3c9297155
- https://git.kernel.org/stable/c/507d526a98c355e6f3fb2c47aacad44a69784bee
- https://git.kernel.org/stable/c/8a26198186e97ee5fc4b42fde82629cff8c75cd6
- https://git.kernel.org/stable/c/e1d38cde2b7b0fbd1c48082e7a98c37d750af59b
Get alerted when CVE-2024-36917 or the next vulnerability affects your stack