NULL pointer dereference in Linux
CVE-2025-37792
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'
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 9.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 26503ad25de8c7c93a2037f919c2e49a62cf65f1, 4.19, 0
- Linux Kernel — versions 6.15
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/c3e9717276affe59fd8213706db021b493e81e34 (Patch)
- git.kernel.org/stable/c/73dc99c0ea94abd22379b2d82cacbc73f3e18ec1 (Patch)
- git.kernel.org/stable/c/2d7c60c2a38b4b461fa960ad0995136a6bfe0756 (Patch)
- git.kernel.org/stable/c/d8441818690d795232331bd8358545c5c95b6b72 (Patch)
- git.kernel.org/stable/c/3db6605043b50c8bb768547b23e0222f67ceef3e (Patch)
- git.kernel.org/stable/c/aaf356f872a60db1e96fb762a62c4607fd22741f (Patch)
- git.kernel.org/stable/c/53ceef799dcfc22c734d600811bfc9dd32eaea0a (Patch)
- git.kernel.org/stable/c/324dddea321078a6eeb535c2bff5257be74c9799 (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (Mailing List)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (Mailing List)