drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error (Linux Linux)

CVE-2024-47698
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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]

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4b01e01a81b6629878344430531ced347cc2ed5b < 7065c05c6d58b9b9a98127aa14e9a5ec68173918 ; affected 4b01e01a81b6629878344430531ced347cc2ed5b < 49b33c38d202d3327dcfd058e27f541dcc308b92 ; affected 4b01e01a81b6629878344430531ced347cc2ed5b < 6ae3b9aee42616ee93c4585174f40c767828006d ; affected 4b01e01a81b6629878344430531ced347cc2ed5b < a879b6cdd48134a3d58949ea4f075c75fa2d7d71 ; affected 4b01e01a81b6629878344430531ced347cc2ed5b < 15bea004e939d938a6771dfcf2a26cc899ffd20a ; affected 4b01e01a81b6629878344430531ced347cc2ed5b < 527ab3eb3b0b4a6ee00e183c1de6a730239e2835
Linux · Linuxaffected 4.0 ; unaffected 0 < 4.0 ; unaffected 4.19.323 ≤ 4.19.* ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD