Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0da0035942d47766c32843143fb5dba7a29cb48c, < d7391a2b854a62235539c68e9cbf6fc7910a8e9a; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < 70c9f6ab0d8f785087fb74fb85464a9a5288bfdb; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < 040fe8eb34624002071dd21de9824dfe668ce65d; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < 31dcb9711abd1dcd2080d9fac05c79dd9997d6bf; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < aad70db50ea3d7dfe30e402b889ff075a293b287; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < 1be1e99cbd5b74a69d3f92200ca87cf1bce852db; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < 4ff461af943efb5e74d09942d5ffee7644d1e1fe; >= 0da0035942d47766c32843143fb5dba7a29cb48c, < f8ce8b8331a1bc44ad4905886a482214d428b253 |
| Linux | Linux | 4.6 |
References
- https://git.kernel.org/stable/c/040fe8eb34624002071dd21de9824dfe668ce65dPatch
- https://git.kernel.org/stable/c/1be1e99cbd5b74a69d3f92200ca87cf1bce852dbPatch
- https://git.kernel.org/stable/c/31dcb9711abd1dcd2080d9fac05c79dd9997d6bfPatch
- https://git.kernel.org/stable/c/4ff461af943efb5e74d09942d5ffee7644d1e1fePatch
- https://git.kernel.org/stable/c/70c9f6ab0d8f785087fb74fb85464a9a5288bfdbPatch
- https://git.kernel.org/stable/c/aad70db50ea3d7dfe30e402b889ff075a293b287Patch
- https://git.kernel.org/stable/c/d7391a2b854a62235539c68e9cbf6fc7910a8e9aPatch
- https://git.kernel.org/stable/c/f8ce8b8331a1bc44ad4905886a482214d428b253Patch
Timeline
- Published
- Jun 24, 2026
- Last modified
- Jul 8, 2026
- NVD status
- Analyzed