CVE-2026-52913 PUBLISHED

batman-adv: v: stop OGMv2 on disabled interface

Assigner: Linux
Reserved: 09.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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

batman-adv: v: stop OGMv2 on disabled interface

When a batadv_hard_iface is disabled, its mesh_iface pointer is set to NULL. However, batadv_v_ogm_send_meshif() may still dispatch OGMs via batadv_v_ogm_queue_on_if() for interfaces that have since lost their mesh_iface association. This results in a NULL pointer dereference when batadv_v_ogm_queue_on_if() unconditionally calls netdev_priv() on the now NULL hard_iface->mesh_iface to retrieve the batadv_priv.

It is necessary to ensure that the batadv_v_ogm_queue_on_if() checks that it is using the same mesh_iface for which batadv_v_ogm_send_meshif() was called.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to d7391a2b854a62235539c68e9cbf6fc7910a8e9a (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to 70c9f6ab0d8f785087fb74fb85464a9a5288bfdb (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to 040fe8eb34624002071dd21de9824dfe668ce65d (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to 31dcb9711abd1dcd2080d9fac05c79dd9997d6bf (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to aad70db50ea3d7dfe30e402b889ff075a293b287 (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to 1be1e99cbd5b74a69d3f92200ca87cf1bce852db (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to 4ff461af943efb5e74d09942d5ffee7644d1e1fe (excl.)
  • affected from 0da0035942d47766c32843143fb5dba7a29cb48c to f8ce8b8331a1bc44ad4905886a482214d428b253 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.6 is affected
  • unaffected from 0 to 4.6 (excl.)
  • unaffected from 5.10.259 to 5.10.* (incl.)
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.93 to 6.12.* (incl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References