Read the docs
TI-2022-25406 Aliases CVE-2022-49910GHSA-3vg9-6vwr-fh6q

Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu

Priority LOW 38CWE-416Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 15 fixed, 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

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)

Why it matters now

EPSS 0.00272 19th percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.9.333, 4.14.299, 4.19.265 +5Red Hat: 4 advisoriesRed Hat: 15 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux3.6 and later4.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.78, 6.0.8, 6.1Patch availableCNA
  • Linux VendorLinux Affected 3.6 and later Fixed in 4.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.78, 6.0.8, 6.1 Patch available CNA

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*3.6 to before 4.9.333; 4.10 to before 4.14.299; 4.15 to before 4.19.265; 4.20 to before 5.4.224; 5.5 to before 5.10.154; 5.11 to before 5.15.78; 5.16 to before 6.0.8VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*6.1 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*6.1 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*6.1 rc3VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.6 to before 4.9.333; 4.10 to before 4.14.299; 4.15 to before 4.19.265; 4.20 to before 5.4.224; 5.5 to before 5.10.154; 5.11 to before 5.15.78; 5.16 to before 6.0.8 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* Versions 6.1 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* Versions 6.1 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* Versions 6.1 rc3 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.78, 6.0.8, 6.1

Red Hat 4 advisories

  • RHSA-2023:4151 Released 2023-07-18 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat Enterprise Linux Client (v. 7) bpftool-3.10.0-1160.95.1.el7, kernel-3.10.0-1160.95.1.el7, kernel-abi-whitelists-3.10.0-1160.95.1.el7 +8
    • Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-1160.95.1.el7
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-1160.95.1.el7
    • Red Hat Enterprise Linux Server (v. 7) bpftool-3.10.0-1160.95.1.el7, kernel-3.10.0-1160.95.1.el7, kernel-abi-whitelists-3.10.0-1160.95.1.el7 +11
    • Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-1160.95.1.el7, kernel-tools-libs-devel-3.10.0-1160.95.1.el7
    • Red Hat Enterprise Linux Workstation (v. 7) bpftool-3.10.0-1160.95.1.el7, kernel-3.10.0-1160.95.1.el7, kernel-abi-whitelists-3.10.0-1160.95.1.el7 +8
    • Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-1160.95.1.el7
  • RHSA-2023:3388 Released 2023-05-31 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-tools-libs-devel-4.18.0-372.57.1.el8_6
    • Red Hat Enterprise Linux BaseOS EUS (v.8.6) bpftool-4.18.0-372.57.1.el8_6, kernel-4.18.0-372.57.1.el8_6, kernel-abi-stablelists-4.18.0-372.57.1.el8_6 +19
    • Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.57.1.el8_6, perf-4.18.0-372.57.1.el8_6
  • RHSA-2023:2951 Released 2023-05-16 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-477.10.1.el8_8, kernel-4.18.0-477.10.1.el8_8, kernel-abi-stablelists-4.18.0-477.10.1.el8_8 +19
    • Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-477.10.1.el8_8
Show 1 more Red Hat advisories
  • RHSA-2023:0951 Released 2023-02-28 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-162.18.1.el9_1
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-debug-devel-5.14.0-162.18.1.el9_1, kernel-debug-devel-matched-5.14.0-162.18.1.el9_1, kernel-devel-5.14.0-162.18.1.el9_1 +5
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-5.14.0-162.18.1.el9_1, kernel-5.14.0-162.18.1.el9_1, kernel-abi-stablelists-5.14.0-162.18.1.el9_1 +14

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2023:0951
Red Hat CodeReady Linux Builder EUS (v.8.6)Fixed RHSA-2023:3388
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:0951
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2023:2951
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2023:0951
Red Hat Enterprise Linux BaseOS EUS (v.8.6)Fixed RHSA-2023:3388
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2023:2951
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2023:4151
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2023:4151
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2023:4151
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2023:4151
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2023:4151
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2023:4151
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2023:4151
Red Hat Virtualization 4 Hypervisor for RHEL 8Fixed RHSA-2023:3388
Not affected: 2 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-49910
  2. 2026-10-03 Alias added: GHSA-3vg9-6vwr-fh6q

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources