# CVE-2022-49910: Bluetooth: L2CAP: Fix use-after-free caused by l2cap\_reassemble\_sdu

> 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.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-01T14:10:53.010Z
- **Modified:** 2026-08-05T08:56:39.541Z

## Who should check

- Anyone running Linux \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< dc30e05bb18852303084430c03ca76e69257d9ea; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 03af22e23b96fb7ef75fb7885407ef457e8b403d; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 6c7407bfbeafc80a04e6eaedcf34d378532a04f2; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 4cd094fd5d872862ca278e15b9b51b07e915ef3f; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 8278a87bb1eeea94350d675ef961ee5a03341fde; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 9a04161244603f502c6e453913e51edd59cb70c1; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 3aff8aaca4e36dc8b17eaa011684881a80238966
- Anyone running Linux 3.6

## Description

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

Bluetooth: L2CAP: Fix use-after-free caused by l2cap\_reassemble\_sdu

Fix the race condition between the following two flows that run in
parallel:

1. l2cap\_reassemble\_sdu -\> chan-\>ops-\>recv (l2cap\_sock\_recv\_cb) -\>
   \_\_sock\_queue\_rcv\_skb.

2. bt\_sock\_recvmsg -\> skb\_recv\_datagram, skb\_free\_datagram.

An SKB can be queued by the first flow and immediately dequeued and
freed by the second flow, therefore the callers of l2cap\_reassemble\_sdu
can't use the SKB after that function returns. However, some places
continue accessing struct l2cap\_ctrl that resides in the SKB's CB for a
short time after l2cap\_reassemble\_sdu returns, leading to a
use-after-free condition (the stack trace is below, line numbers for
kernel 5.19.8).

Fix it by keeping a local copy of struct l2cap\_ctrl.

BUG: KASAN: use-after-free in l2cap\_rx\_state\_recv (net/bluetooth/l2cap\_core.c:6906) bluetooth
Read of size 1 at addr ffff88812025f2f0 by task kworker/u17:3/43169

Workqueue: hci0 hci\_rx\_work \[bluetooth\]
Call Trace:
 \<TASK\>
 dump\_stack\_lvl (lib/dump\_stack.c:107 (discriminator 4))
 print\_report.cold (mm/kasan/report.c:314 mm/kasan/report.c:429)
 ? l2cap\_rx\_state\_recv (net/bluetooth/l2cap\_core.c:6906) bluetooth
 kasan\_report (mm/kasan/report.c:162 mm/kasan/report.c:493)
 ? l2cap\_rx\_state\_recv (net/bluetooth/l2cap\_core.c:6906) bluetooth
 l2cap\_rx\_state\_recv (net/bluetooth/l2cap\_core.c:6906) bluetooth
 l2cap\_rx (net/bluetooth/l2cap\_core.c:7236 net/bluetooth/l2cap\_core.c:7271) bluetooth
 ret\_from\_fork (arch/x86/entry/entry\_64.S:306)
 \</TASK\>

Allocated by task 43169:
 kasan\_save\_stack (mm/kasan/common.c:39)
 \_\_kasan\_slab\_alloc (mm/kasan/common.c:45 mm/kasan/common.c:436 mm/kasan/common.c:469)
 kmem\_cache\_alloc\_node (mm/slab.h:750 mm/slub.c:3243 mm/slub.c:3293)
 \_\_alloc\_skb (net/core/skbuff.c:414)
 l2cap\_recv\_frag (./include/net/bluetooth/bluetooth.h:425 net/bluetooth/l2cap\_core.c:8329) bluetooth
 l2cap\_recv\_acldata (net/bluetooth/l2cap\_core.c:8442) bluetooth
 hci\_rx\_work (net/bluetooth/hci\_core.c:3642 net/bluetooth/hci\_core.c:3832) bluetooth
 process\_one\_work (kernel/workqueue.c:2289)
 worker\_thread (./include/linux/list.h:292 kernel/workqueue.c:2437)
 kthread (kernel/kthread.c:376)
 ret\_from\_fork (arch/x86/entry/entry\_64.S:306)

