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

batman-adv: stop caching unowned originator pointers in BAT IV

BAT IV keeps the last-hop neighbor address in each neigh_node, but some
paths also cache an originator pointer derived from a temporary lookup.
That pointer is not owned by the neigh_node and may no longer refer to a
live originator entry after purge handling runs.

Stop storing the auxiliary originator pointer in the BAT IV neighbor
state. When BAT IV needs the neighbor originator data, resolve it from
the stored neighbor address and drop the reference again after use.

[sven: avoid bonding logic for outgoing OGM]
Published: 2026-05-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

batman‑adv, a network mesh driver in the Linux kernel, mistakenly cached an unowned originator pointer within the BAT IV neighbor state. When the neighbor table was purged, this pointer could refer to memory that had already been freed or repurposed. An attacker who can influence batman‑adv traffic in a way that causes the stale pointer to be dereferenced can trigger kernel memory corruption. Because the corruption occurs in privileged kernel space, exploitation could lead to arbitrary code execution with full system privileges. The flaw is a classic use‑after‑free vulnerability (CWE‑416).

Affected Systems

All Linux kernel versions that include the unpatched batman‑adv implementation are affected, as the issue exists before the patch that removes the auxiliary originator pointer from the neighbor state. The vulnerability is specific to the batman‑adv kernel module and does not affect user‑space applications. No exact kernel release numbers are listed, so all kernels from the first introduction of batman‑adv up to the latest stable release before the hotfix are potentially impacted.

Risk and Exploitability

Public records do not report an EPSS score or a CVSS rating, and the flaw is not listed in the CISA KEV catalog. The theoretical severity is high because the bug permits kernel memory corruption that can be leveraged for privilege escalation to root. The likely attack vector involves crafting network packets that are processed by the batman‑adv module, which is typically bound to local or untrusted network interfaces; thus the vulnerability requires local or network-level access to trigger. No publicly available exploits have been found, so the risk remains primarily theoretical until proof‑of‑concept code appears.

Generated by OpenCVE AI on May 28, 2026 at 12:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch removing the unowned originator pointer from the batman‑adv neighbor state; if the patch is only in the source tree, rebuild the kernel or apply the specific commit to the existing kernel.
  • If an immediate kernel upgrade is not feasible, disable the batman‑adv module or the BAT IV functionality on hosts that do not require mesh networking, thereby preventing the use of the vulnerable code path.
  • Monitor kernel logs for signs of invalid pointer dereferences or crashes in batman‑adv, and keep the system under a configuration management system that enforces timely application of security updates.

Generated by OpenCVE AI on May 28, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: batman-adv: stop caching unowned originator pointers in BAT IV BAT IV keeps the last-hop neighbor address in each neigh_node, but some paths also cache an originator pointer derived from a temporary lookup. That pointer is not owned by the neigh_node and may no longer refer to a live originator entry after purge handling runs. Stop storing the auxiliary originator pointer in the BAT IV neighbor state. When BAT IV needs the neighbor originator data, resolve it from the stored neighbor address and drop the reference again after use. [sven: avoid bonding logic for outgoing OGM]
Title batman-adv: stop caching unowned originator pointers in BAT IV
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-28T09:41:06.816Z

Reserved: 2026-05-13T15:03:33.107Z

Link: CVE-2026-46238

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-28T10:16:39.427

Modified: 2026-05-28T10:16:39.427

Link: CVE-2026-46238

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T12:30:16Z

Weaknesses