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
openEuler
kernel
python3-perf-debuginfo
python3-perf
python2-perf-debuginfo
python2-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel-headers

How to mitigate CVE-2026-52942

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
kernel - 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
python3-perf - addressed in versions 4.19.90-2608.2.0.0384, 5.10.0-326.0.0.227
python2-perf-debuginfo - update to 4.19.90-2608.2.0.0384
python2-perf - update to 4.19.90-2608.2.0.0384
perf-debuginfo - 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
kernel-tools-devel - 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 - 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-devel - 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-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-headers - update to 5.10.0-326.0.0.227

External References

Related Security Bulletins