syzbot


WARNING in batadv_dat_free

Status: auto-obsoleted due to no activity on 2023/04/08 15:52
Reported-by: syzbot+95267d29d24bfbf70714@syzkaller.appspotmail.com
First crash: 502d, last: 502d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in batadv_dat_free batman 1 902d 902d 0/26 closed as invalid on 2022/01/11 13:33
upstream WARNING in batadv_dat_free (2) batman 1 308d 308d 0/26 auto-obsoleted due to no activity on 2023/09/29 17:47

Sample crash report:
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
chnl_net:caif_netlink_parms(): no params data found
WARNING: CPU: 1 PID: 10631 at kernel/workqueue.c:617 set_work_data kernel/workqueue.c:617 [inline]
WARNING: CPU: 1 PID: 10631 at kernel/workqueue.c:617 clear_work_data kernel/workqueue.c:680 [inline]
WARNING: CPU: 1 PID: 10631 at kernel/workqueue.c:617 __cancel_work_timer+0x4cc/0x590 kernel/workqueue.c:3015
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 10631 Comm: kworker/u4:12 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: netns cleanup_net
Call Trace:
bridge0: port 1(bridge_slave_0) entered blocking state
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
bridge0: port 1(bridge_slave_0) entered disabled state
 panic+0x26a/0x50e kernel/panic.c:186
device bridge_slave_0 entered promiscuous mode
bridge0: port 2(bridge_slave_1) entered blocking state
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_1 entered promiscuous mode
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
bond0: Enslaving bond_slave_0 as an active interface with an up link
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:set_work_data kernel/workqueue.c:617 [inline]
RIP: 0010:clear_work_data kernel/workqueue.c:680 [inline]
RIP: 0010:__cancel_work_timer+0x4cc/0x590 kernel/workqueue.c:3015
Code: e8 79 20 24 00 48 89 ee 48 c7 c7 40 2e f5 89 e8 8a 7f 0a 00 e9 d7 fb ff ff e8 60 20 24 00 0f 0b e9 83 fc ff ff e8 54 20 24 00 <0f> 0b e9 8e fd ff ff e8 48 20 24 00 0f 0b e8 a1 fc 59 00 e9 c4 fe
RSP: 0018:ffff8880515978d8 EFLAGS: 00010293
bond0: Enslaving bond_slave_1 as an active interface with an up link
RAX: ffff888052386540 RBX: 0000000000000000 RCX: ffffffff813e62a9
IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready
RDX: 0000000000000000 RSI: ffffffff813e651c RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888096c5f060
R13: 1ffff1100a2b2f1c R14: 0000000000000200 R15: ffff888052386540
team0: Port device team_slave_0 added
IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready
 batadv_dat_free+0x41/0xe0 net/batman-adv/distributed-arp-table.c:804
 batadv_mesh_free+0x85/0x170 net/batman-adv/main.c:243
 batadv_softif_free+0x11/0x20 net/batman-adv/soft-interface.c:1048
 netdev_run_todo+0x6d2/0xab0 net/core/dev.c:9000
 default_device_exit_batch+0x304/0x3c0 net/core/dev.c:9796
team0: Port device team_slave_1 added
batman_adv: batadv0: Adding interface: batadv_slave_0
batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:156
 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:554
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
batman_adv: batadv0: Adding interface: batadv_slave_1
 kthread+0x33f/0x460 kernel/kthread.c:259
batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/09 15:52 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in batadv_dat_free
* Struck through repros no longer work on HEAD.