batman-adv: access unicast_ttvn skb->data only after skb realloc
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 49% of all CVEs
observed exploitation
nono source reports it
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.
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/7141990add3f75436f2933cb310654cad3b1e3e9https://git.kernel.org/stable/c/7b162b36de750565404cd3b98315706622c6974fhttps://git.kernel.org/stable/c/979175834a699ccc3c4c0b0ba60ecae0f135a587https://git.kernel.org/stable/c/9a7b7248798123efbd5fafe58461d57c7cc718afhttps://git.kernel.org/stable/c/9c2c05629e46c1fd43931506d41c56a885a98eb4https://git.kernel.org/stable/c/aa9558af859934f24717d4bab97d61004f91a736https://git.kernel.org/stable/c/b8afcf799b2cc92c41beebd029e53ed18960184ahttps://git.kernel.org/stable/c/ed90eb5c68420cdfe67ec1f773324198d2ef6f50