Cloudanix VulnDB

CVE-2022-42895

Medium · 6.5

CVSS

6.5

EPSS

0.5%

Published

Nov 23, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in Linux allows nearby attackers to steal internal memory addresses from the system over Bluetooth, making it easier for them to break into the computer.

Chainable
Exploitation
Adjacent Network
Attacker needs
None
Complexity
Moderate
Impact
Data Exposure
Component
OS kernel
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability allows remote disclosure of kernel memory pointers through malformed L2CAP configuration request packets processed in l2cap_parse_conf_req.

Why it matters to the business

Organizations running Linux systems with Bluetooth enabled face increased risk of targeted kernel memory disclosure from nearby attackers, potentially aiding further kernel exploitation and system compromise.

How an attack unfolds

An attacker within Bluetooth range crafts and sends a malicious L2CAP configuration request to a vulnerable Linux device; the kernel's l2cap_parse_conf_req function leaks internal pointers in the response, which the attacker can use to prepare subsequent memory corruption attacks.

How to fix it

Upgrade the Linux kernel to include commit b1a2cd50c0357f243b7435a732b4e62ba3157a2e or later; disable Bluetooth when not required.

How to confirm the fix worked

Verify the running kernel contains commit b1a2cd50c0357f243b7435a732b4e62ba3157a2e; test by sending L2CAP config requests and confirming absence of pointer disclosure in responses.

Typical attack path

  1. Establish adjacency via Bluetooth with target Linux system
  2. Send specially crafted L2CAP configuration request packet
  3. Receive response containing leaked kernel pointers
  4. Use disclosed pointers to craft follow-on kernel exploits

How to detect it

Inspect Bluetooth packet captures and kernel logs for anomalous L2CAP configuration requests; correlate with any subsequent memory corruption attempts or unexpected kernel pointer references in crash dumps.

What your security team should do

  • Apply the referenced kernel commit immediately on all Bluetooth-enabled Linux systems
  • Disable Bluetooth interfaces by default via kernel configuration or runtime controls
  • Monitor for new kernel releases containing the fix and schedule patching
  • Review Bluetooth usage policies to reduce attack surface

The record

