Linux Kernel batman-adv Module Interface Removal Panic Vulnerability

Vulnerability

A vulnerability in the Linux kernel's batman-adv module can lead to a kernel panic during the removal of a network interface. This issue arises because reference counting does not ensure that a hard interface remains linked to a soft interface until all related work is completed. As a result, the hard interface can be freed prematurely, causing a crash. The problem can be exacerbated by delaying the metric work, which allows for more reliable reproduction of the issue.

Impact

The vulnerability causes a kernel panic, leading to a system crash.

Reproduction

The vulnerability can be reproduced by removing a network interface while the batman-adv module is still processing related work. This can be done by changing the metric work to delayed work, which allows the issue to occur more reliably.

Remediation

The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.