[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<171465963399.28830.8599915114515835353.git-patchwork-notify@kernel.org>
Date: Thu, 02 May 2024 14:20:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Davide Caratti <dcaratti@...hat.com>
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
naresh.kamboju@...aro.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net/sched: unregister lockdep keys in
qdisc_create/qdisc_alloc error path
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 30 Apr 2024 19:11:13 +0200 you wrote:
> Naresh and Eric report several errors (corrupted elements in the dynamic
> key hash list), when running tdc.py or syzbot. The error path of
> qdisc_alloc() and qdisc_create() frees the qdisc memory, but it forgets
> to unregister the lockdep key, thus causing use-after-free like the
> following one:
>
> ==================================================================
> BUG: KASAN: slab-use-after-free in lockdep_register_key+0x5f2/0x700
> Read of size 8 at addr ffff88811236f2a8 by task ip/7925
>
> [...]
Here is the summary with links:
- [net-next] net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path
https://git.kernel.org/netdev/net-next/c/86735b57c905
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists