CVE-2025-71082

Bluetooth: btusb: revert use of devm_kzalloc in btusb

State
Published
Severity
7.8 High
Published
Jan 13, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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

Bluetooth: btusb: revert use of devm_kzalloc in btusb

This reverts commit 98921dbd00c4e ("Bluetooth: Use devm_kzalloc in btusb.c file").

In btusb_probe(), we use devm_kzalloc() to allocate the btusb data. This ties the lifetime of all the btusb data to the binding of a driver to one interface, INTF. In a driver that binds to other interfaces, ISOC and DIAG, this is an accident waiting to happen.

The issue is revealed in btusb_disconnect(), where calling usb_driver_release_interface(&btusb_driver, data->intf) will have devm free the data that is also being used by the other interfaces of the driver that may not be released yet.

To fix this, revert the use of devm and go back to freeing memory explicitly.

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

Affected Products

ProductVersions
LinuxLinux
  • 98921dbd00c4e2e4bdd56423cb5edf98d57b45f7 to before fff9206b0907252a41eb12b7c1407b9347df18b1Affected
  • 98921dbd00c4e2e4bdd56423cb5edf98d57b45f7 to before cca0e9206e3bcc63cd3e72193e60149165d493ccAffected
  • 98921dbd00c4e2e4bdd56423cb5edf98d57b45f7 to before c0ecb3e4451fe94f4315e6d09c4046dfbc42090bAffected
  • 98921dbd00c4e2e4bdd56423cb5edf98d57b45f7 to before 1e54c19eaf84ba652c4e376571093e58e144b339Affected
  • 98921dbd00c4e2e4bdd56423cb5edf98d57b45f7 to before fdf7c640fb8a44a59b0671143d8c2f738bc48003Affected
  • 98921dbd00c4e2e4bdd56423cb5edf98d57b45f7 to before 252714f1e8bdd542025b16321c790458014d6880Affected
LinuxLinux
  • 3.7Affected
  • before 3.7Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.160 through 6.1.*Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.64 through 6.12.*Not affected
  • 6.18.4 through 6.18.*Not affected
  • 6.19 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.