syzbot


BUG: corrupted list in br_vlan_put_master

Status: auto-obsoleted due to no activity on 2023/06/06 00:15
Subsystems: bridge
[Documentation on labels]
First crash: 673d, last: 673d

Sample crash report:
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): Released all slaves
list_del corruption. next->prev should be ffff888026c8bb68, but was ffff888020032128. (next=ffffffff91676570)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:62!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 11937 Comm: kworker/u4:8 Not tainted 6.3.0-rc3-next-20230327-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: netns cleanup_net
RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62
Code: e8 a2 6b 51 fd 0f 0b 4c 89 c2 48 c7 c7 40 f4 a6 8a e8 91 6b 51 fd 0f 0b 48 89 d1 48 c7 c7 c0 f4 a6 8a 4c 89 c2 e8 7d 6b 51 fd <0f> 0b 48 89 34 24 e8 22 09 c0 fd 48 8b 34 24 e9 e3 fe ff ff 48 89
RSP: 0018:ffffc90014b977d0 EFLAGS: 00010282
RAX: 000000000000006d RBX: ffff888026c8b800 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81677eec RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 1ffff92002972efe
R13: ffff888026c8bb68 R14: ffff888078346800 R15: ffff888026c8b800
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0010e1000 CR3: 0000000027029000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:134 [inline]
 list_del_rcu include/linux/rculist.h:157 [inline]
 __vlan_del_list net/bridge/br_vlan.c:141 [inline]
 br_vlan_put_master.part.0+0x22f/0x3a0 net/bridge/br_vlan.c:209
 br_vlan_put_master net/bridge/br_vlan.c:202 [inline]
 __vlan_del+0x499/0xa90 net/bridge/br_vlan.c:426
 __vlan_flush+0x10d/0x3f0 net/bridge/br_vlan.c:459
 br_vlan_flush+0x80/0x200 net/bridge/br_vlan.c:842
 br_dev_uninit+0x2d/0x70 net/bridge/br_device.c:165
 unregister_netdevice_many_notify+0xb19/0x1910 net/core/dev.c:10863
 unregister_netdevice_many net/core/dev.c:10899 [inline]
 default_device_exit_batch+0x451/0x5b0 net/core/dev.c:11352
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 cleanup_net+0x4ee/0xb10 net/core/net_namespace.c:614
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
 kthread+0x33e/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62
Code: e8 a2 6b 51 fd 0f 0b 4c 89 c2 48 c7 c7 40 f4 a6 8a e8 91 6b 51 fd 0f 0b 48 89 d1 48 c7 c7 c0 f4 a6 8a 4c 89 c2 e8 7d 6b 51 fd <0f> 0b 48 89 34 24 e8 22 09 c0 fd 48 8b 34 24 e9 e3 fe ff ff 48 89
RSP: 0018:ffffc90014b977d0 EFLAGS: 00010282
RAX: 000000000000006d RBX: ffff888026c8b800 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81677eec RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 1ffff92002972efe
R13: ffff888026c8bb68 R14: ffff888078346800 R15: ffff888026c8b800
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f66badab9ee CR3: 000000000c571000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/27 23:02 linux-next 011eb7443621 47f3aaf1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: corrupted list in br_vlan_put_master
* Struck through repros no longer work on HEAD.