Shellfeed logo Shellfeed

CVE-2026-63835 · MEDIUM (CVSS 5.5)

Summary: batman-adv: v: prevent OGM aggregation on disabled hardif

Details

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

batman-adv: v: prevent OGM aggregation on disabled hardif

When an interface gets disabled, the worker is correctly disabled by
batadv_hardif_disable_interface() -> ... -> batadv_v_ogm_iface_disable().
In this process, the skb aggr_list is also freed.

But batadv_v_ogm_send_meshif() can still queue new skbs (via
batadv_v_ogm_queue_on_if()) to the aggr_list. This will only stop after all
cores can no longer find the RCU protected list of hard interfaces. These
queued skbs will never be freed or consumed by batadv_v_ogm_aggr_work.

The batadv_v_ogm_iface_disable() function must block
batadv_v_ogm_queue_on_if() to avoid leak of skbs.

Severity

MEDIUM (CVSS 5.5) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [f89255a02f1d75d8e1b9d1c31435fcb64840cb2a – d462ced79dd430200cf888984e8005da77fc810b]
  • Linux Kernel [5.4.0 – 5.10.260] [5.11.0 – 5.15.211] [5.16.0 – 6.1.177] [6.2.0 – 6.6.144] [6.7.0 – 6.12.95] [6.13.0 – 6.18.38] [6.19.0 – 7.1.3]

References