CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's batman-adv module, specifically in how it handles multicast tracking, leading to an out-of-bounds read of the num_dests header. This flaw could potentially allow an attacker to exploit the incorrect size check, resulting in unauthorized memory access and data leakage. Organizations using the Linux kernel, particularly those relying on the batman-adv module for network management, should prioritize addressing this vulnerability to mitigate potential security risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: mcast: avoid OOB read of num_dests header Before the access to struct batadv_tvlv_mcast_tracker's num_dests, it is attempted to check whether enough space is actually in the network header. But instead of using offsetofend() to check for the whole size (2) which must be accessible, offsetof() of is called. The latter is always returning 0. The comparison with the network header length will always return that enough data is available - even when only 1 or 0 bytes are accessible. Instead of using offsetofend(), use the more common check for the whole header.