Skip to main content

Linux Kernel EUVDEUVD-2026-38712

| CVE-2026-52942 HIGH
Out-of-bounds Read (CWE-125)
2026-06-24 Linux GHSA-3p98-fq5j-wx55
7.1
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local CAP_NET_RAW access
  2. Delivery
    Open AF_PACKET socket with PACKET_QDISC_BYPASS
  3. Exploit
    Send frame with MAC header unset
  4. Execution
    Hit nftables netdev egress log hook
  5. Persist
    dump_mac_header reads past skb buffer
  6. Impact
    Leak slab memory to kernel log / crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete prerequisites taken from the description: (1) the host must have an nftables netdev-family chain containing a 'log' action whose path reaches nf_log_unknown_packet()/dump_mac_header(); (2) the attacker must be able to create an AF_PACKET socket (typically CAP_NET_RAW) and set the PACKET_QDISC_BYPASS option; and (3) the packet must be sent so it reaches the egress nf_hook with mac_header still unset, which PACKET_QDISC_BYPASS achieves by skipping __dev_queue_xmit(). Limiting factors: access is local only (CVSS AV:L), requires low privilege (PR:L, effectively CAP_NET_RAW), and depends on the non-default netdev logging configuration - without such a log rule the code path is never invoked. Authentication is required per CVSS PR:L (a low-privileged local account/capability), not remote and not unauthenticated.

Impact

Signals are consistent and point to a moderate, locally-scoped issue rather than an urgent priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, base 7.1) reflects local access with low privileges and no user interaction, yielding info disclosure plus a likely crash. EPSS is low (0.17%, 6th percentile), there is no CISA KEV listing and no public exploit identified, so active or widespread exploitation is not indicated. The realistic exploitation surface is narrower than the raw 7.1 suggests: it requires the attacker to open an AF_PACKET socket (normally CAP_NET_RAW) AND for the host to have an nftables netdev-family chain with a 'log' rule on egress - a non-default configuration. Note a tension worth flagging: the vector rates confidentiality C:H, but the leaked bytes land in the kernel ring buffer (dmesg), whose disclosure value depends on who can read kernel logs and is bounded by dev->hard_header_len; the more reliable real-world outcome is a KASAN/slab fault and potential denial of service. Bottom line: patch in due course, but this is a config-dependent local DoS/info-leak, not a remotely exploitable critical flaw.

Exploit ScenarioDerived

A local user (or compromised container with CAP_NET_RAW) on a host that has an nftables netdev egress chain with a log rule opens an AF_PACKET socket, enables PACKET_QDISC_BYPASS, and transmits a crafted frame so it hits the egress hook with the MAC header unset. The logger then reads up to dev->hard_header_len bytes past the skb into the kernel log, disclosing adjacent slab memory and risking a slab-out-of-bounds fault/crash. No public proof-of-concept is identified at time of analysis, though the report includes a KASAN trace from a task named 'exploit'.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 28, 2026

