CVE-2024-47698: drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
In the Linux kernel, the following vulnerability has been resolved:
drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
Ensure index in rtl2832_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.
[hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]
Security readout for executives and security teams
Plain-English summary
A boundary-check error in Linux’s RTL2832 digital-TV frontend driver can write beyond a 32-bit filter field. A local, low-privileged user may be able to trigger memory corruption, potentially affecting confidentiality, integrity, or availability. Exposure depends on the affected kernel code and relevant driver being present and accessible.
Executive priority
Treat this as a high-priority kernel maintenance issue on systems supporting RTL2832 DVB hardware or exposing the driver to untrusted local users. It is less urgent for systems without the relevant driver path. Require evidence-based inventory and vendor-version mapping rather than assuming every Linux host is exploitable.
Technical view
rtl2832_pid_filter permitted index 32 because it rejected only values greater than 32. dev->filters contains 32 bits, so valid indices are 0–31; bit operations at 32 access outside the field. The fix changes the check to reject indices greater than or equal to 32. CVSS 3.1 is 7.8 with local, low-complexity, low-privilege access.
Likely exposure
Prioritize Linux systems using affected kernel versions where the RTL2832 DVB frontend driver is available to local users. Internet-facing status alone does not establish exposure because the supplied CVSS vector specifies local access. The bundle’s version data is not sufficiently clear for reliable package-level conclusions; confirm applicability with each Linux distributor.
Exploitation context
The supplied sources do not report active exploitation, and the CVE is not identified as KEV. Exploitation requires local, low-privileged access and no user interaction according to the supplied CVSS vector. The sources describe an out-of-bounds write but do not establish a demonstrated exploit or specific real-world impact.
Researcher notes
The defect is an off-by-one bounds check around a 32-bit bitmap: index 32 reaches a nonexistent bit. The upstream correction changes index > 32 to index >= 32. The supplied version list contains ambiguous entries and repeated commit identifiers, so affected-range analysis should rely on vendor package advisories and fix backports.
Mitigation direction
Install the vendor or distribution kernel update containing the upstream boundary-check fix.
Consult Linux distributor advisories to map the CVE to exact package versions.
Prioritize multi-user systems where untrusted local users can access the affected driver.
If immediate updating is impossible, assess whether the unnecessary driver can be disabled under vendor guidance.
Validation and detection
Inventory kernel versions and distribution package revisions across Linux systems.
Determine whether the RTL2832 DVB frontend driver is installed, loaded, or operationally required.
Compare installed packages with vendor advisories and the referenced stable-kernel fixes.
After updating, verify the running kernel changed and vendor status marks the CVE resolved.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-47698 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.