# CVE-2026-72335: Bluetooth: MGMT: Fix adv monitor add failure cleanup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T05:55:43.847Z
- **Modified:** 2026-10-16T19:17:23.623Z

## Who should check

- Anyone running Linux \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< b1a719b3c4359ef731646fb7c7844e53dddbda72; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< 5aabbd01ac315a72bcdfd42985ede712c4744689; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< fb256d07395ebbc950f42e439d3896ec3a25c845; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< dfc8373893b1876bb367700eac9d776316dabd96; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< dbd935a9e056545721bc4e9ce518c775d787b21e; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< 384a4b2fef9ffe5e270ee5558975c0504881c5fb
- Anyone running Linux 5.12

## Description

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

Bluetooth: MGMT: Fix adv monitor add failure cleanup

hci\_add\_adv\_monitor() publishes a new adv\_monitor in
hdev-\>adv\_monitors\_idr before the powered MSFT setup step. The MSFT
offload add path can then fail either locally before the controller add
command completes, or in the MSFT add callback. In the current queued
management add flow, hci\_cmd\_sync\_work() still invokes
mgmt\_add\_adv\_patterns\_monitor\_complete() with the original pending command
after msft\_add\_monitor\_pattern() returns.

The buggy scenario involves two paths, with each column showing the order
within that path:

MSFT add handling                  MGMT completion
1. insert monitor and handle       1. receive sync error
2. send MSFT add command           2. call add-monitor completion
3. callback sees bad response      3. load cmd-\>user\_data
4. callback frees monitor          4. read monitor-\>handle

Local MSFT setup failures have the other half of the same ownership bug:
they return an error after the IDR insertion, but no later code removes the
failed monitor from the IDR.

Keep ownership with the pending management command until its completion.
For normal management adds, the MSFT add callback now records successful
controller state and returns errors to its caller. The management
completion frees the monitor on non-success after copying the response
handle, while resume/reregister callback-error cleanup remains in the
MSFT callback. The success path keeps the existing bookkeeping.

Validation reproduced this kernel report:
BUG: KASAN: slab-use-after-free in mgmt\_add\_adv\_patterns\_monitor\_complete+0xfb/0x260 \[bluetooth\]

Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x66/0xa0
 print\_report+0xce/0x5f0
 ? mgmt\_add\_adv\_patterns\_monitor\_complete+0xfb/0x260 \[bluetooth\]
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_virt\_addr\_valid+0x19f/0x330
 ? mgmt\_add\_adv\_patterns\_monitor\_complete+0xfb/0x260 \[bluetooth\]
 kasan\_report+0xe0/0x110
 ? mgmt\_add\_adv\_patterns\_monitor\_complete+0xfb/0x260 \[bluetooth\]
 mgmt\_add\_adv\_patterns\_monitor\_complete+0xfb/0x260 \[bluetooth\]
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? 0xffffffffc00d00da
 ? \_\_pfx\_mgmt\_add\_adv\_patterns\_monitor\_complete+0x10/0x10 \[bluetooth\]
 ? \_\_pfx\_mgmt\_add\_adv\_patterns\_monitor\_complete+0x10/0x10 \[bluetooth\]
 ? hci\_cmd\_sync\_work+0x1ab/0x210 \[bluetooth\]
 hci\_cmd\_sync\_work+0x1c0/0x210 \[bluetooth\]
 ? \_\_pfx\_mgmt\_add\_adv\_patterns\_monitor\_complete+0x10/0x10 \[bluetooth\]
 process\_one\_work+0x4fd/0xbc0
 ? \_\_pfx\_process\_one\_work+0x10/0x10
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_list\_add\_valid\_or\_report+0x37/0xf0
 ? \_\_pfx\_hci\_cmd\_sync\_work+0x10/0x10 \[bluetooth\]
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 worker\_thread+0x2d8/0x570
 ? \_\_pfx\_worker\_thread+0x10/0x10
 kthread+0x1ad/0x1f0
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork+0x3c9/0x540
 ? \_\_pfx\_ret\_from\_fork+0x10/0x10
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_switch\_to+0x2e9/0x730
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork\_asm+0x1a/0x30
 \</TASK\>

