CVE-2024-53063

media: dvbdev: prevent the risk of out of memory access

State
Published
Severity
7.8 High
Published
Nov 19, 2024
Updated
Sep 18, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

media: dvbdev: prevent the risk of out of memory access

The dvbdev contains a static variable used to store dvb minors.

The behavior of it depends if CONFIG_DVB_DYNAMIC_MINORS is set or not. When not set, dvb_register_device() won't check for boundaries, as it will rely that a previous call to dvb_register_adapter() would already be enforcing it.

On a similar way, dvb_device_open() uses the assumption that the register functions already did the needed checks.

This can be fragile if some device ends using different calls. This also generate warnings on static check analysers like Coverity.

So, add explicit guards to prevent potential risk of OOM issues.

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

  • CWE-755 Improper Handling of Exceptional Conditions

Affected Products

ProductVersions
LinuxLinux
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before fedfde9deb83ac8d2f3d5f36f111023df34b1684Affected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before 3b88675e18b6517043a6f734eaa8ea6eb3bfa140Affected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before a4a17210c03ade1c8d9a9f193a105654b7a05c11Affected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before 5f76f7df14861e3a560898fa41979ec92424b58fAffected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before b751a96025275c17f04083cbfe856822f1658946Affected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before 1e461672616b726f29261ee81bb991528818537cAffected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before 9c17085fabbde2041c893d29599800f2d4992b23Affected
  • 5dd3f3071070f5a306bdf8d474c80062f5691cba to before 972e63e895abbe8aa1ccbdbb4e6362abda7cd457Affected
LinuxLinux
  • 2.6.29Affected
  • before 2.6.29Not affected
  • 4.19.324 through 4.19.*Not affected
  • 5.4.286 through 5.4.*Not affected
  • 5.10.230 through 5.10.*Not affected
  • 5.15.172 through 5.15.*Not affected
  • 6.1.117 through 6.1.*Not affected
  • 6.6.61 through 6.6.*Not affected
  • 6.11.8 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.