Out-of-bounds kernel memory read in the Linux kernel netfilter netdev logger (nf_log_syslog) lets a local low-privileged attacker leak adjacent slab memory into the kernel log and potentially crash the system. The flaw is in dump_mac_header(), whose fallback path tests skb->mac_header != skb->network_header but omits skb_mac_header_was_set(); an unset MAC header (value 0xffff) passes the check and causes a read ~64 KiB past the skb buffer. Fixed in stable kernels (e.g., 6.18.36, 6.12.94, 6.6.143, 6.1.176, 5.15.210, 7.0.13/7.1); no public exploit identified at time of analysis and EPSS is low at 0.17%.

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel for your series - 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, or 7.0.13/7.1 - or apply the corresponding stable commits listed at git.kernel.org (e.g., https://git.kernel.org/stable/c/d704ee9c7bc68a161684c51a7ac05b446dcf38d4) via your distribution's kernel update. Until patched, reduce exposure with targeted compensating controls: remove or avoid nftables netdev-family chains that contain 'log' statements on egress (the only path that calls the vulnerable logger), which eliminates the trigger at the cost of losing that packet logging; and restrict CAP_NET_RAW / AF_PACKET socket creation for untrusted local users and containers (e.g., drop CAP_NET_RAW in container runtimes and seccomp-filter socket(AF_PACKET)), accepting that legitimate raw-socket tools like tcpdump in those contexts will break. These mitigations are only relevant where such logging rules exist; default systems without netdev log rules are not reachable.

Affected VersionsENISA

Linux patch: 7.0.13
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <a84b6fedbc97078788be78dbdd7517d143ad1a77
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <d704ee9c7bc68a161684c51a7ac05b446dcf38d4
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <c38d41134085193efd5b237cf513ad5b3421a60d
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <65ef7397eb9a296e91839f5fd10be96f23d332e7
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <8a81e336da685423f5b64aac4d571e63d674c52a
Linux patch: 0
Linux patch: 6.12.94
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <af1b7699466f6556b351fa25d3dc870abfb5d310
Linux patch: 6.1.176
Linux patch: 6.18.36
Linux patch: 7.1
Linux 2.6.36
Linux 7eb9282cd0efac08b8377cbd5037ba297c77e3f7 <befb8968a2abdfa948d5600ea7f7a509a292a590
Linux patch: 5.15.210
Linux patch: 6.6.143

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The bug lives in net/netfilter/nf_log_syslog.c, the syslog/netdev packet logger used by nftables 'log' statements. An sk_buff carries a mac_header offset into skb->head; when the MAC header was never set, that offset is the sentinel 0xffff (~64 KiB), and skb_mac_header() therefore returns a pointer far past the allocated buffer. The fallback branch of dump_mac_header() validated only that mac_header differs from network_header, so it dereferenced this poisoned pointer and looped over dev->hard_header_len bytes, reading out of bounds. The trigger path is specific: nf_log_unknown_packet() -> dump_mac_header() is called unconditionally by the netdev family logger, and a packet injected via AF_PACKET with PACKET_QDISC_BYPASS reaches the egress nf_hook with mac_header still unset because __dev_queue_xmit() (which would reset it) is bypassed. Although the input lists CWE as N/A, this is a classic out-of-bounds read (CWE-125), tagged 'Buffer Overflow'; the fix adds the skb_mac_header_was_set() guard already used by the ARPHRD_ETHER path and switches to skb_mac_header_len(). Affected products per CPE are limited to cpe:2.3:a:linux:linux (the upstream Linux kernel).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 6.1 MEDIUM

Local CAP_NET_RAW gives PR:L; leaked bytes go to the kernel log so C:L not C:H; primary real impact is a slab OOB fault/DoS, hence A:H, no integrity impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.0 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 28, 2026 - 08:22 NVD
7.1 (HIGH)
Patch available
Jun 24, 2026 - 09:16 EUVD
CVE Published
Jun 24, 2026 - 07:14 cve.org
HIGH 7.1
CVE Published
Jun 24, 2026 - 07:14 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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 affected; valid ones are dumped as before.

BUG: KASAN: slab-out-of-bounds in dump_mac_header (net/netfilter/nf_log_syslog.c:831) Read of size 1 at addr ffff88800ea49d3f by task exploit/148 Call Trace: kasan_report (mm/kasan/report.c:595) dump_mac_header (net/netfilter/nf_log_syslog.c:831) nf_log_netdev_packet (net/netfilter/nf_log_syslog.c:938 net/netfilter/nf_log_syslog.c:963) nf_log_packet (net/netfilter/nf_log.c:260) nft_log_eval (net/netfilter/nft_log.c:60) nft_do_chain (net/netfilter/nf_tables_core.c:285) nft_do_chain_netdev (net/netfilter/nft_chain_filter.c:307) nf_hook_slow (net/netfilter/core.c:619) nf_hook_direct_egress (net/packet/af_packet.c:257) packet_xmit (net/packet/af_packet.c:280) packet_sendmsg (net/packet/af_packet.c:3114) __sys_sendto (net/socket.c:2265)

Executive ViewAI

Why It Matters

The Linux kernel netfilter syslog module contains an out-of-bounds memory read vulnerability (CVE-2026-52942) that enables local low-privileged users to leak sensitive kernel memory and potentially crash systems. No public exploit identified at time of analysis, but organizations should upgrade affected kernel versions to mitigate data exposure and availability risks.

Business Impact: Medium
Compensating Controls

Vendor-released patch: upgrade to kernel versions 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, or 7.0.13/7.1 or later. Until patching is complete, enforce strict local account access controls and monitor system logs for kernel panic messages.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel runs across virtually all server, cloud, and embedded deployments
Threat Intel
2
1 sources
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy