# CVE-2024-47682: scsi: sd: Fix off-by-one error in sd\_read\_block\_characteristics()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.77% (percentile 52, 2026-11-26)
- **CWE:** CWE-193
- **Published:** 2024-10-21T11:53:24.460Z
- **Modified:** 2026-08-05T11:39:26.150Z

## Who should check

- Anyone running Linux \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 60312ae7392f9c75c6591a52fc359cf7f810d48f; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 568c7c4c77eee6df7677bb861b7cee7398a3255d; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< a776050373893e4c847a49abeae2ccb581153df0; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 413df704f149dec585df07466d2401bbd1f490a0; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< f81eaf08385ddd474a2f41595a7757502870c0eb
- Anyone running Linux 5.19

## Description

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.

## Affected and fixed versions

- Linux: \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 60312ae7392f9c75c6591a52fc359cf7f810d48f; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 568c7c4c77eee6df7677bb861b7cee7398a3255d; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< a776050373893e4c847a49abeae2ccb581153df0; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 413df704f149dec585df07466d2401bbd1f490a0; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< f81eaf08385ddd474a2f41595a7757502870c0eb (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-47682. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-47682.md
Affected: Linux >= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, < 60312ae7392f9c75c6591a52fc359cf7f810d48f; >= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, < 568c7c4c77eee6df7677bb861b7cee7398a3255d; >= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, < a776050373893e4c847a49abeae2ccb581153df0; >= 7fb019c46eeea4e3cc3ddfd…
Fixed in: Linux 60312ae7392f9c75c6591a52fc359cf7f810d48f, Linux 568c7c4c77eee6df7677bb861b7cee7398a3255d, Linux 413df704f149dec585df07466d2401bbd1f490a0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-47682 being exploited?

There is no confirmed exploitation: CVE-2024-47682 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-47682?

High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-47682?

Linux \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 60312ae7392f9c75c6591a52fc359cf7f810d48f; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 568c7c4c77eee6df7677bb861b7cee7398a3255d; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< a776050373893e4c847a49abeae2ccb581153df0; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< 413df704f149dec585df07466d2401bbd1f490a0; \>= 7fb019c46eeea4e3cc3ddfd3e01a24e610f34fac, \< f81eaf08385ddd474a2f41595a7757502870c0eb; Linux 5.19.

### Is there a fix for CVE-2024-47682?

Yes. Fixed in Linux 60312ae7392f9c75c6591a52fc359cf7f810d48f, Linux 568c7c4c77eee6df7677bb861b7cee7398a3255d, Linux 413df704f149dec585df07466d2401bbd1f490a0. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-47682?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/60312ae7392f9c75c6591a52fc359cf7f810d48f>
- patch: <https://git.kernel.org/stable/c/568c7c4c77eee6df7677bb861b7cee7398a3255d>
- patch: <https://git.kernel.org/stable/c/a776050373893e4c847a49abeae2ccb581153df0>
- patch: <https://git.kernel.org/stable/c/413df704f149dec585df07466d2401bbd1f490a0>
- patch: <https://git.kernel.org/stable/c/f81eaf08385ddd474a2f41595a7757502870c0eb>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-47682>

HTML: <https://flawdb.com/CVE-2024-47682> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-47682>
