# CVE-2024-36917: block: fix overflow in blk_ioctl_discard()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-30T15:29:13.327Z
- Modified: 2026-06-17T07:37:21.497Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d30a2605be9d5132d95944916e8f578fcfe4f976 before 8a26198186e97ee5fc4b42fde82629cff8c75cd6; from d30a2605be9d5132d95944916e8f578fcfe4f976 before e1d38cde2b7b0fbd1c48082e7a98c37d750af59b; from d30a2605be9d5132d95944916e8f578fcfe4f976 before 507d526a98c355e6f3fb2c47aacad44a69784bee; from d30a2605be9d5132d95944916e8f578fcfe4f976 before 22d24a544b0d49bbcbd61c8c0eaf77d3c9297155; 2.6.28 (not affected: before 2.6.28; from 6.1.91 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/8a26198186e97ee5fc4b42fde82629cff8c75cd6> (patch)
- <https://git.kernel.org/stable/c/e1d38cde2b7b0fbd1c48082e7a98c37d750af59b> (patch)
- <https://git.kernel.org/stable/c/507d526a98c355e6f3fb2c47aacad44a69784bee> (patch)
- <https://git.kernel.org/stable/c/22d24a544b0d49bbcbd61c8c0eaf77d3c9297155> (patch)

## Sources

- CVE List: [CVE-2024-36917](https://www.cve.org/CVERecord?id=CVE-2024-36917), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-36917](https://nvd.nist.gov/vuln/detail/CVE-2024-36917), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-36917 · Whole record: https://cve.day/CVE-2024-36917.json · Rebuilt by cve.day 2026-11-25T22:58:41.279Z
