Out-of-bounds read in Linux kernel - CVE-2026-52942

 

Out-of-bounds read in Linux kernel - CVE-2026-52942

Published: June 25, 2026


Vulnerability identifier: #VU135439
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-52942
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to disclose sensitive information.

The vulnerability exists due to an out-of-bounds read in dump_mac_header() in the netfilter nf_log syslog logger when processing an skb sent through AF_PACKET with PACKET_QDISC_BYPASS and an unset MAC header. A local user can send a specially crafted packet to disclose sensitive information.

Only skbs with an unset MAC header are affected.


Affected software

Linux kernel
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
openEuler
Ubuntu
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-debugsource
kernel-devel
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python2-perf
python2-perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel-headers
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-ibm (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-7.0 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-nvidia-bos (Ubuntu package)

How to mitigate CVE-2026-52942

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
kernel (Red Hat package) - update to 4.18.0-553.162.1.el8_10
kernel-rt (Red Hat package) - update to 4.18.0-553.162.1.rt7.503.el8_10
kernel-debuginfo - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
bpftool-debuginfo - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
bpftool - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-debugsource - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-devel - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-source - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-tools - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-tools-debuginfo - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-tools-devel - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
perf - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
perf-debuginfo - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
python2-perf - update to 4.19.90-2608.2.0.0384
python2-perf-debuginfo - update to 4.19.90-2608.2.0.0384
python3-perf - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
python3-perf-debuginfo - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
kernel-headers - update to 5.10.0-326.0.0.227
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1011.11, 7.0.0-1014.14
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13
linux-ibm (Ubuntu package) - update to 7.0.0-1013.13
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-nvidia (Ubuntu package) - update to 7.0.0-1018.18
linux-nvidia-7.0 (Ubuntu package) - update to 7.0.0-1018.18~24.04.1
linux-raspi (Ubuntu package) - update to 7.0.0-1019.19
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2018.18

External References

Related Security Bulletins