CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's batman-adv module, specifically in the handling of disabled interfaces where new socket buffers (skbs) can still be queued to an aggregation list that has already been freed. This can lead to memory leaks, as the queued skbs are not processed or released, potentially impacting system performance and stability. Linux administrators and developers utilizing the batman-adv module should prioritize applying any available patches to mitigate this issue.
Original NVD Description
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.