batman-adv: access unicast_ttvn skb->data only after skb realloc
- 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: access unicast_ttvn skb->data only after skb realloc The pskb_may_pull() called by batadv_get_vid() could reallocate the buffer behind the skb. Variables which were pointing to the old buffer need to be reassigned to avoid an use-after-free. This was done correctly for the ethernet header but missed for the unicast_packet pointer.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in aa9558af859934f24717d4bab97d61004f91a736; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in 9c2c05629e46c1fd43931506d41c56a885a98eb4; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in 7b162b36de750565404cd3b98315706622c6974f; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in ed90eb5c68420cdfe67ec1f773324198d2ef6f50; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in 979175834a699ccc3c4c0b0ba60ecae0f135a587; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in b8afcf799b2cc92c41beebd029e53ed18960184a; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in 9a7b7248798123efbd5fafe58461d57c7cc718af; From c018ad3de61a1dc4194879a53e5559e094aa7b1a · fixed in 7141990add3f75436f2933cb310654cad3b1e3e9
- 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/aa9558af859934f24717d4bab97d61004f91a736
- stable/c/9c2c05629e46c1fd43931506d41c56a885a98eb4
- stable/c/7b162b36de750565404cd3b98315706622c6974f
- stable/c/ed90eb5c68420cdfe67ec1f773324198d2ef6f50
- stable/c/979175834a699ccc3c4c0b0ba60ecae0f135a587
- stable/c/b8afcf799b2cc92c41beebd029e53ed18960184a
- stable/c/9a7b7248798123efbd5fafe58461d57c7cc718af
- stable/c/7141990add3f75436f2933cb310654cad3b1e3e9