# CVE-2022-48971: Bluetooth: Fix not cleanup led when bt\_init fails

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.30% (percentile 15, 2026-11-26)
- **Published:** 2024-10-21T20:05:52.363Z
- **Modified:** 2026-06-17T05:16:44.790Z

## Who should check

- Anyone running Linux \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 8a66c3a94285552f6a8e45d73b34ebbad11d388b; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 2c6cf0afc3856359e620e96edd952457d258e16c; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< e7b950458156d410509a08c41930b75e72985938; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< edf7284a98296369dd0891a0457eec37df244873; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 2f3957c7eb4e07df944169a3e50a4d6790e1c744
- Anyone running Linux 4.9

## Description

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

Bluetooth: Fix not cleanup led when bt\_init fails

bt\_init() calls bt\_leds\_init() to register led, but if it fails later,
bt\_leds\_cleanup() is not called to unregister it.

This can cause panic if the argument "bluetooth-power" in text is freed
and then another led\_trigger\_register() tries to access it:

BUG: unable to handle page fault for address: ffffffffc06d3bc0
RIP: 0010:strcmp+0xc/0x30
  Call Trace:
    \<TASK\>
    led\_trigger\_register+0x10d/0x4f0
    led\_trigger\_register\_simple+0x7d/0x100
    bt\_init+0x39/0xf7 \[bluetooth\]
    do\_one\_initcall+0xd0/0x4e0

## Affected and fixed versions

- Linux: \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 8a66c3a94285552f6a8e45d73b34ebbad11d388b; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 2c6cf0afc3856359e620e96edd952457d258e16c; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< e7b950458156d410509a08c41930b75e72985938; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< edf7284a98296369dd0891a0457eec37df244873; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 2f3957c7eb4e07df944169a3e50a4d6790e1c744 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 2f3957c7eb4e07df944169a3e50a4d6790e1c744 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48971.md
Affected: Linux >= e64c97b53bc6727aa4385535166aaa047281e02d, < 8a66c3a94285552f6a8e45d73b34ebbad11d388b; >= e64c97b53bc6727aa4385535166aaa047281e02d, < 2c6cf0afc3856359e620e96edd952457d258e16c; >= e64c97b53bc6727aa4385535166aaa047281e02d, < e7b950458156d410509a08c41930b75e72985938; >= e64c97b53bc6727aa438553…
Fixed in: Linux 8a66c3a94285552f6a8e45d73b34ebbad11d388b, Linux 2c6cf0afc3856359e620e96edd952457d258e16c, Linux 5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f, Linux 2f3957c7eb4e07df944169a3e50a4d6790e1c744

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-2022-48971 being exploited?

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

### How serious is CVE-2022-48971?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48971?

Linux \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 8a66c3a94285552f6a8e45d73b34ebbad11d388b; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 2c6cf0afc3856359e620e96edd952457d258e16c; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< e7b950458156d410509a08c41930b75e72985938; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< edf7284a98296369dd0891a0457eec37df244873; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f; \>= e64c97b53bc6727aa4385535166aaa047281e02d, \< 2f3957c7eb4e07df944169a3e50a4d6790e1c744; Linux 4.9.

### Is there a fix for CVE-2022-48971?

Yes. Fixed in Linux 8a66c3a94285552f6a8e45d73b34ebbad11d388b, Linux 2c6cf0afc3856359e620e96edd952457d258e16c, Linux 5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f, Linux 2f3957c7eb4e07df944169a3e50a4d6790e1c744. Upgrade Linux to 2f3957c7eb4e07df944169a3e50a4d6790e1c744 or later.

### How do I check if I'm affected by CVE-2022-48971?

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

- patch: <https://git.kernel.org/stable/c/8a66c3a94285552f6a8e45d73b34ebbad11d388b>
- patch: <https://git.kernel.org/stable/c/2c6cf0afc3856359e620e96edd952457d258e16c>
- patch: <https://git.kernel.org/stable/c/e7b950458156d410509a08c41930b75e72985938>
- patch: <https://git.kernel.org/stable/c/edf7284a98296369dd0891a0457eec37df244873>
- patch: <https://git.kernel.org/stable/c/5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f>
- patch: <https://git.kernel.org/stable/c/2f3957c7eb4e07df944169a3e50a4d6790e1c744>

## 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-2022-48971>

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