# CVE-2023-54120: Bluetooth: Fix race condition in hidp\_session\_thread

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; 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.46% (percentile 32, 2026-11-28)
- **Published:** 2025-12-24T13:06:40.420Z
- **Modified:** 2026-10-15T22:17:53.460Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 152f47bd6b995e0e98c85672f6d19894bc287ef2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5f3d214d19899183d4e0cce7552998262112e4ab; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f7ec5ca433ceead8d9d78fd2febff094f289441d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0efb276d5848a3accc37c6f41b85e442c4768169; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f6719fd8f409fa1da8dc956e93822d25e1e8b360; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 248af9feca062a4ca9c3f2ccf67056c8a5eb817f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c95930abd687fcd1aa040dc4fe90dff947916460
- Anyone running Linux 2.6.12

## Description

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

Bluetooth: Fix race condition in hidp\_session\_thread

There is a potential race condition in hidp\_session\_thread that may
lead to use-after-free. For instance, the timer is active while
hidp\_del\_timer is called in hidp\_session\_thread(). After hidp\_session\_put,
then 'session' will be freed, causing kernel panic when hidp\_idle\_timeout
is running.

The solution is to use del\_timer\_sync instead of del\_timer.

Here is the call trace:

? hidp\_session\_probe+0x780/0x780
call\_timer\_fn+0x2d/0x1e0
\_\_run\_timers.part.0+0x569/0x940
hidp\_session\_probe+0x780/0x780
call\_timer\_fn+0x1e0/0x1e0
ktime\_get+0x5c/0xf0
lapic\_next\_deadline+0x2c/0x40
clockevents\_program\_event+0x205/0x320
run\_timer\_softirq+0xa9/0x1b0
\_\_do\_softirq+0x1b9/0x641
\_\_irq\_exit\_rcu+0xdc/0x190
irq\_exit\_rcu+0xe/0x20
sysvec\_apic\_timer\_interrupt+0xa1/0xc0

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 152f47bd6b995e0e98c85672f6d19894bc287ef2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5f3d214d19899183d4e0cce7552998262112e4ab; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f7ec5ca433ceead8d9d78fd2febff094f289441d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0efb276d5848a3accc37c6f41b85e442c4768169; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f6719fd8f409fa1da8dc956e93822d25e1e8b360; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 248af9feca062a4ca9c3f2ccf67056c8a5eb817f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c95930abd687fcd1aa040dc4fe90dff947916460 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54120.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 152f47bd6b995e0e98c85672f6d19894bc287ef2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5f3d214d19899183d4e0cce7552998262112e4ab; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 152f47bd6b995e0e98c85672f6d19894bc287ef2, Linux 5f3d214d19899183d4e0cce7552998262112e4ab, Linux 8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be, Linux 0efb276d5848a3accc37c6f41b85e442c4768169, Linux 248af9feca062a4ca9c3f2ccf67056c8a5eb817f

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-2023-54120 being exploited?

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

### How serious is CVE-2023-54120?

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

### Which versions are affected by CVE-2023-54120?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 152f47bd6b995e0e98c85672f6d19894bc287ef2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5f3d214d19899183d4e0cce7552998262112e4ab; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f7ec5ca433ceead8d9d78fd2febff094f289441d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0efb276d5848a3accc37c6f41b85e442c4768169; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f6719fd8f409fa1da8dc956e93822d25e1e8b360; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 248af9feca062a4ca9c3f2ccf67056c8a5eb817f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c95930abd687fcd1aa040dc4fe90dff947916460; Linux 2.6.12.

### Is there a fix for CVE-2023-54120?

Yes. Fixed in Linux 152f47bd6b995e0e98c85672f6d19894bc287ef2, Linux 5f3d214d19899183d4e0cce7552998262112e4ab, Linux 8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be, Linux 0efb276d5848a3accc37c6f41b85e442c4768169, Linux 248af9feca062a4ca9c3f2ccf67056c8a5eb817f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54120?

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/152f47bd6b995e0e98c85672f6d19894bc287ef2>
- other: <https://git.kernel.org/stable/c/5f3d214d19899183d4e0cce7552998262112e4ab>
- other: <https://git.kernel.org/stable/c/8a99e6200c38b78a45dcd12a6bdc43fdf4dc36be>
- other: <https://git.kernel.org/stable/c/f7ec5ca433ceead8d9d78fd2febff094f289441d>
- other: <https://git.kernel.org/stable/c/0efb276d5848a3accc37c6f41b85e442c4768169>
- other: <https://git.kernel.org/stable/c/f6719fd8f409fa1da8dc956e93822d25e1e8b360>
- other: <https://git.kernel.org/stable/c/248af9feca062a4ca9c3f2ccf67056c8a5eb817f>
- other: <https://git.kernel.org/stable/c/c95930abd687fcd1aa040dc4fe90dff947916460>

## 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-2023-54120>

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