mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+2d770620059281e225a4@syzkaller.appspotmail.com>
To: edumazet@google.com, hdanton@sina.com,
	linux-kernel@vger.kernel.org,  syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [net?] WARNING: locking bug in tcp_tsq_handler
Date: Wed, 26 Aug 2026 20:01:02 -0700	[thread overview]
Message-ID: <6a8fa86e.27659fcc.2ceef7.000c.GAE@google.com> (raw)
In-Reply-To: <20260826224944.1592-1-hdanton@sina.com>

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in tcp_tsq_handler

------------[ cut here ]------------
!lockdep_sock_is_held(sk) && debug_locks
WARNING: ./include/net/sock.h:1799 at sock_owned_by_me include/net/sock.h:1799 [inline], CPU#0: kworker/0:0/9
WARNING: ./include/net/sock.h:1799 at sock_owned_by_user include/net/sock.h:1812 [inline], CPU#0: kworker/0:0/9
WARNING: ./include/net/sock.h:1799 at tcp_tsq_handler+0x1a6/0x200 net/ipv4/tcp_output.c:1292, CPU#0: kworker/0:0/9
Modules linked in:
CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
RIP: 0010:sock_owned_by_me include/net/sock.h:1799 [inline]
RIP: 0010:sock_owned_by_user include/net/sock.h:1812 [inline]
RIP: 0010:tcp_tsq_handler+0x1a6/0x200 net/ipv4/tcp_output.c:1292
Code: 00 97 96 01 e8 fb 15 79 f7 be 02 00 00 00 eb 0a e8 ef 15 79 f7 be 01 00 00 00 4c 89 ff e8 a2 7f 8e fa eb d0 e8 db 15 79 f7 90 <0f> 0b 90 e9 fd fe ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 07
RSP: 0018:ffffc90000007bb0 EFLAGS: 00010246
RAX: ffffffff8a4e9ad5 RBX: ffff88805ab935d0 RCX: ffff88801defddc0
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000100 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000f64 R12: dffffc0000000000
R13: ffffc90000007c20 R14: ffff88805ab93400 R15: ffff88805ab93400
FS:  0000000000000000(0000) GS:ffff888124ce0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe3b037048 CR3: 000000000eb48000 CR4: 00000000003526f0
Call Trace:
 <IRQ>
 tcp_tsq_workfn+0x384/0x410 net/ipv4/tcp_output.c:1325
 process_one_work kernel/workqueue.c:3387 [inline]
 process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470
 bh_worker+0x451/0x870 kernel/workqueue.c:3773
 tasklet_action+0xc/0x70 kernel/softirq.c:997
 handle_softirqs+0x226/0x860 kernel/softirq.c:645
 do_softirq+0x77/0xd0 kernel/softirq.c:546
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473
 wg_socket_send_skb_to_peer+0x16b/0x1d0 drivers/net/wireguard/socket.c:183
 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline]
 wg_packet_tx_worker+0x1c8/0x7e0 drivers/net/wireguard/send.c:276
 process_one_work kernel/workqueue.c:3387 [inline]
 process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3551
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>


Tested on:

commit:         73e3f071 Merge tag 'nfs-for-7.3-1' of git://git.linux-..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15425625580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=22381429a4c2735a
dashboard link: https://syzkaller.appspot.com/bug?extid=2d770620059281e225a4
compiler:       Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
patch:          https://syzkaller.appspot.com/x/patch.diff?x=10bb399e580000


  reply	other threads:[~2026-08-27  3:01 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-17 17:33 [syzbot] [kernfs?] possible deadlock in kernfs_link_sibling (2) syzbot
2026-08-26 19:33 ` syzbot
2026-08-26 22:49   ` Hillf Danton
2026-08-27  3:01     ` syzbot [this message]
2026-08-27  6:03   ` Hillf Danton
2026-08-27  6:21     ` syzbot
2026-08-27  8:15   ` Hillf Danton
2026-08-27 10:33     ` syzbot
2026-08-24 15:44 [syzbot] [net?] WARNING: locking bug in tcp_tsq_handler syzbot
2026-08-25  0:29 [PATCH] locking/lockdep: Invalidate stale class_cache entries for zapped classes Hillf Danton
2026-08-25  0:59 ` [syzbot] [net?] WARNING: locking bug in tcp_tsq_handler syzbot
2026-08-25  1:25   ` Hillf Danton
2026-08-25  1:27   ` Eric Dumazet
2026-08-25  1:50     ` Eric Dumazet
2026-08-25  5:44       ` Shin'ichiro Kawasaki
2026-08-25  6:25         ` Hillf Danton
2026-08-25  6:45         ` Hillf Danton
2026-08-25 13:26           ` Shin'ichiro Kawasaki
2026-08-25 13:53             ` Eric Dumazet
2026-08-25 14:27               ` Eric Dumazet
2026-08-26  2:23                 ` Shin'ichiro Kawasaki
2026-08-27 12:31                   ` Hillf Danton
2026-08-26  3:06             ` Hillf Danton
2026-08-26  4:05               ` Eric Dumazet
2026-08-26 10:27                 ` Hillf Danton
2026-08-26 10:49                   ` Eric Dumazet
2026-08-26 11:49                     ` Hillf Danton
2026-08-28  9:00                 ` Hillf Danton
2026-08-25 13:08         ` Shin'ichiro Kawasaki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a8fa86e.27659fcc.2ceef7.000c.GAE@google.com \
    --to=syzbot+2d770620059281e225a4@syzkaller.appspotmail.com \
    --cc=edumazet@google.com \
    --cc=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®