CVE-2024-47682
scsi: sd: Fix off-by-one error in sd_read_block_characteristics()
Reported by linux · Published October 21, 2024
In the Linux kernel, the following vulnerability has been resolved: scsi: sd: Fix off-by-one error in sd_read_block_characteristics() Ff the device returns page 0xb1 with length 8 (happens with qemu v2.x, for example), sd_read_block_characteristics() may attempt an out-of-bounds memory access when accessing the zoned field at offset 8.
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-tools | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-livepatch-6.1.115-126.197 | Amazon Linux | 1.0-0.amzn2023 |
| python3-perf | Amazon Linux | 6.1.115-126.197.amzn2023 |
| bpftool | Amazon Linux | 6.1.115-126.197.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.115-126.197.amzn2023 |
| Linux | Linux | f81eaf08385ddd474a2f41595a7757502870c0eb, 413df704f149dec585df07466d2401bbd1f490a0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac |
| Linux | Linux | 5.19, 0, 6.1.113 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-livepatch-6.1.115-126.197 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 6.6.54, 6.1.113, 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac |
| amazon:2023 | kernel | 0 |
| linux | linux_kernel | 5.19, 5.19, 5.19 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
Timeline
- Oct 21, 2024 Coalition ESS Score (13 in total, the first dated here)
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Jan 3, 2026 Security Advisory (434 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (367 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47682
vulnetix vdb fixes CVE-2024-47682
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-47682/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart