syzbot


WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata

Status: upstream: reported C repro on 2021/01/28 14:29
Labels: wireless (incorrect?)
Reported-by: syzbot+e6d0c38bbcbe4d450b6c@syzkaller.appspotmail.com
First crash: 864d, last: 4d16h

Cause bisection: introduced by (bisect log) :
commit 7dfd8ac327301f302b03072066c66eb32578e940
Author: Ramon Fontes <ramonreisfontes@gmail.com>
Date: Thu Oct 10 18:13:07 2019 +0000

  mac80211_hwsim: add support for OCB

Crash: WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata (log)
Repro: C syz .config
Discussions (1)
Title Replies (including bot) Last reply
WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata 0 (1) 2021/01/28 14:29
Last patch testing requests (3)
Created Duration User Patch Repo Result
2022/12/01 12:30 15m retest repro upstream report log
2022/12/01 12:30 21m retest repro upstream OK log
2022/12/01 12:30 32m retest repro upstream report log
Fix bisection attempts (23)
Created Duration User Patch Repo Result
2023/06/03 01:07 42m bisect fix upstream job log (0) log
2023/05/04 00:24 30m bisect fix upstream job log (0) log
2023/04/03 05:08 30m bisect fix upstream job log (0) log
2023/03/04 04:40 27m bisect fix upstream job log (0) log
2023/02/01 17:36 31m bisect fix upstream job log (0) log
2022/10/12 17:52 31m (2) bisect fix upstream job log (0) log
2022/08/23 11:17 28m bisect fix upstream job log (0) log
2022/07/13 17:12 27m bisect fix upstream job log (0) log
2022/06/13 16:46 25m bisect fix upstream job log (0) log
2022/05/14 10:59 23m bisect fix upstream job log (0) log
2022/04/14 10:29 22m bisect fix upstream job log (0) log
2022/03/15 10:01 24m bisect fix upstream job log (0) log
2022/02/13 04:43 20m bisect fix upstream job log (0) log
2022/01/13 20:21 21m bisect fix upstream job log (0) log
2021/12/14 16:15 26m bisect fix upstream job log (0) log
2021/11/14 14:50 28m bisect fix upstream job log (0) log
2021/10/15 03:55 20m bisect fix upstream job log (0) log
2021/09/15 03:27 21m bisect fix upstream job log (0) log
2021/08/16 02:54 26m bisect fix upstream job log (0) log
2021/07/16 23:33 24m bisect fix upstream job log (0) log
2021/06/16 18:28 24m bisect fix upstream job log (0) log
2021/05/17 16:16 21m bisect fix upstream job log (0) log
2021/03/06 20:24 23m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
ODEBUG: init active (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 0 PID: 3769 at lib/debugobjects.c:502 debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Modules linked in:
CPU: 0 PID: 3769 Comm: syz-executor247 Not tainted 5.19.0-rc6-syzkaller-00115-g4a57a8400075 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 80 50 28 8a 4c 89 ee 48 c7 c7 60 44 28 8a e8 6e 18 32 05 <0f> 0b 83 05 15 49 bb 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc900031df450 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff88801bf9c0c0 RSI: ffffffff815ffb88 RDI: fffff5200063be7c
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: ffffffff89cebe60
R13: ffffffff8a2849e0 R14: ffffffff8168d840 R15: ffffffff9114f6a0
FS:  0000555555a27300(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdbe00d3d70 CR3: 000000001ac99000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __debug_object_init+0x524/0xd10 lib/debugobjects.c:590
 debug_timer_init kernel/time/timer.c:777 [inline]
 debug_init kernel/time/timer.c:825 [inline]
 init_timer_key+0x2d/0x340 kernel/time/timer.c:869
 ieee80211_ibss_setup_sdata+0x34/0x1c0 net/mac80211/ibss.c:1732
 ieee80211_setup_sdata+0xcd6/0x1090 net/mac80211/iface.c:1694
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1803 [inline]
 ieee80211_if_change_type+0x67d/0x840 net/mac80211/iface.c:1825
 ieee80211_change_iface+0x57/0x3f0 net/mac80211/cfg.c:190
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x5e1/0xf10 net/wireless/util.c:1078
 nl80211_set_interface+0x64f/0x8c0 net/wireless/nl80211.c:4041
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:731
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 __sys_sendto+0x21a/0x320 net/socket.c:2119
 __do_sys_sendto net/socket.c:2131 [inline]
 __se_sys_sendto net/socket.c:2127 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2127
 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+0x63/0xcd
RIP: 0033:0x7fdbe001ae86
Code: 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 72 c3 90 55 48 83 ec 30 44 89 4c 24 2c 4c 89
RSP: 002b:00007fffb8d9a0f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fffb8d9a1d0 RCX: 00007fdbe001ae86
RDX: 0000000000000024 RSI: 00007fffb8d9a220 RDI: 0000000000000005
RBP: 0000000000000001 R08: 00007fffb8d9a114 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffb8d9a220 R14: 0000000000000005 R15: 0000000000000000
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2022/07/24 11:12 upstream 4a57a8400075 22343af4 .config console log report syz C ci-qemu-upstream WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
2021/04/16 04:45 upstream 7e25f40eab52 c59079a6 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
2021/03/07 09:15 upstream a38fd8748464 e4b4d570 .config console log report syz C ci-upstream-kasan-gce-root WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
2021/01/24 14:26 upstream e1ae4b0be158 52e37319 .config console log report syz C ci-upstream-kasan-gce-root WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
2021/04/17 15:55 linux-next 1216f02e46a4 7e2b734b .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
2021/03/24 00:05 linux-next d949689e7383 e613994b .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
2021/02/04 15:46 upstream 61556703b610 42b90a7c .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
* Struck through repros no longer work on HEAD.