[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1639fcba-e543-e071-f17c-941b8c7a948f@gmail.com>
Date: Fri, 22 Oct 2021 23:57:14 +0300
From: Pavel Skripkin <paskripkin@...il.com>
To: syzbot <syzbot+28b0702ada0bf7381f58@...kaller.appspotmail.com>,
a@...table.cc, b.a.t.m.a.n@...ts.open-mesh.org,
davem@...emloft.net, kuba@...nel.org, linux-kernel@...r.kernel.org,
mareklindner@...mailbox.ch, netdev@...r.kernel.org,
sven@...fation.org, sw@...onwunderlich.de,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] WARNING in batadv_nc_mesh_free
On 10/22/21 23:20, syzbot wrote:
> Hello,
>
> syzbot has tested the proposed patch but the reproducer is still triggering an issue:
> general protection fault in batadv_nc_purge_paths
Oh, ok. Next clean up call in batadv_nc_mesh_free() caused GPF, since
fields are not initialized. Let's try to clean up one by one and do not
break dependencies.
Quite ugly one, but idea is correct, I guess
Also, make each *_init() call clean up all allocated stuff to not call
corresponding *_free() on error handling path, since it introduces
problems, as syzbot reported
With regards,
Pavel Skripkin
View attachment "ph" of type "text/plain" (3814 bytes)
Powered by blists - more mailing lists