CVE-2024-36917Published May 30, 2024 · May 30Updated Oct 29
block: fix overflow in blk_ioctl_discard()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s blk_ioctl_discard() does not check whether start + len overflows. A local caller submitting a discard ioctl with values that overflow the sum can cause a hung task; the input does not specify authentication requirements.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.