# CVE-2024-47697: drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.40% (percentile 25, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-10-21T11:53:34.630Z
- **Modified:** 2026-10-15T01:18:55.110Z

## Who should check

- Anyone running Linux \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 8ffbe7d07b8e76193b151107878ddc1ccc94deb5; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 883f794c6e498ae24680aead55c16f66b06cfc30; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 86d920d2600c3a48efc2775c1666c1017eec6956; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 3dba83d3c81de1368d15a39f22df7b53e306052f; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 58f31be7dfbc0c84a6497ad51924949cf64b86a2; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 042b101d7bf70616c4967c286ffa6fcca65babfb; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14
- Anyone running Linux 4.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error

Ensure index in rtl2830\_pid\_filter does not exceed 31 to prevent
out-of-bounds access.

dev-\>filters is a 32-bit value, so set\_bit and clear\_bit functions should
only operate on indices from 0 to 31. If index is 32, it will attempt to
access a non-existent 33rd bit, leading to out-of-bounds access.
Change the boundary check from index \> 32 to index \>= 32 to resolve this
issue.

## Affected and fixed versions

- Linux: \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 8ffbe7d07b8e76193b151107878ddc1ccc94deb5; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 883f794c6e498ae24680aead55c16f66b06cfc30; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 86d920d2600c3a48efc2775c1666c1017eec6956; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 3dba83d3c81de1368d15a39f22df7b53e306052f; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 58f31be7dfbc0c84a6497ad51924949cf64b86a2; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 042b101d7bf70616c4967c286ffa6fcca65babfb; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-47697.md
Affected: Linux >= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, < 8ffbe7d07b8e76193b151107878ddc1ccc94deb5; >= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, < 883f794c6e498ae24680aead55c16f66b06cfc30; >= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, < badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94; >= df70ddad81b47c57bcccffc…
Fixed in: Linux 8ffbe7d07b8e76193b151107878ddc1ccc94deb5, Linux 883f794c6e498ae24680aead55c16f66b06cfc30, Linux 86d920d2600c3a48efc2775c1666c1017eec6956, Linux 3dba83d3c81de1368d15a39f22df7b53e306052f, Linux 58f31be7dfbc0c84a6497ad51924949cf64b86a2, Linux 7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470, Linux 042b1…

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-47697 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 8ffbe7d07b8e76193b151107878ddc1ccc94deb5; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 883f794c6e498ae24680aead55c16f66b06cfc30; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 86d920d2600c3a48efc2775c1666c1017eec6956; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 3dba83d3c81de1368d15a39f22df7b53e306052f; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 58f31be7dfbc0c84a6497ad51924949cf64b86a2; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 042b101d7bf70616c4967c286ffa6fcca65babfb; \>= df70ddad81b47c57bcccffc805fbd75f2f1b2dc6, \< 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14; Linux 4.0.

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

Yes. Fixed in Linux 8ffbe7d07b8e76193b151107878ddc1ccc94deb5, Linux 883f794c6e498ae24680aead55c16f66b06cfc30, Linux 86d920d2600c3a48efc2775c1666c1017eec6956, Linux 3dba83d3c81de1368d15a39f22df7b53e306052f, Linux 58f31be7dfbc0c84a6497ad51924949cf64b86a2, Linux 7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470, Linux 042b101d7bf70616c4967c286ffa6fcca65babfb, Linux 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14. Upgrade Linux to 46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14 or later.

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

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/8ffbe7d07b8e76193b151107878ddc1ccc94deb5>
- patch: <https://git.kernel.org/stable/c/883f794c6e498ae24680aead55c16f66b06cfc30>
- patch: <https://git.kernel.org/stable/c/badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94>
- patch: <https://git.kernel.org/stable/c/86d920d2600c3a48efc2775c1666c1017eec6956>
- patch: <https://git.kernel.org/stable/c/3dba83d3c81de1368d15a39f22df7b53e306052f>
- patch: <https://git.kernel.org/stable/c/58f31be7dfbc0c84a6497ad51924949cf64b86a2>
- patch: <https://git.kernel.org/stable/c/7fd6aae7e53b94f4035b1bfce28b8dfa0d0ae470>
- patch: <https://git.kernel.org/stable/c/042b101d7bf70616c4967c286ffa6fcca65babfb>
- patch: <https://git.kernel.org/stable/c/46d7ebfe6a75a454a5fa28604f0ef1491f9d8d14>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.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-47697>

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