syzbot


WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata

Status: upstream: reported C repro on 2021/01/28 14:29
Reported-by: syzbot+e6d0c38bbcbe4d450b6c@syzkaller.appspotmail.com
First crash: 612d, last: 36d

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

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>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/08/23 11:46 upstream 072e51356cd5 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/07/13 17:39 upstream b047602d579b c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/06/13 17:12 upstream b13baccc3850 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/05/14 11:22 upstream ec7f49619d8e c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/04/14 10:52 upstream a19944809fe9 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/03/15 10:25 upstream 09688c0166e7 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/02/13 05:04 upstream b81b1829e7e3 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/01/13 20:42 upstream fb3b0673b7d5 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/12/14 16:41 upstream 5472f14a3742 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/11/14 15:18 upstream c8c109546a19 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/10/15 04:16 upstream ec681c53f8d2 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/09/15 03:49 upstream 3ca706c189db c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/08/16 03:21 upstream 7c60610d4767 c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/07/16 23:57 upstream 0d18c12b288a c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/06/16 18:52 upstream 6b00bc639f1f c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/05/17 16:38 upstream d07f6ca923ea c59079a6 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/03/06 20:48 upstream a38fd8748464 42b90a7c .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/07/24 11:12 upstream 4a57a8400075 22343af4 .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
ci-upstream-kasan-gce-selinux-root 2021/04/16 04:45 upstream 7e25f40eab52 c59079a6 .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
ci-upstream-kasan-gce-root 2021/03/07 09:15 upstream a38fd8748464 e4b4d570 .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
ci-upstream-kasan-gce-selinux-root 2021/02/04 15:46 upstream 61556703b610 42b90a7c .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
ci-upstream-kasan-gce-root 2021/01/24 14:26 upstream e1ae4b0be158 52e37319 .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
ci-upstream-linux-next-kasan-gce-root 2021/04/17 15:55 linux-next 1216f02e46a4 7e2b734b .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
ci-upstream-linux-next-kasan-gce-root 2021/03/24 00:05 linux-next d949689e7383 e613994b .config log report syz C WARNING: ODEBUG bug in ieee80211_ibss_setup_sdata
* Struck through repros no longer work on HEAD.