CVE-2022-49910: Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.27% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 03af22e23b96fb7ef75fb7885407ef457e8b403d, 3aff8aaca4e36dc8b17eaa011684881a80238966, 4cd094fd5d872862ca278e15b9b51b07e915ef3f.
Low priority for now. Upgrade to Linux Linux 03af22e23b96fb7ef75fb7885407ef457e8b403d, 3aff8aaca4e36dc8b17eaa011684881a80238966, 4cd094fd5d872862ca278e15b9b51b07e915ef3f or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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)
- Published
- May 1, 2025
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 19th percentile
- CWE
- CWE-416
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 8.8
- 1.0 point gap
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.6 and later · before 4.9.333
- linux linux kernel4.10 and later · before 4.14.299
- linux linux kernel4.15 and later · before 4.19.265
- linux linux kernel4.20 and later · before 5.4.224
- linux linux kernel5.5 and later · before 5.10.154
- linux linux kernel5.11 and later · before 5.15.78
- linux linux kernel5.16 and later · before 6.0.8
- linux linux kernel6.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.6affected
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before dc30e05bb18852303084430c03ca76e69257d9eaaffected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before 03af22e23b96fb7ef75fb7885407ef457e8b403daffected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before 6c7407bfbeafc80a04e6eaedcf34d378532a04f2affected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before 4cd094fd5d872862ca278e15b9b51b07e915ef3faffected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569affected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before 8278a87bb1eeea94350d675ef961ee5a03341fdeaffected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before 9a04161244603f502c6e453913e51edd59cb70c1affected · git
- 4b51dae96731c9d82f5634e75ac7ffd3b9c1b060 and later · before 3aff8aaca4e36dc8b17eaa011684881a80238966affected · git
- before 3.6not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.0.8-1 | 6.0.8-1 |
| Red Hat:enterprise_linux:7::client | bpftool | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | bpftool-debuginfo | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-abi-whitelists | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug-debuginfo | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug-devel | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debuginfo | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debuginfo-common-x86_64 | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-devel | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-doc | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-debuginfo | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-libs | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-libs-devel | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | perf | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | perf-debuginfo | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | python-perf | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::client | python-perf-debuginfo | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-bootwrapper | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-ppc64 | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-ppc64le | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-s390x | before 0:3.10.0-1160.95.1.el7 | 0:3.10.0-1160.95.1.el7 |
+74
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-49906May 1, 2025 · ibmvnic: Free rwi on reset success22Monitor
- ← EarlierCVE-2022-49908May 1, 2025 · Bluetooth: L2CAP: Fix memory leak in vhci_write22Monitor
- Later →CVE-2022-49911May 1, 2025 · netfilter: ipset: enforce documented limit to prevent allocating huge memory22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 03af22e23b96fb7ef75fb7885407ef457e8b403d | Vendor (CNA) |
| Linux Linux | 3aff8aaca4e36dc8b17eaa011684881a80238966 | Vendor (CNA) |
| Linux Linux | 4cd094fd5d872862ca278e15b9b51b07e915ef3f | Vendor (CNA) |
| Linux Linux | 6c7407bfbeafc80a04e6eaedcf34d378532a04f2 | Vendor (CNA) |
| Linux Linux | 8278a87bb1eeea94350d675ef961ee5a03341fde | Vendor (CNA) |
| Linux Linux | 9a04161244603f502c6e453913e51edd59cb70c1 | Vendor (CNA) |
| Linux Linux | cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569 | Vendor (CNA) |
| Linux Linux | dc30e05bb18852303084430c03ca76e69257d9ea | Vendor (CNA) |
| debian:linux | 6.0.8-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-ppc64le | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-s390x | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-devel | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-devel-matched | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-doc | 0:5.14.0-162.18.1.el9_1 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/3aff8aaca4e36dc8b17eaa011684881a80238966
- git.kernel.org/stable/c/4cd094fd5d872862ca278e15b9b51b07e915ef3f
- git.kernel.org/stable/c/6c7407bfbeafc80a04e6eaedcf34d378532a04f2
- git.kernel.org/stable/c/8278a87bb1eeea94350d675ef961ee5a03341fde
- git.kernel.org/stable/c/9a04161244603f502c6e453913e51edd59cb70c1
- git.kernel.org/stable/c/cb1c012099ef5904cd468bdb8d6fcdfdd9bcb569
- git.kernel.org/stable/c/dc30e05bb18852303084430c03ca76e69257d9ea
Vendor advisories and official records. Exploit/PoC links are deliberately left out.