CVE-2025-37792

Bluetooth: btrtl: Prevent potential NULL dereference

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: Prevent potential NULL dereference The btrtl_initialize() function checks that rtl_load_file() either had an error or it loaded a zero length file. However, if it loaded a zero length file then the error code is not set correctly. It results in an error pointer vs NULL bug, followed by a NULL pointer dereference. This was detected by Smatch: drivers/bluetooth/btrtl.c:592 btrtl_initialize() warn: passing zero to 'ERR_PTR'

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
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 26503ad25de8c7c93a2037f919c2e49a62cf65f1 < c3e9717276affe59fd8213706db021b493e81e34 ; affected 26503ad25de8c7c93a2037f919c2e49a62cf65f1 < 73dc99c0ea94abd22379b2d82cacbc73f3e18ec1 ; affected 26503ad25de8c7c93a2037f919c2e49a62cf65f1 < 2d7c60c2a38b4b461fa960ad0995136a6bfe0756 ; affected 26503ad25de8c7c93a2037f919c2e49a62cf65f1 < d8441818690d795232331bd8358545c5c95b6b72 ; affected 26503ad25de8c7c93a2037f919c2e49a62cf65f1 < 3db6605043b50c8bb768547b23e0222f67ceef3e ; affected 26503ad25de8c7c93a2037f919c2e49a62cf65f1 < aaf356f872a60db1e96fb762a62c4607fd22741f
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.4.293 ≤ 5.4.* ; unaffected 5.10.237 ≤ 5.10.* ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.135 ≤ 6.1.*

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