Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c018ad3de61a1dc4194879a53e5559e094aa7b1a to < aa9558af859934f24717d4bab97d61004f91a736affectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < 9c2c05629e46c1fd43931506d41c56a885a98eb4affectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < 7b162b36de750565404cd3b98315706622c6974faffectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < ed90eb5c68420cdfe67ec1f773324198d2ef6f50affectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < 979175834a699ccc3c4c0b0ba60ecae0f135a587affectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < b8afcf799b2cc92c41beebd029e53ed18960184aaffectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < 9a7b7248798123efbd5fafe58461d57c7cc718afaffectedc018ad3de61a1dc4194879a53e5559e094aa7b1a to < 7141990add3f75436f2933cb310654cad3b1e3e9affected
Linux Linux
Default version status: affected
3.13affected0 to < 3.13unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/aa9558af859934f24717d4bab97d61004f91a736 ↗
- https://git.kernel.org/stable/c/9c2c05629e46c1fd43931506d41c56a885a98eb4 ↗
- https://git.kernel.org/stable/c/7b162b36de750565404cd3b98315706622c6974f ↗
- https://git.kernel.org/stable/c/ed90eb5c68420cdfe67ec1f773324198d2ef6f50 ↗
- https://git.kernel.org/stable/c/979175834a699ccc3c4c0b0ba60ecae0f135a587 ↗
- https://git.kernel.org/stable/c/b8afcf799b2cc92c41beebd029e53ed18960184a ↗
- https://git.kernel.org/stable/c/9a7b7248798123efbd5fafe58461d57c7cc718af ↗
- https://git.kernel.org/stable/c/7141990add3f75436f2933cb310654cad3b1e3e9 ↗