Skip to main content

Linux Kernel CVE-2026-31657

| EUVDEUVD-2026-25550 CRITICAL
NULL Pointer Dereference (CWE-476)
2026-04-24 Linux GHSA-w24x-3wrx-8q34
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain Layer 2 mesh access
  2. Delivery
    Send crafted BLA claim packets
  3. Exploit
    Trigger concurrent netlink dump
  4. Install
    Win race on claim->backbone_gw update
  5. C2
    Dereference freed gateway structure
  6. Execute
    Kernel memory corruption
  7. Impact
    Arbitrary code execution as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Requires batman-adv kernel module loaded with Bridge Loop Avoidance enabled (batctl bridge_loop_avoidance setting, enabled by default when batman-adv is active). Attacker must have Layer 2 network access to the mesh segment to send crafted B.A.T.M.A.N. protocol frames - this limits exploitation to physically proximate attackers or those with existing access to mesh node's network interfaces. Successful exploitation requires winning race condition between BLA claim updates and netlink dump or claim-check operations, more likely on SMP systems under concurrent mesh traffic. Does not affect systems without batman-adv module loaded or those using batman-adv without BLA (batctl bridge_loop_avoidance disabled). Most standard Linux servers/desktops do not load batman-adv by default, significantly reducing real-world attack surface to specialized mesh network deployments.

Impact

CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) indicates maximum severity for network-reachable unauthenticated exploitation, but real-world risk is substantially lower based on multiple signals. EPSS 2% (7th percentile) suggests very low probability of mass exploitation. No CISA KEV listing and no public POC identified indicate this is not being actively targeted. Attack complexity despite AC:L rating is non-trivial: exploitation requires targeting systems with batman-adv module loaded and BLA enabled (not default in most distributions), winning a race condition between claim updates and netlink dumps or claim checks, and successfully weaponizing kernel memory corruption for code execution. Batman-adv is primarily deployed in specialized mesh network scenarios (IoT, rural connectivity, emergency networks) rather than general server/desktop environments, significantly limiting attack surface. Patches released simultaneously across all maintained kernel branches (6.1 LTS through 7.0 mainline) indicate vendor priority but also rapid containment. Real priority: Medium-High for organizations running batman-adv mesh networks, Low for standard Linux deployments without mesh networking. The CVSS-to-EPSS gap suggests this is a high-severity-but-low-exploitability issue - important for affected users but not a widespread internet threat.

Exploit ScenarioDerived

Attacker on the same Layer 2 network segment as a batman-adv mesh node sends crafted B.A.T.M.A.N. Advanced BLA claim packets to trigger rapid claim updates. Simultaneously sends netlink requests to dump BLA claim tables, racing claim->backbone_gw pointer replacement in batadv_bla_add_claim() against netlink dump's dereference of claim->backbone_gw->orig. Successful race causes kernel to dereference freed memory, potentially reading sensitive kernel data or causing controlled memory corruption exploitable for privilege escalation to root. No public POC exists but race window is realistic on multi-core systems under high mesh traffic load.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 27, 2026

Use-after-free in Linux kernel batman-adv (B.A.T.M.A.N. Advanced mesh networking) allows remote network attackers to trigger memory corruption and potentially execute arbitrary code. The batadv_bla_add_claim() function can prematurely drop a gateway reference while readers still access the pointer, causing netlink dump and claim-check paths to dereference freed memory. Despite CVSS 9.8 critical rating, exploitation probability is low (EPSS 2%, 7th percentile), no active exploitation confirmed, and patches available across kernel stable branches 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, and mainline 7.0.

RemediationAI

Primary fix: upgrade to patched kernel versions 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, or 7.0+ depending on your stable branch. Patches introduce proper reference counting via batadv_bla_claim_get_backbone_gw() to prevent use-after-free during concurrent claim operations. For systems requiring batman-adv but unable to immediately patch, temporary workaround is to disable Bridge Loop Avoidance via 'batctl bridge_loop_avoidance 0' on all mesh nodes - this eliminates the vulnerable code path but removes loop protection, requiring network topology redesign to avoid bridging loops manually (do not connect mesh to multiple LAN segments). This workaround severely limits deployment flexibility and is only viable for simple tree topologies. Alternatively, unload batman-adv module entirely if mesh networking is not mission-critical ('rmmod batman_adv'), but this disables all mesh functionality. For distributions, check vendor security advisories: Debian DSA/DLA, Ubuntu USN, RHEL RHSA, SUSE updates will backport fixes to their kernel packages. Verify patch application with 'grep batadv_bla_claim_get_backbone_gw /proc/kallsyms' (should show the new function). No kernel command-line mitigations exist for this vulnerability.

Affected VersionsENISA

Linux patch: 7.0
Linux 23721387c409087fd3b97e274f34d3ddc0970b74 <82d8701b2c930d0e96b0dbc9115a218d791cb0d2
Linux patch: 6.1.169
Linux 23721387c409087fd3b97e274f34d3ddc0970b74 <2f55b58b5a0bbed192d60c444a45a49cdf1b545f
Linux patch: 6.6.135
Linux 3.5
Linux 23721387c409087fd3b97e274f34d3ddc0970b74 <f4858832ddef2f39f21e30b7226bbcd3c4b2bc96
Linux 23721387c409087fd3b97e274f34d3ddc0970b74 <7962b522222628596ca9ecc8722efc95367aadbd
Linux patch: 6.19.13
Linux patch: 0
Linux 23721387c409087fd3b97e274f34d3ddc0970b74 <1f2dc36c297d27733f1b380ea644cf15a361bd7b
Linux 23721387c409087fd3b97e274f34d3ddc0970b74 <4dee4c0688443aaf5bbec74aa203c851d1d53c35
Linux patch: 6.18.23
Linux patch: 6.12.82

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

Batman-adv is the Linux kernel implementation of B.A.T.M.A.N. Advanced, a mesh networking protocol for multi-hop ad-hoc networks. The Bridge Loop Avoidance (BLA) subsystem prevents loops when mesh networks are bridged to LANs. The vulnerability exists in BLA's claim reference counting: batadv_bla_add_claim() replaces claim->backbone_gw pointers without holding references, creating a classic use-after-free race. The netlink dump path dereferences claim->backbone_gw->orig and takes claim->backbone_gw->crc_lock, and batadv_bla_check_claim() follows the same naked pointer pattern. Both paths can access freed gateway structures if another thread drops the last reference. The fix introduces batadv_bla_claim_get_backbone_gw() to pin gateway references during read operations, enforcing lifetime rules already used elsewhere in BLA claim handling. This is a kernel memory safety issue rooted in improper reference management during concurrent operations on shared data structures.

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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 20:16 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:45 nvd
CRITICAL 9.8

DescriptionCVE.org

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

batman-adv: hold claim backbone gateways by reference

batadv_bla_add_claim() can replace claim->backbone_gw and drop the old gateway's last reference while readers still follow the pointer.

The netlink claim dump path dereferences claim->backbone_gw->orig and takes claim->backbone_gw->crc_lock without pinning the underlying backbone gateway. batadv_bla_check_claim() still has the same naked pointer access pattern.

Reuse batadv_bla_claim_get_backbone_gw() in both readers so they operate on a stable gateway reference until the read-side work is complete. This keeps the dump and claim-check paths aligned with the lifetime rules introduced for the other BLA claim readers.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL 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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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