Re: [syzbot] [net?] WARNING: ODEBUG bug in __sk_destruct (3)

From: Hillf Danton
Date: Fri Aug 08 2025 - 22:53:51 EST


> Date: Fri, 08 Aug 2025 04:24:30 -0700 [thread overview]
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 7abc678e3084 Merge tag 'pmdomain-v6.16-rc2' of git://git.k..
> git tree: bpf
> console output: https://syzkaller.appspot.com/x/log.txt?x=11b0a4f0580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=12b5044868deb866
> dashboard link: https://syzkaller.appspot.com/bug?extid=d199b52665b6c3069b94
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14a20f22580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12af2f22580000

#syz test upstream master

--- x/net/kcm/kcmsock.c
+++ y/net/kcm/kcmsock.c
@@ -717,6 +717,8 @@ static void kcm_tx_work(struct work_stru

lock_sock(sk);

+ if (kcm->tx_stopped)
+ goto out;
/* Primarily for SOCK_DGRAM sockets, also handle asynchronous tx
* aborts
*/
--