syzbot


WARNING: ODEBUG bug in __init_work

Status: auto-closed as invalid on 2021/03/27 20:06
Reported-by: syzbot+d242986ca1b1f12543f1@syzkaller.appspotmail.com
First crash: 605d, last: 578d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in __init_work syz done 1 828d 827d 17/22 fixed on 2020/05/10 10:41
upstream WARNING: ODEBUG bug in __init_work (2) 1 432d 424d 0/22 auto-closed as invalid on 2021/07/22 04:03
upstream WARNING: ODEBUG bug in __init_work (3) 1 151d 147d 0/22 auto-closed as invalid on 2022/05/29 09:19
linux-4.19 WARNING: ODEBUG bug in __init_work C error 20 1d09h 554d 0/1 upstream: reported C repro on 2020/12/22 12:22

Sample crash report:
ODEBUG: init active (active state 0) object type: work_struct hint: ieee80211_iface_work+0x0/0x770 include/linux/compiler.h:183
------------[ cut here ]------------
WARNING: CPU: 1 PID: 22646 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 22646 Comm: syz-executor.0 Not tainted 4.14.209-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff88809532f4b8 EFLAGS: 00010082
RAX: 0000000000000062 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff8145db00 RDI: ffffed1012a65e8d
RBP: ffffffff878938e0 R08: 0000000000000062 R09: 0000000000000000
R10: 0000000000000000 R11: ffff8880573c6400 R12: ffffffff86d23860
R13: 0000000000000000 R14: ffffffff8bff84c8 R15: 000000000005e700
 __debug_object_init+0x447/0x7a0 lib/debugobjects.c:367
 __init_work+0x3f/0x50 kernel/workqueue.c:506
 ieee80211_setup_sdata+0x329/0xf40 net/mac80211/iface.c:1437
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1577 [inline]
 ieee80211_if_change_type+0x3e8/0x470 net/mac80211/iface.c:1596
 ieee80211_change_iface+0x26/0x1e0 net/mac80211/cfg.c:156
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x246/0x13d0 net/wireless/util.c:1048
 nl80211_set_interface+0x588/0x760 net/wireless/nl80211.c:2929
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f50f764fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002bf00 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffdd831b4bf R14: 00007f50f76509c0 R15: 000000000118bf2c

======================================================

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/11/27 20:06 linux-4.14.y 87335852c5d9 486f93ef .config log report info
ci2-linux-4-14 2020/11/01 02:40 linux-4.14.y 2b7915014161 8bc4594f .config log report info