Freed by task 27920:
 kasan\_save\_stack (mm/kasan/common.c:39)
 kasan\_set\_track (mm/kasan/common.c:45)
 kasan\_set\_free\_info (mm/kasan/generic.c:372)
 \_\_\_\_kasan\_slab\_free (mm/kasan/common.c:368 mm/kasan/common.c:328)
 slab\_free\_freelist\_hook (mm/slub.c:1780)
 kmem\_cache\_free (mm/slub.c:3536 mm/slub.c:3553)
 skb\_free\_datagram (./include/net/sock.h:1578 ./include/net/sock.h:1639 net/core/datagram.c:323)
 bt\_sock\_recvmsg (net/bluetooth/af\_bluetooth.c:295) bluetooth
 l2cap\_sock\_recvmsg (net/bluetooth/l2cap\_sock.c:1212) bluetooth
 sock\_read\_iter (net/socket.c:1087)
 new\_sync\_read (./include/linux/fs.h:2052 fs/read\_write.c:401)
 vfs\_read (fs/read\_write.c:482)
 ksys\_read (fs/read\_write.c:620)
 do\_syscall\_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80)
 entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:120)

## Affected and fixed versions

- Linux: \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< dc30e05bb18852303084430c03ca76e69257d9ea; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 03af22e23b96fb7ef75fb7885407ef457e8b403d; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 6c7407bfbeafc80a04e6eaedcf34d378532a04f2; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 4cd094fd5d872862ca278e15b9b51b07e915ef3f; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 8278a87bb1eeea94350d675ef961ee5a03341fde; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 9a04161244603f502c6e453913e51edd59cb70c1; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 3aff8aaca4e36dc8b17eaa011684881a80238966 (cvelist)
- Linux: 3.6 (cvelist)

## Mitigation

- Upgrade Linux to 3aff8aaca4e36dc8b17eaa011684881a80238966 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-49910. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49910.md
Affected: Linux >= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, < dc30e05bb18852303084430c03ca76e69257d9ea; >= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, < 03af22e23b96fb7ef75fb7885407ef457e8b403d; >= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, < 6c7407bfbeafc80a04e6eaedcf34d378532a04f2; >= 4b51dae96731c9d82f5634e…
Fixed in: Linux 03af22e23b96fb7ef75fb7885407ef457e8b403d, Linux 6c7407bfbeafc80a04e6eaedcf34d378532a04f2, Linux 4cd094fd5d872862ca278e15b9b51b07e915ef3f, Linux 8278a87bb1eeea94350d675ef961ee5a03341fde, Linux 9a04161244603f502c6e453913e51edd59cb70c1, Linux 3aff8aaca4e36dc8b17eaa011684881a80238966

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-49910 being exploited?

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

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

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

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

Linux \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< dc30e05bb18852303084430c03ca76e69257d9ea; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 03af22e23b96fb7ef75fb7885407ef457e8b403d; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 6c7407bfbeafc80a04e6eaedcf34d378532a04f2; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 4cd094fd5d872862ca278e15b9b51b07e915ef3f; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 8278a87bb1eeea94350d675ef961ee5a03341fde; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 9a04161244603f502c6e453913e51edd59cb70c1; \>= 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060, \< 3aff8aaca4e36dc8b17eaa011684881a80238966; Linux 3.6.

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

Yes. Fixed in Linux 03af22e23b96fb7ef75fb7885407ef457e8b403d, Linux 6c7407bfbeafc80a04e6eaedcf34d378532a04f2, Linux 4cd094fd5d872862ca278e15b9b51b07e915ef3f, Linux 8278a87bb1eeea94350d675ef961ee5a03341fde, Linux 9a04161244603f502c6e453913e51edd59cb70c1, Linux 3aff8aaca4e36dc8b17eaa011684881a80238966. Upgrade Linux to 3aff8aaca4e36dc8b17eaa011684881a80238966 or later.

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

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/dc30e05bb18852303084430c03ca76e69257d9ea>
- patch: <https://git.kernel.org/stable/c/03af22e23b96fb7ef75fb7885407ef457e8b403d>
- patch: <https://git.kernel.org/stable/c/6c7407bfbeafc80a04e6eaedcf34d378532a04f2>
- patch: <https://git.kernel.org/stable/c/4cd094fd5d872862ca278e15b9b51b07e915ef3f>
- patch: <https://git.kernel.org/stable/c/cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569>
- patch: <https://git.kernel.org/stable/c/8278a87bb1eeea94350d675ef961ee5a03341fde>
- patch: <https://git.kernel.org/stable/c/9a04161244603f502c6e453913e51edd59cb70c1>
- patch: <https://git.kernel.org/stable/c/3aff8aaca4e36dc8b17eaa011684881a80238966>

## 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-49910>

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