media: dvbdev: prevent the risk of out of memory access (Linux Linux)

CVE-2024-53063
HIGH 7.8

At a glance

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

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.

Weaknesses (CWE)

  • CWE-755 — Improper Handling of Exceptional Conditions

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.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5dd3f3071070f5a306bdf8d474c80062f5691cba < fedfde9deb83ac8d2f3d5f36f111023df34b1684 ; affected 5dd3f3071070f5a306bdf8d474c80062f5691cba < 3b88675e18b6517043a6f734eaa8ea6eb3bfa140 ; affected 5dd3f3071070f5a306bdf8d474c80062f5691cba < a4a17210c03ade1c8d9a9f193a105654b7a05c11 ; affected 5dd3f3071070f5a306bdf8d474c80062f5691cba < 5f76f7df14861e3a560898fa41979ec92424b58f ; affected 5dd3f3071070f5a306bdf8d474c80062f5691cba < b751a96025275c17f04083cbfe856822f1658946 ; affected 5dd3f3071070f5a306bdf8d474c80062f5691cba < 1e461672616b726f29261ee81bb991528818537c
Linux · Linuxaffected 2.6.29 ; unaffected 0 < 2.6.29 ; unaffected 4.19.324 ≤ 4.19.* ; unaffected 5.4.286 ≤ 5.4.* ; unaffected 5.10.230 ≤ 5.10.* ; unaffected 5.15.172 ≤ 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