CVE-2022-48947
Bluetooth: L2CAP: Fix u8 overflow
Check your servers for CVE-2022-48947
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48947 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 ........@...
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before 49d5867819ab7c744852b45509e8469839c07e0e affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before 95f1847a361c7b4bf7d74c06ecb6968455082c1a affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before ad528fde0702903208d0a79d88d5a42ae3fc235b affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before 9fdc79b571434af7bc742da40a3405f038b637a7 affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before f3fe6817156a2ad4b06f01afab04638a34d7c9a6 affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before 19a78143961a197de8502f4f29c453b913dc3c29 affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before 5550bbf709c323194881737fd290c4bada9e6ead affected from f2fcfcd670257236ebf2088bbdf26f6a8ef459fe, before bcd70260ef56e0aee8a4fc6cd214a419900b0765
Other versions: unaffected
|
| Linux |
affected 2.6.32 unaffected before 2.6.32 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.161 up to and including 5.10.* unaffected from 5.15.85 up to and including 5.15.* unaffected from 6.0.15 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48947 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48947
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-48947
trivy image --scanners vuln IMAGE | grep CVE-2022-48947
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/49d5867819ab7c744852b45509e8469839c07e0e git.kernel.org
- https://git.kernel.org/stable/c/95f1847a361c7b4bf7d74c06ecb6968455082c1a git.kernel.org
- https://git.kernel.org/stable/c/ad528fde0702903208d0a79d88d5a42ae3fc235b git.kernel.org
- https://git.kernel.org/stable/c/9fdc79b571434af7bc742da40a3405f038b637a7 git.kernel.org
- https://git.kernel.org/stable/c/f3fe6817156a2ad4b06f01afab04638a34d7c9a6 git.kernel.org
- https://git.kernel.org/stable/c/19a78143961a197de8502f4f29c453b913dc3c29 git.kernel.org
- https://git.kernel.org/stable/c/5550bbf709c323194881737fd290c4bada9e6ead git.kernel.org
- https://git.kernel.org/stable/c/bcd70260ef56e0aee8a4fc6cd214a419900b0765 git.kernel.org
Source: the record CVE-2022-48947 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse