Shellfeed logo Shellfeed

CVE-2026-89950 · UNKNOWN

Summary: batman-adv: mcast: linearize skbuff for packet generation

Details

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

batman-adv: mcast: linearize skbuff for packet generation

batadv_mcast_forw_packet() and batadv_mcast_forw_scrape() is not only
called (indirectly) by the unsharing+linearizing batadv_recv_mcast_packet()
handler. When it is called (indirectly) by batadv_mcast_forw_mcsend() then
it will be unshared but not linearized. The SKB_LINEAR_ASSERT() can
therefore cause a fatal BUG().

The linearization should happen during the expansion of the head because
the scrape function can be hit already during the initial
batadv_mcast_forw_mode() selection code:

* batadv_interface_tx
* batadv_mcast_forw_mode
* batadv_mcast_forw_mode_by_count()
* batadv_mcast_forw_push()
-> calls batadv_mcast_forw_expand_head() before everything else
* batadv_mcast_forw_push_tvlvs()
* batadv_mcast_forw_push_dests()
* batadv_mcast_forw_push_adjust_padding()
* batadv_mcast_forw_scrape()

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [90039133221e33964ccb4a536dad7eb0a372fff7 – a9603e0a7cb5e0cddc6b23af153cf7daafc5c55e]
  • Linux Kernel [6.8.0 – 6.12.110] [6.13.0 – 6.18.51] [6.19.0 – 7.2.5]

References