syzbot


WARNING: refcount bug in br_del_bridge

Status: closed as invalid on 2021/12/14 20:02
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 371d, last: 371d

Sample crash report:
------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 0 PID: 5677 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Modules linked in:
CPU: 0 PID: 5677 Comm: syz-executor.3 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Code: 1d d4 60 a2 09 31 ff 89 de e8 ed ec 9c fd 84 db 75 e0 e8 04 e9 9c fd 48 c7 c7 20 de 04 8a c6 05 b4 60 a2 09 01 e8 7b c1 33 05 <0f> 0b eb c4 e8 e8 e8 9c fd 0f b6 1d a3 60 a2 09 31 ff 89 de e8 b8
RSP: 0018:ffffc90002b1faf0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff815f0ad8 RDI: fffff52000563f50
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ea87e R11: 0000000000000000 R12: 0000000000000001
R13: ffffc90002b1fc38 R14: ffff8880257245b0 R15: dffffc0000000000
FS:  00007f93bd05b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd4aa86d018 CR3: 000000009a8ae000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __refcount_dec include/linux/refcount.h:344 [inline]
 refcount_dec include/linux/refcount.h:359 [inline]
 dev_put include/linux/netdevice.h:3815 [inline]
 unregister_netdevice_many+0x131c/0x1850 net/core/dev.c:10433
 unregister_netdevice_queue+0x2dd/0x3c0 net/core/dev.c:10330
 br_del_bridge+0xb7/0xf0 net/bridge/br_if.c:485
 br_ioctl_stub+0x2f5/0x7d0 net/bridge/br_ioctl.c:402
 br_ioctl_call+0x5e/0xa0 net/socket.c:1092
 sock_ioctl+0x30c/0x640 net/socket.c:1189
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f93bfae5ae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f93bd05b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f93bfbf8f60 RCX: 00007f93bfae5ae9
RDX: 0000000020000080 RSI: 00000000000089a1 RDI: 0000000000000007
RBP: 00007f93bfb3ff6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdc1a29fff R14: 00007f93bd05b300 R15: 0000000000022000
 </TASK>

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2021/11/26 08:29 net-next a0341b73d843 63eeac02 .config log report info WARNING: refcount bug in br_del_bridge
* Struck through repros no longer work on HEAD.