CVE-2026-64178

Bluetooth: bnep: Fix UAF read of dev->name

State
Published
Severity
8.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

Bluetooth: bnep: Fix UAF read of dev->name

bnep_add_connection() needs to keep holding the bnep_session_sem while reading dev->name (just like bnep_get_connlist() does); otherwise the bnep_session() thread can concurrently free the net_device, which can for example be triggered by a concurrent bnep_del_connection().

(This UAF is fairly uninteresting from a security perspective; calling bnep_add_connection() requires passing a capable(CAP_NET_ADMIN) check. It also requires completely tearing down a netdev during a fairly tight race window.)

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a75bbcb10cb21acc169b785e9804f57d97873a9cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4907596f25b1720fa948371ac5f6c1f8da10a5bcAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 915a92182e2cda9cd7d2479020a44c6eda986f7cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fe69f634b076ae3ca81c5a5b845d9bba527036f7Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b21805258d7e926adfd455fc820a447b90da3b82Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5506aec795135cdd4cbf4e845929155663b25055Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e7578529b97e5d4e439cf8f3e637c2303015338fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 59e932ded949fa6f0340bf7c6d7818f962fa4fd2Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 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.