CVE-2025-37792 Information
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’
Reference
https://git.kernel.org/stable/c/324dddea321078a6eeb535c2bff5257be74c9799 https://git.kernel.org/stable/c/3db6605043b50c8bb768547b23e0222f67ceef3e https://git.kernel.org/stable/c/53ceef799dcfc22c734d600811bfc9dd32eaea0a https://git.kernel.org/stable/c/aaf356f872a60db1e96fb762a62c4607fd22741f https://git.kernel.org/stable/c/d8441818690d795232331bd8358545c5c95b6b72
Share on: