batman-adv: tt: prevent TVLV OOB check overflow
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 0de12a4c4847f571d82a9cd96bc633eded41d7c6; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in d6ff4764ff784ede25f5c83a6f5883a74c93a5ea; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 1898273c5dc8148267ef9f97cd2517a2822350e7; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 604bd5042fbcd1ab9f7cd98fd847ec017aeede8a; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 7319c0794f91be2734aac695794e7203606b49f8; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 3256c05d5a9db34346eaf20f52dddde984852d77; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 6222b443686525cb5a9b6a9cecf23b2e2ab23e2a; From 7ea7b4a142758deaf46c1af0ca9ceca6dd55138b · fixed in 7a581d9aaba8c82bd6177fa36b2588eea77f6e2b
- Linux Linux
3.13
- KernelLinux
From 3.13.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/0de12a4c4847f571d82a9cd96bc633eded41d7c6
- stable/c/d6ff4764ff784ede25f5c83a6f5883a74c93a5ea
- stable/c/1898273c5dc8148267ef9f97cd2517a2822350e7
- stable/c/604bd5042fbcd1ab9f7cd98fd847ec017aeede8a
- stable/c/7319c0794f91be2734aac695794e7203606b49f8
- stable/c/3256c05d5a9db34346eaf20f52dddde984852d77
- stable/c/6222b443686525cb5a9b6a9cecf23b2e2ab23e2a
- stable/c/7a581d9aaba8c82bd6177fa36b2588eea77f6e2b