{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-47698",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-09-30T16:00:12.944Z",
        "datePublished": "2024-10-21T11:53:35.311Z",
        "dateUpdated": "2026-08-05T11:39:31.511Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:39:31.511Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error\n\nEnsure index in rtl2832_pid_filter does not exceed 31 to prevent\nout-of-bounds access.\n\ndev->filters is a 32-bit value, so set_bit and clear_bit functions should\nonly operate on indices from 0 to 31. If index is 32, it will attempt to\naccess a non-existent 33rd bit, leading to out-of-bounds access.\nChange the boundary check from index > 32 to index >= 32 to resolve this\nissue.\n\n[hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The vulnerable code is reached through DMX_SET_PES_FILTER/DMX_ADD_PID ioctls on the /dev/dvb/adapterN/demuxM character device, which requires local access to the system. No network or remote data feeds into the index parameter.\nAC:L - On a system with an RTL2832U DVB-T tuner attached and hardware PID filtering active, the attacker drives the filter-index path directly and deterministically via repeated ioctls, with no race to win and no memory layout to groom.\nPR:L - No capability check exists anywhere along the dmxdev/dvb_usb_core/rtl2832 path; the only gate is DVB device-node permissions, which grant access to ordinary users in the video group on desktops and to unprivileged media processes on embedded receivers and set-top boxes.\nUI:N - Once the tuner device is present and bound, the attacker issues the demux ioctls entirely on their own; no victim action is needed to trigger the out-of-bounds write.\nS:U - The out-of-bounds write corrupts kernel memory within the driver's own security authority; there is no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - Out-of-bounds writes past the intended 32-bit filter field corrupt adjacent kernel state, and memory corruption of this class is conventionally treated as leverageable into read primitives and kernel information disclosure.\nI:H - This is a direct out-of-bounds write: set_bit/clear_bit operate beyond the 32-bit dev->filters field, and the stray regmap_bulk_write places attacker-supplied PID bytes into an unintended demod register.\nA:H - Corrupting memory beyond the intended field, including the adjacent slave_ts control flag, can destabilize the driver and the kernel, and any such out-of-bounds write is treated as capable of producing a crash or oops."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/dvb-frontends/rtl2832.c"
                    ],
                    "versions": [
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "7065c05c6d58b9b9a98127aa14e9a5ec68173918",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "49b33c38d202d3327dcfd058e27f541dcc308b92",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "6ae3b9aee42616ee93c4585174f40c767828006d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "a879b6cdd48134a3d58949ea4f075c75fa2d7d71",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "15bea004e939d938a6771dfcf2a26cc899ffd20a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "527ab3eb3b0b4a6ee00e183c1de6a730239e2835",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "66dbe0df6eccc7ee53a2c35016ce81e13b3ff447",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "bedd42e07988dbdd124b23e758ffef7a681b9c60",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4b01e01a81b6629878344430531ced347cc2ed5b",
                            "lessThan": "8ae06f360cfaca2b88b98ca89144548b3186aab1",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/dvb-frontends/rtl2832.c"
                    ],
                    "versions": [
                        {
                            "version": "4.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.323",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.285",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.227",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.168",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.113",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.54",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.10.13",
                            "lessThanOrEqual": "6.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.2",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "4.19.323"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.4.285"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.10.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "5.15.168"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.1.113"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.6.54"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.10.13"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.11.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7065c05c6d58b9b9a98127aa14e9a5ec68173918"
                },
                {
                    "url": "https://git.kernel.org/stable/c/49b33c38d202d3327dcfd058e27f541dcc308b92"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6ae3b9aee42616ee93c4585174f40c767828006d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a879b6cdd48134a3d58949ea4f075c75fa2d7d71"
                },
                {
                    "url": "https://git.kernel.org/stable/c/15bea004e939d938a6771dfcf2a26cc899ffd20a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/527ab3eb3b0b4a6ee00e183c1de6a730239e2835"
                },
                {
                    "url": "https://git.kernel.org/stable/c/66dbe0df6eccc7ee53a2c35016ce81e13b3ff447"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bedd42e07988dbdd124b23e758ffef7a681b9c60"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8ae06f360cfaca2b88b98ca89144548b3186aab1"
                }
            ],
            "title": "drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-47698",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-10-21T13:04:57.159768Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-21T13:14:14.071Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T22:21:04.372Z"
                }
            }
        ]
    }
}