Allocated by task 471 on cpu 3 at 285.205389s:
 kasan\_save\_stack+0x33/0x60
 kasan\_save\_track+0x17/0x60
 \_\_kasan\_kmalloc+0xaa/0xb0
 add\_adv\_patterns\_monitor\_rssi+0xd5/0x230 \[bluetooth\]
 hci\_sock\_sendmsg+0x96b/0xf80 \[bluetooth\]
 \_\_sys\_sendto+0x2bc/0x2d0
 \_\_x64\_sys\_sendto+0x76/0x90
 do\_syscall\_64+0x115/0x6a0
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Freed by task 454 on cpu 2 at 285.217112s:
 kasan\_save\_stack+0x33/0x60
 kasan\_save\_track+0x17/0x60
 kasan\_save\_free\_info+0x3b/0x60
 \_\_kasan\_slab\_free+0x5f/0x80
 kfree+0x313/0x590
 msft\_add\_monitor\_sync+0x54a/0x570 \[bluetooth\]
 hci\_add\_adv\_monitor+0x133/0x180 \[bluetooth\]
 hci\_cmd\_sync\_work+0x187/0x210 \[bluetooth\]
 process\_one\_work+0x4fd/0xbc0
 worker\_thread+0x2d8/0x570
 kthread+0x1ad/0x1f0
 ret\_from\_fork+0x3c9/0x540
 ret\_from\_fork\_asm+0x1a/0x30

## Affected and fixed versions

- Linux: \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< b1a719b3c4359ef731646fb7c7844e53dddbda72; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< 5aabbd01ac315a72bcdfd42985ede712c4744689; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< fb256d07395ebbc950f42e439d3896ec3a25c845; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< dfc8373893b1876bb367700eac9d776316dabd96; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< dbd935a9e056545721bc4e9ce518c775d787b21e; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< 384a4b2fef9ffe5e270ee5558975c0504881c5fb (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 384a4b2fef9ffe5e270ee5558975c0504881c5fb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72335. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72335.md
Affected: Linux >= a2a4dedf88ab2f807a7ca90947d686816b430f97, < b1a719b3c4359ef731646fb7c7844e53dddbda72; >= a2a4dedf88ab2f807a7ca90947d686816b430f97, < 5aabbd01ac315a72bcdfd42985ede712c4744689; >= a2a4dedf88ab2f807a7ca90947d686816b430f97, < fb256d07395ebbc950f42e439d3896ec3a25c845; >= a2a4dedf88ab2f807a7ca90…
Fixed in: Linux 5aabbd01ac315a72bcdfd42985ede712c4744689, Linux 384a4b2fef9ffe5e270ee5558975c0504881c5fb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72335 being exploited?

There is no confirmed exploitation: CVE-2026-72335 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72335?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-72335?

Linux \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< b1a719b3c4359ef731646fb7c7844e53dddbda72; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< 5aabbd01ac315a72bcdfd42985ede712c4744689; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< fb256d07395ebbc950f42e439d3896ec3a25c845; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< dfc8373893b1876bb367700eac9d776316dabd96; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< dbd935a9e056545721bc4e9ce518c775d787b21e; \>= a2a4dedf88ab2f807a7ca90947d686816b430f97, \< 384a4b2fef9ffe5e270ee5558975c0504881c5fb; Linux 5.12.

### Is there a fix for CVE-2026-72335?

Yes. Fixed in Linux 5aabbd01ac315a72bcdfd42985ede712c4744689, Linux 384a4b2fef9ffe5e270ee5558975c0504881c5fb. Upgrade Linux to 384a4b2fef9ffe5e270ee5558975c0504881c5fb or later.

### How do I check if I'm affected by CVE-2026-72335?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b1a719b3c4359ef731646fb7c7844e53dddbda72>
- other: <https://git.kernel.org/stable/c/5aabbd01ac315a72bcdfd42985ede712c4744689>
- other: <https://git.kernel.org/stable/c/fb256d07395ebbc950f42e439d3896ec3a25c845>
- other: <https://git.kernel.org/stable/c/dfc8373893b1876bb367700eac9d776316dabd96>
- other: <https://git.kernel.org/stable/c/dbd935a9e056545721bc4e9ce518c775d787b21e>
- other: <https://git.kernel.org/stable/c/384a4b2fef9ffe5e270ee5558975c0504881c5fb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72335>

HTML: <https://flawdb.com/CVE-2026-72335> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72335>
