[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <10396914.nUPlyArG6x@sven-l14>
Date: Fri, 28 Jul 2023 15:49:46 +0200
From: Sven Eckelmann <sven@...fation.org>
To: Marek Lindner <mareklindner@...mailbox.ch>,
Simon Wunderlich <sw@...onwunderlich.de>,
Antonio Quartulli <a@...table.cc>,
Remi Pommarel <repk@...plefau.lt>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
b.a.t.m.a.n@...ts.open-mesh.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Remi Pommarel <repk@...plefau.lt>
Subject: Re: [PATCH net] batman-adv: Do not get eth header before
batadv_check_management_packet
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
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists