Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-52942

7.1 · HIGH
Published Jun 24, 2026 linux CWE-125 EPSS 0.13% (3th pctl)

Overview

CVE-2026-52942 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 24, 2026 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_log: validate MAC header was set before dumping it

The fallback path of dump_mac_header() guards the MAC header access

only with "skb->mac_header != skb->network_header", without checking

skb_mac_header_was_set(). When the MAC header is unset, mac_header is

0xffff, so the test passes and skb_mac_header(skb) returns

skb->head + 0xffff, ~64 KiB past the buffer; the loop then reads

dev->hard_header_len bytes out of bounds into the kernel log.

This is reachable via the netdev logger: nf_log_unknown_packet() calls

dump_mac_header() unconditionally, and an skb sent through AF_PACKET

with PACKET_QDISC_BYPASS reaches the egress hook with mac_header still

unset (__dev_queue_xmit(), which would reset it, is bypassed).

Add the skb_mac_header_was_set() check the ARPHRD_ETHER path already

uses, and replace the open-coded MAC header length test with

skb_mac_header_len(). Only skbs with an unset MAC header are affec

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 2.6.36, < 5.15.210 Affected

Frequently Asked Questions

What is CVE-2026-52942?

CVE-2026-52942 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 24, 2026 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2026-52942?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-52942?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-52942?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-52942 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.