Skip to content
Noroxi
CVE-2022-48947· NVD / CVE Program· CNA Linux

Bluetooth: L2CAP: Fix u8 overflow

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix u8 overflow By keep sending L2CAP_CONF_REQ packets, chan->num_conf_rsp increases multiple times and eventually it will wrap around the maximum number (i.e., 255). This patch prevents this by adding a boundary check with L2CAP_MAX_CONF_RSP Btmon log: Bluetooth monitor ver 5.64 = Note: Linux version 6.1.0-rc2 (x86_64) 0.264594 = Note: Bluetooth subsystem version 2.22 0.264636 @ MGMT Open: btmon (privileged) version 1.22 {0x0001} 0.272191 = New Index: 00:00:00:00:00:00 (Primary,Virtual,hci0) [hci0] 13.877604 @ RAW Open: 9496 (privileged) version 2.22 {0x0002} 13.890741 = Open Index: 00:00:00:00:00:00 [hci0] 13.900426 (...) > ACL Data RX: Handle 200 flags 0x00 dlen 1033 #32 [hci0] 14.273106 invalid packet size (12 != 1033) 08 00 01 00 02 01 04 00 01 10 ff ff ............ > ACL Data RX: Handle 200 flags 0x00 dlen 1547 #33 [hci0] 14.273561 invalid packet size (14 != 1547) 0a 00 01 00 04 01 06 00 40 00 00 00 00 00 ........@..... > ACL Data RX: Handle 200 flags 0x00 dlen 2061 #34 [hci0] 14.274390 invalid packet size (16 != 2061) 0c 00 01 00 04 01 08 00 40 00 00 00 00 00 00 04 ........@....... > ACL Data RX: Handle 200 flags 0x00 dlen 2061 #35 [hci0] 14.274932 invalid packet size (16 != 2061) 0c 00 01 00 04 01 08 00 40 00 00 00 07 00 03 00 ........@....... = bluetoothd: Bluetooth daemon 5.43 14.401828 > ACL Data RX: Handle 200 flags 0x00 dlen 1033 #36 [hci0] 14.275753 invalid packet size (12 != 1033) 08 00 01 00 04 01 04 00 40 00 00 00 ........@...

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Oct 21, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 15th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernelbefore 4.9.337
  • linux linux kernel4.10 and later · before 4.14.303
  • linux linux kernel4.15 and later · before 4.19.270
  • linux linux kernel4.20 and later · before 5.4.229
  • linux linux kernel5.5 and later · before 5.10.161
  • linux linux kernel5.11 and later · before 5.15.85
  • linux linux kernel5.16 and later · before 6.0.15
  • 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

    • 2.6.32affected
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before 49d5867819ab7c744852b45509e8469839c07e0eaffected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before 95f1847a361c7b4bf7d74c06ecb6968455082c1aaffected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before ad528fde0702903208d0a79d88d5a42ae3fc235baffected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before 9fdc79b571434af7bc742da40a3405f038b637a7affected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before f3fe6817156a2ad4b06f01afab04638a34d7c9a6affected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before 19a78143961a197de8502f4f29c453b913dc3c29affected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before 5550bbf709c323194881737fd290c4bada9e6eadaffected · git
    • f2fcfcd670257236ebf2088bbdf26f6a8ef459fe and later · before bcd70260ef56e0aee8a4fc6cd214a419900b0765affected · git
    • before 2.6.32not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.4-16.1.4-1
Red Hat:enterprise_linux:8::baseosbpftoolbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseosbpftool-debuginfobefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernelbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-abi-stablelistsbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-corebefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debugbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debug-corebefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debug-debuginfobefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debug-develbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debug-modulesbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debug-modules-extrabefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debuginfobefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debuginfo-common-aarch64before 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debuginfo-common-ppc64lebefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debuginfo-common-s390xbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-debuginfo-common-x86_64before 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-develbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-docbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-modulesbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-modules-extrabefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-toolsbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-tools-debuginfobefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseoskernel-tools-libsbefore 0:4.18.0-553.el8_100:4.18.0-553.el8_10

+96

Other highest-scoring records for the same primary product.

  • 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 KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux19a78143961a197de8502f4f29c453b913dc3c29Vendor (CNA)
Linux Linux49d5867819ab7c744852b45509e8469839c07e0eVendor (CNA)
Linux Linux5550bbf709c323194881737fd290c4bada9e6eadVendor (CNA)
Linux Linux95f1847a361c7b4bf7d74c06ecb6968455082c1aVendor (CNA)
Linux Linux9fdc79b571434af7bc742da40a3405f038b637a7Vendor (CNA)
Linux Linuxad528fde0702903208d0a79d88d5a42ae3fc235bVendor (CNA)
Linux Linuxbcd70260ef56e0aee8a4fc6cd214a419900b0765Vendor (CNA)
Linux Linuxf3fe6817156a2ad4b06f01afab04638a34d7c9a6Vendor (CNA)
debian:linux6.1.4-1 · Debian:12Package registry (OSV)
opensuse:kernel-azure5.14.21-150500.33.72.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-rt5.14.21-150500.13.76.1 · openSUSE:Leap Micro 5.5Package registry (OSV)
opensuse:kernel-source-azure5.14.21-150500.33.72.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-syms-azure5.14.21-150500.33.72.1 · openSUSE:Leap 15.5Package registry (OSV)
red hat:bpftool-debuginfo0:7.3.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-devel0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-devel0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debuginfo0:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debuginfo-common-aarch640:5.14.0-427.13.1.el9_4 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
rocky linux:kernel0:4.18.0-553.123.1.el8_10.cloud.0.1 · Rocky Linux:8Package registry (OSV)
suse:kernel-azure5.14.21-150500.33.72.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5Package registry (OSV)
suse:kernel-livepatch-SLE15-SP5-RT_Update_221-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5Package registry (OSV)
suse:kernel-rt5.14.21-150500.13.76.1 · SUSE:Linux Enterprise Micro 5.5Package registry (OSV)
suse:kernel-rt_debug5.14.21-150500.13.76.1 · SUSE:Real Time Module 15 SP5Package registry (OSV)

+4

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.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

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.

Finders, 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.

  • CVE-2022-490300 days apartlibbpf: Handle size overflow for ringbuf mmap
    31Monitor
  • CVE-2024-4213683 days apartcdrom: rearrange last_media_change check to avoid unintentional overflow
    31Monitor
  • CVE-2022-4883797 days apartusb: gadget: rndis: prevent integer overflow in rndis_set_response()
    31Monitor
  • CVE-2024-40994101 days apartptp: fix integer overflow in max_vclocks_store
    31Monitor
  • CVE-2024-41000101 days apartblock/ioctl: prefer different overflow check
    31Monitor
  • CVE-2021-47098231 days aparthwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations
    31Monitor

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
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records