diff options
| author | Shivani Gupta <shivani07g@gmail.com> | 2026-01-05 00:59:05 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-06 17:27:18 -0800 |
| commit | adb25a46dc0a43173f5ea5f5f58fc8ba28970c7c (patch) | |
| tree | ebcc05cf7c57260047dc1bc8c02956b8ab2744f7 /tools/lib/python/kdoc/git@git.tavy.me:linux.git | |
| parent | 13ff3e724207f579d3c814ee05516fefcb4f32e8 (diff) | |
net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy
syzbot reported a crash in tc_act_in_hw() during netns teardown where
tcf_idrinfo_destroy() passed an ERR_PTR(-EBUSY) value as a tc_action
pointer, leading to an invalid dereference.
Guard against ERR_PTR entries when iterating the action IDR so teardown
does not call tc_act_in_hw() on an error pointer.
Fixes: 84a7d6797e6a ("net/sched: acp_api: no longer acquire RTNL in tc_action_net_exit()")
Link: https://syzkaller.appspot.com/bug?extid=8f1c492ffa4644ff3826
Reported-by: syzbot+8f1c492ffa4644ff3826@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=8f1c492ffa4644ff3826
Signed-off-by: Shivani Gupta <shivani07g@gmail.com>
Link: https://patch.msgid.link/20260105005905.243423-1-shivani07g@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
