Skip to content
Fencer Intel
medium 5.5

CVE-2022-3640 json

Linux Kernel Bluetooth l2cap_core.c l2cap_conn_del use after free

published 4y ago modified 4mo ago also EUVD-2022-43000

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

A vulnerability, which was classified as critical, was found in Linux Kernel. Affected is the function l2cap_conn_del of the file net/bluetooth/l2cap_core.c of the component Bluetooth. The manipulation leads to use after free. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211944.

Patch / fix

  • linux linux_kernel 4.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.79, 6.0.8
  • linux Debian 14, Debian 13, Debian 12 6.0.8-1

debian advisories DEBIAN-CVE-2022-3640

  • linux Ubuntu 18.04 LTS 4.15.0-206.217
  • linux Ubuntu 20.04 LTS 5.4.0-139.156
  • linux Ubuntu 22.04 LTS 5.15.0-60.66
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1151.164
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1096.104
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1030.34
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1100.109
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1029.36

ubuntu advisories UBUNTU-CVE-2022-3640

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8 4.18.0-513.5.1.el8_9
  • perf RHEL 8 4.18.0-513.5.1.el8_9
  • bpftool RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-core RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
  • python3-perf RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-modules RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump RHEL 8 4.18.0-513.5.1.el8_9

red hat advisories RHSA-2025:22910RHSA-2025:22914RHSA-2023:7077RHSA-2023:2458RHSA-2023:2148RHSA-2023:6901

  • kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.167.1
  • kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.167.1
  • kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.167.1
  • kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 5.14.21-150400.24.167.1
  • kernel-zfcpdump SLES 15 SP4-LTSS, Manager Server 4.3 5.14.21-150400.24.167.1
  • kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.167.1
  • kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.167.1.150400.24.84.1
  • kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.110.1

suse advisories SUSE-SU-2025:02262-1SUSE-SU-2025:02173-1SUSE-SU-2025:01966-1SUSE-SU-2025:01918-1SUSE-SU-2022:4617-1SUSE-SU-2022:4560-1

  • kernel-source openSUSE Tumbleweed 6.0.5-1.1
  • kernel-source openSUSE Tumbleweed 6.6.17-1.1

opensuse advisories openSUSE-SU-2024:12456-1openSUSE-SU-2024:13704-1

  • kernel AlmaLinux 8 4.18.0-513.5.1.el8_9
  • perf AlmaLinux 8 4.18.0-513.5.1.el8_9
  • bpftool AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-core AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-tools AlmaLinux 8 4.18.0-513.5.1.el8_9
  • python3-perf AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-modules AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump AlmaLinux 8 4.18.0-513.5.1.el8_9

almalinux advisories ALSA-2023:7077ALSA-2023:2148ALSA-2023:2458

Is CVE-2022-3640 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3640 updated cvss 7.1

kernel: use after free flaw in l2cap_conn_del in net/bluetooth/l2cap_core.c

  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9
    fixed: vendor fix RHSA-2023:7077
  • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.100.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.100.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.100.1.el8_6
    fixed: vendor fix RHSA-2024:1877
  • Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.55.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.55.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.55.1.el8_8
    fixed: vendor fix RHSA-2024:2621
  • Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.11.1.el9_2, rtla 5.14.0-284.11.1.el9_2, kernel-devel-matched 5.14.0-284.11.1.el9_2, kernel-64k-devel-matched 5.14.0-284.11.1.el9_2, kernel-debug-devel-matched 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, +5 more
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 more
    fixed: vendor fix RHSA-2023:7077
  • Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.11.1.el9_2, kernel 5.14.0-284.11.1.el9_2, kernel-64k 5.14.0-284.11.1.el9_2, kernel-core 5.14.0-284.11.1.el9_2, kernel-tools 5.14.0-284.11.1.el9_2, python3-perf 5.14.0-284.11.1.el9_2, +28 more
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.100.1.el8_6, kernel 4.18.0-372.100.1.el8_6, bpftool 4.18.0-372.100.1.el8_6, kernel-core 4.18.0-372.100.1.el8_6, kernel-tools 4.18.0-372.100.1.el8_6, python3-perf 4.18.0-372.100.1.el8_6, +15 more
    fixed: vendor fix RHSA-2024:1877
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.55.1.el8_8, kernel 4.18.0-477.55.1.el8_8, bpftool 4.18.0-477.55.1.el8_8, kernel-core 4.18.0-477.55.1.el8_8, kernel-tools 4.18.0-477.55.1.el8_8, python3-perf 4.18.0-477.55.1.el8_8, +15 more
    fixed: vendor fix RHSA-2024:2621
show 8 more
  • Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.11.1.el9_2
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt 3.10.0-1160.143.1.rt56.1295.el7, kernel-rt-trace 3.10.0-1160.143.1.rt56.1295.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.143.1.rt56.1295.el7
    fixed: vendor fix RHSA-2025:22914
  • Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-kvm 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-kvm 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-core 5.14.0-284.11.1.rt14.296.el9_2, +6 more
    fixed: vendor fix RHSA-2023:2148
  • Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules-extra 4.18.0-513.5.1.rt7.307.el8_9, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-kvm 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-kvm 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-core 4.18.0-513.5.1.rt7.307.el8_9, +4 more
    fixed: vendor fix RHSA-2023:6901
  • Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-modules 5.14.0-284.11.1.rt14.296.el9_2, +4 more
    fixed: vendor fix RHSA-2023:2148
  • Red Hat Enterprise Linux Server (v. 7 ELS) perf 3.10.0-1160.143.1.el7, kernel 3.10.0-1160.143.1.el7, bpftool 3.10.0-1160.143.1.el7, python-perf 3.10.0-1160.143.1.el7, kernel-kdump 3.10.0-1160.143.1.el7, kernel-tools 3.10.0-1160.143.1.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debuginfo-common-ppc64 3.10.0-1160.143.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.143.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.143.1.el7
    fixed: vendor fix RHSA-2025:22910
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.100.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.100.1.el8_6
    fixed: vendor fix RHSA-2024:1877
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • git.kernel.org https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=42cf46dea905a80f6de218e837ba4d4cc33d6979 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Linux Kernel

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-416 Use After Free
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.