CVE-2024-47698 drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
An out-of-bounds write in the RTL2832 DVB frontend driver allows attackers to corrupt memory, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47698?
CVE-2024-47698 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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]
Weakness: CWE-787
Which versions are affected by CVE-2024-47698?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-47698?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-47698 being exploited?
There is no known exploitation of CVE-2024-47698 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-50743, AZL-51023, BELL-CVE-2024-47698, DEBIAN-CVE-2024-47698, GHSA-jf37-jm23-c22c, UBUNTU-CVE-2024-47698.