Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before d462ced79dd430200cf888984e8005da77fc810b; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before f79deaaf822ab0ee2424cf28781f9ab91576bea3; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before d3569327fc7395b2b0461a0a0cb77a0bb74786c0; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before 97644fdaaf6446ffbe182c5eb804fceb5b1a51b7; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before f04dde74399431fb07abbdd9cd5d0ed624771d04; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before 3d4548c96d6f21ac1a9b06c5f82f3ef439c87023; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before 86ab6b6fb5b82163bf6c45780bb72150021d7349; affected f89255a02f1d75d8e1b9d1c31435fcb64840cb2a before d11c00b95b2a3b3934007fc003dccc6fdcc061ad |
| Linux / Linux | affected 5.4; unaffected 0 before 5.4; unaffected 5.10.260 through 5.10.*; unaffected 5.15.211 through 5.15.*; unaffected 6.1.177 through 6.1.*; unaffected 6.6.144 through 6.6.*; unaffected 6.12.95 through 6.12.*; unaffected 6.18.38 through 6.18.*; unaffected 7.1.3 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d462ced79dd430200cf888984e8005da77fc810b
- https://git.kernel.org/stable/c/f79deaaf822ab0ee2424cf28781f9ab91576bea3
- https://git.kernel.org/stable/c/d3569327fc7395b2b0461a0a0cb77a0bb74786c0
- https://git.kernel.org/stable/c/97644fdaaf6446ffbe182c5eb804fceb5b1a51b7
- https://git.kernel.org/stable/c/f04dde74399431fb07abbdd9cd5d0ed624771d04
- https://git.kernel.org/stable/c/3d4548c96d6f21ac1a9b06c5f82f3ef439c87023
- https://git.kernel.org/stable/c/86ab6b6fb5b82163bf6c45780bb72150021d7349
- https://git.kernel.org/stable/c/d11c00b95b2a3b3934007fc003dccc6fdcc061ad