batman-adv: tt: prevent TVLV OOB check overflow
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.8epss 0.7%
exploitation probability
0.7%top 48% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: tt: prevent TVLV OOB check overflow
A TT unicast TVLV contains the number of VLANs stored in it. This number is
an u16 and gets multiplied by the size of the struct
batadv_tvlv_tt_vlan_data (8 bytes). The size can therefore overflow the u16
used to store the tt_vlan_len. All additional safety checks to prevent
out-of-bounds access of the TVLV buffer are invalid due to this overflow.
Using size_t prevents this overflow and ensures that the safety checks
compare against the actual buffer requirements.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/0de12a4c4847f571d82a9cd96bc633eded41d7c6https://git.kernel.org/stable/c/1898273c5dc8148267ef9f97cd2517a2822350e7https://git.kernel.org/stable/c/3256c05d5a9db34346eaf20f52dddde984852d77https://git.kernel.org/stable/c/604bd5042fbcd1ab9f7cd98fd847ec017aeede8ahttps://git.kernel.org/stable/c/6222b443686525cb5a9b6a9cecf23b2e2ab23e2ahttps://git.kernel.org/stable/c/7319c0794f91be2734aac695794e7203606b49f8https://git.kernel.org/stable/c/7a581d9aaba8c82bd6177fa36b2588eea77f6e2bhttps://git.kernel.org/stable/c/d6ff4764ff784ede25f5c83a6f5883a74c93a5ea