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 rtl2830pidfilter does not exceed 31 to prevent out-of-bounds access.
dev->filters is a 32-bit value, so setbit and clearbit 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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47697.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47697.json"
[
{
"signature_version": "v1",
"target": {
"file": "drivers/media/dvb-frontends/rtl2830.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94",
"deprecated": false,
"digest": {
"line_hashes": [
"155083944783144757042163697971022304791",
"331926650002029890304103908543787496687",
"174509590316329811584449860463465463420",
"78966274850271321652375498873172994173"
],
"threshold": 0.9
},
"id": "CVE-2024-47697-05fd1503",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/media/dvb-frontends/rtl2830.c",
"function": "rtl2830_pid_filter"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@badbd736e6649c4e6d7b4ff7e2b9857acfa9ea94",
"deprecated": false,
"digest": {
"function_hash": "103986108645160333966191580741068402757",
"length": 896.0
},
"id": "CVE-2024-47697-2cdb20fc",
"signature_type": "Function"
}
]