CVE-2024-36917
block: fix overflow in blk_ioctl_discard()
Reported by linux · Published May 30, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra-common | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-livepatch-6.1.91-99.172 | Amazon Linux | 1.0-0.amzn2023 |
| bpftool | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| python3-perf | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.91-99.172.amzn2023 |
| perf | Amazon Linux | 6.1.91-99.172.amzn2023 |
2 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d30a2605be9d5132d95944916e8f578fcfe4f976, d30a2605be9d5132d95944916e8f578fcfe4f976, d30a2605be9d5132d95944916e8f578fcfe4f976 |
| Linux | Linux | 2.6.28, 0, 6.1.91 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.91-99.172 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| Linux | Linux | 6.8.10, 6.6.31, 6.9 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 2.6.28, 2.6.28, 2.6.28 |
| amazon:2023 | kernel | 0 |
Timeline
- May 30, 2024 CVE Published
- May 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (21 in total, the first dated here)
- Jan 9, 2026 Security Advisory (379 in total, the first dated here)
- Mar 31, 2026 Distribution Patch (280 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-36917
vulnetix vdb fixes CVE-2024-36917
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36917/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart