CVE-2024-47698

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

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Sep 30, 2024

Read the record on cve.org

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]

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 7065c05c6d58b9b9a98127aa14e9a5ec68173918Affected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 49b33c38d202d3327dcfd058e27f541dcc308b92Affected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 6ae3b9aee42616ee93c4585174f40c767828006dAffected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before a879b6cdd48134a3d58949ea4f075c75fa2d7d71Affected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 15bea004e939d938a6771dfcf2a26cc899ffd20aAffected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 527ab3eb3b0b4a6ee00e183c1de6a730239e2835Affected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 66dbe0df6eccc7ee53a2c35016ce81e13b3ff447Affected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before bedd42e07988dbdd124b23e758ffef7a681b9c60Affected
  • 4b01e01a81b6629878344430531ced347cc2ed5b to before 8ae06f360cfaca2b88b98ca89144548b3186aab1Affected
LinuxLinux
  • 4.0Affected
  • before 4.0Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.54 through 6.6.*Not affected
  • 6.10.13 through 6.10.*Not affected
  • 6.11.2 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.