syzbot


WARNING: ODEBUG bug in __init_work

Status: upstream: reported C repro on 2020/12/22 12:22
Reported-by: syzbot+ed76a01d848d958557c1@syzkaller.appspotmail.com
First crash: 1250d, last: 618d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in __init_work net syz done 1 1525d 1524d 15/26 fixed on 2020/05/10 10:41
upstream WARNING: ODEBUG bug in __init_work (2) cgroups 1 1129d 1121d 0/26 auto-closed as invalid on 2021/07/22 04:03
linux-4.14 WARNING: ODEBUG bug in __init_work 2 1275d 1302d 0/1 auto-closed as invalid on 2021/03/27 20:06
upstream WARNING: ODEBUG bug in __init_work (3) cgroups 1 848d 844d 0/26 auto-closed as invalid on 2022/05/29 09:19
upstream WARNING: ODEBUG bug in __init_work (4) rdma 1 121d 116d 0/26 auto-obsoleted due to no activity on 2024/03/25 20:45

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
------------[ cut here ]------------
ODEBUG: init active (active state 0) object type: work_struct hint: constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
ODEBUG: init active (active state 0) object type: work_struct hint: ieee80211_iface_work+0x0/0x8a0 net/mac80211/iface.c:123
WARNING: CPU: 0 PID: 22408 at lib/debugobjects.c:325 debug_print_object+0x160/0x250 lib/debugobjects.c:325
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 22408 Comm: syz-executor912 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __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
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:debug_print_object+0x160/0x250 lib/debugobjects.c:325
Code: dd 20 f1 b3 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd 20 f1 b3 88 48 c7 c7 40 e5 b3 88 e8 65 92 7b 04 <0f> 0b 83 05 73 e6 af 07 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89
RSP: 0018:ffff8880a35ef3d8 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10146bde6d
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: ffffffff8c66501b R12: ffffffff89f532e0
R13: ffffffff813d5200 R14: ffffffff8d3c3708 R15: 0000000000053b40
 __debug_object_init+0x475/0x9b0 lib/debugobjects.c:405
 __init_work+0x48/0x50 kernel/workqueue.c:505
 ieee80211_setup_sdata+0x320/0xf70 net/mac80211/iface.c:1416
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1560 [inline]
 ieee80211_if_change_type+0x609/0x7a0 net/mac80211/iface.c:1581
 ieee80211_change_iface+0x26/0x220 net/mac80211/cfg.c:157
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x2e1/0x1520 net/wireless/util.c:979
 nl80211_set_interface+0x661/0x830 net/wireless/nl80211.c:3205
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fd7f93a4e39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 19 00 00 90 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:00007fd7f92e51f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fd7f942d2b8 RCX: 00007fd7f93a4e39
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004
RBP: 00007fd7f942d2b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: 00007fd7f942d2bc
R13: 00007fff25b6674f R14: 00007fd7f92e5300 R15: 0000000000022000

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

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/31 02:02 linux-4.19.y 3f8a27f9e27b 098b5d53 .config console log report syz C ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/05/25 22:32 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report syz ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/02/16 01:00 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report syz ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/09/16 00:31 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/09/06 20:46 linux-4.19.y 3f8a27f9e27b 65aea2b9 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/08/23 16:28 linux-4.19.y 3f8a27f9e27b cea8b0f7 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/07/24 10:18 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/06/28 05:55 linux-4.19.y 3f8a27f9e27b ef82eb2c .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/05/11 12:53 linux-4.19.y 3f8a27f9e27b 8d7b3b67 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/05/06 07:22 linux-4.19.y 3f8a27f9e27b efeff0a5 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/04/06 08:28 linux-4.19.y 3f8a27f9e27b 0127c10f .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/04/05 03:28 linux-4.19.y 3f8a27f9e27b 5915c2cb .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2022/01/09 02:40 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/11/20 17:02 linux-4.19.y 3f8a27f9e27b 4eb20a4e .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/10/30 19:03 linux-4.19.y 3f8a27f9e27b 098b5d53 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/10/14 15:43 linux-4.19.y 3f8a27f9e27b 5462d470 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/10/08 12:47 linux-4.19.y 6db10b4d5efd efe0f24d .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/09/07 10:04 linux-4.19.y b172b44fcb17 6ca60148 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/05/14 02:54 linux-4.19.y 3c8c23092588 8bdd5343 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/03/17 12:40 linux-4.19.y 030194a5b292 fdb2bb2c .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/03/12 16:40 linux-4.19.y 030194a5b292 429d8a6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/03/11 17:57 linux-4.19.y 030194a5b292 c2ca1f2a .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2021/02/05 03:31 linux-4.19.y 811218eceeaa 23a562df .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in __init_work
2020/12/22 12:22 linux-4.19.y 13d2ce42de8c 04201c06 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.