lkml.org 
[lkml]   [2023]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net] batman-adv: Do not get eth header before batadv_check_management_packet
Date
On Fri, 28 Jul 2023 15:38:50 +0200, Remi Pommarel wrote:
> If received skb in batadv_v_elp_packet_recv or batadv_v_ogm_packet_recv
> is either cloned or non linearized then its data buffer will be
> reallocated by batadv_check_management_packet when skb_cow or
> skb_linearize get called. Thus geting ethernet header address inside
> skb data buffer before batadv_check_management_packet had any chance to
> reallocate it could lead to the following kernel panic:
>
> [...]

Applied, thanks!

[1/1] batman-adv: Do not get eth header before batadv_check_management_packet
commit: eac27a41ab641de074655d2932fc7f8cdb446881

Kind regards,
Sven
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-07-28 15:55    [W:0.038 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site