There is an infoleak vulnerability in the Linux kernel's net/bluetooth/l2cap_core.c's l2cap_parse_conf_req function which can be used to leak kernel pointers remotely. We recommend upgrading past commit  https://github.com/torvalds/linux/commit/b1a2cd50c0357f243b7435a732b4e62ba3157a2e https://www.google.com/url

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 bpftool 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-abi-stablelists 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-core 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-cross-headers 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-debug 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-debug-core 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-debug-devel 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-debug-modules 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-debug-modules-extra 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-devel 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-doc 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-headers 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-modules 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-modules-extra 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-tools 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-tools-libs 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-tools-libs-devel 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-zfcpdump 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-zfcpdump-core 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-zfcpdump-devel 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-zfcpdump-modules 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 kernel-zfcpdump-modules-extra 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 perf 0 4.18.0-513.5.1.el8_9
AlmaLinux:8 python3-perf 0 4.18.0-513.5.1.el8_9
Chainguard hyperv-daemons 0 0
Chainguard hyperv-daemons-6.12 0 0
Chainguard hyperv-daemons-6.18 0 0
Chainguard hyperv-daemons-generic 0 0
Chainguard linux 0 0
Chainguard linux-aws-6.12 0 6.12.63-r0
Chainguard linux-aws-6.12 0 6.12.65-r0
Chainguard linux-aws-6.12-boot-installed 0 0
Chainguard linux-aws-6.12-fips-boot-installed 0 0
Chainguard linux-aws-6.12-headers 0 0
Chainguard linux-aws-6.12-modules 0 0
Chainguard linux-aws-6.18 0 6.18.4-r0
Chainguard linux-aws-6.18 0 6.18.5-r2
Chainguard linux-aws-6.18-boot-installed 0 0
Chainguard linux-aws-6.18-fips-boot-installed 0 0
Chainguard linux-aws-6.18-headers 0 0
Chainguard linux-aws-6.18-modules 0 0
Chainguard linux-aws-generic 0 6.18.3-r0
Chainguard linux-aws-generic 0 6.18.5-r0
Chainguard linux-aws-generic-boot-configuration 0 0
Chainguard linux-aws-generic-boot-installed 0 0
Chainguard linux-aws-generic-fips-boot-installed 0 0
Chainguard linux-aws-generic-headers 0 0
Chainguard linux-aws-generic-modules 0 0
Chainguard linux-azure-6.12 0 6.12.63-r0
Chainguard linux-azure-6.12 0 6.12.65-r1
Chainguard linux-azure-6.12-boot-installed 0 0
Chainguard linux-azure-6.12-fips-boot-installed 0 0
Chainguard linux-azure-6.12-headers 0 0
Chainguard linux-azure-6.12-modules 0 0
Chainguard linux-azure-6.18 0 0
Chainguard linux-azure-6.18-boot-installed 0 0
Chainguard linux-azure-6.18-fips-boot-installed 0 0
Chainguard linux-azure-6.18-headers 0 0
Chainguard linux-azure-6.18-modules 0 0
Chainguard linux-azure-generic 0 6.18.3-r0
Chainguard linux-azure-generic 0 6.18.5-r0
Chainguard linux-azure-generic-boot-configuration 0 0
Chainguard linux-azure-generic-boot-installed 0 0
Chainguard linux-azure-generic-fips-boot-installed 0 0
Chainguard linux-azure-generic-headers 0 0
Chainguard linux-azure-generic-modules 0 0
Chainguard linux-boot-configuration 0 0
Chainguard linux-boot-installed 0 0
Chainguard linux-gcp-6.12 0 6.12.63-r0
Chainguard linux-gcp-6.12 0 6.12.65-r0
Chainguard linux-gcp-6.12-boot-installed 0 0
Chainguard linux-gcp-6.12-fips-boot-installed 0 0
Chainguard linux-gcp-6.12-headers 0 0
Chainguard linux-gcp-6.12-modules 0 0
Chainguard linux-gcp-6.18 0 6.18.4-r0
Chainguard linux-gcp-6.18 0 6.18.5-r2
Chainguard linux-gcp-6.18-boot-installed 0 0
Chainguard linux-gcp-6.18-fips-boot-installed 0 0
Chainguard linux-gcp-6.18-headers 0 0
Chainguard linux-gcp-6.18-modules 0 0
Chainguard linux-gcp-generic 0 6.18.3-r0
Chainguard linux-gcp-generic 0 6.18.5-r0
Chainguard linux-gcp-generic-boot-installed 0 0
Chainguard linux-gcp-generic-fips-boot-installed 0 0
Chainguard linux-gcp-generic-headers 0 0
Chainguard linux-gcp-generic-modules 0 0
Chainguard linux-modules 0 0
Chainguard linux-qemu-6.12 0 6.12.65-r2
Chainguard linux-qemu-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-headers 0 6.12.63-r0
Chainguard linux-qemu-6.12-modules 0 6.12.63-r0
Chainguard linux-qemu-6.18 0 6.18.5-r2
Chainguard linux-qemu-6.18-boot-installed 0 6.18.2-r0
Chainguard linux-qemu-6.18-fips-boot-installed 0 6.18.2-r0
Chainguard linux-qemu-6.18-headers 0 6.18.2-r0
Chainguard linux-qemu-6.18-modules 0 6.18.2-r0
Chainguard linux-qemu-generic 0 6.18.3-r0
Chainguard linux-qemu-generic 0 6.18.5-r0
Chainguard linux-qemu-generic-boot-installed 0 0
Chainguard linux-qemu-generic-bootc-boot-installed 0 6.18.4-r0
Chainguard linux-qemu-generic-bootc-boot-installed 0 6.18.5-r0
Chainguard linux-qemu-generic-fips-boot-installed 0 0
Chainguard linux-qemu-generic-headers 0 0
Chainguard linux-qemu-generic-modules 0 0
Chainguard linux-qemu-rc 0 6.19_rc4-r0
Chainguard linux-qemu-rc 0 6.19_rc5-r0
Chainguard linux-qemu-rc-boot-installed 0 0
Chainguard linux-qemu-rc-fips-boot-installed 0 0
Chainguard linux-qemu-rc-headers 0 0
Chainguard linux-qemu-rc-modules 0 0
Chainguard linux-vmware-6.12 0 6.12.65-r2
Chainguard linux-vmware-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-headers 0 6.12.63-r0
Chainguard linux-vmware-6.12-modules 0 6.12.63-r0
Chainguard linux-vmware-6.18 0 6.18.5-r2
Chainguard linux-vmware-6.18-boot-installed 0 6.18.2-r0
Chainguard linux-vmware-6.18-fips-boot-installed 0 6.18.2-r0
Chainguard linux-vmware-6.18-headers 0 6.18.2-r0
Chainguard linux-vmware-6.18-modules 0 6.18.2-r0
Chainguard linux-vmware-generic 0 6.18.3-r0
Chainguard linux-vmware-generic 0 6.18.5-r0
Chainguard linux-vmware-generic-boot-installed 0 0
Chainguard linux-vmware-generic-fips-boot-installed 0 0
Chainguard linux-vmware-generic-headers 0 0
Chainguard linux-vmware-generic-modules 0 0
Debian:10 linux 0 4.19.269-1
Debian:10 linux-5.10 0 5.10.158-2~deb10u1
Debian:11 linux 0 5.10.158-1
Debian:12 linux 0 6.0.7-1
Debian:13 linux 0 6.0.7-1
Mageia:8 kernel 0 5.15.79-1.mga8
Mageia:8 kernel-linus 0 5.15.79-1.mga8
Mageia:8 kmod-virtualbox 0 7.0.2-1.2.mga8
Mageia:8 kmod-xtables-addons 0 3.21-1.7.mga8
Red Hat:enterprise_linux:8::baseos bpftool 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos bpftool-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-abi-stablelists 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-core 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-cross-headers 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debug 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debug-core 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debug-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debug-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debug-modules 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debug-modules-extra 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-aarch64 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-ppc64le 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-s390x 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-x86_64 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-doc 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-headers 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-modules 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-modules-extra 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-tools 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-tools-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-tools-libs 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-tools-libs-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump-core 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump-modules 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump-modules-extra 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos perf 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos perf-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos python3-perf 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::baseos python3-perf-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb bpftool 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb bpftool-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-abi-stablelists 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-core 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-cross-headers 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debug 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debug-core 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debug-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debug-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debug-modules 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debug-modules-extra 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debuginfo-common-aarch64 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debuginfo-common-ppc64le 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debuginfo-common-s390x 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-debuginfo-common-x86_64 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-doc 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-headers 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-modules 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-modules-extra 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-tools 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-tools-debuginfo 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-tools-libs 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-tools-libs-devel 0 0:4.18.0-513.5.1.el8_9
Red Hat:enterprise_linux:8::crb kernel-zfcpdump 0 0:4.18.0-513.5.1.el8_9

Related vulnerabilities