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: 489d, last: 14d

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: 8397 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 8397 Comm: syz-executor822 Not tainted 5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd e0 98 c1 89 4c 89 ee 48 c7 c7 e0 8c c1 89 e8 64 d8 f5 04 <0f> 0b 83 05 b5 c9 f8 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc900013bf470 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888026dbc140 RSI: ffffffff815b8155 RDI: fffff52000277e80
R10: ffffffff815b0ebe R11: 0000000000000000 R12: ffffffff896d6980
R13: ffffffff89c191e0 R14: ffffffff816211c0 R15: ffffffff900dc3c0
FS:  00007fd8bf64c700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f53648f9000 CR3: 000000002e44f000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __debug_object_init+0x524/0xd10 lib/debugobjects.c:588
 debug_timer_init kernel/time/timer.c:722 [inline]
 debug_init kernel/time/timer.c:770 [inline]
 init_timer_key+0x2d/0x340 kernel/time/timer.c:814
 ieee80211_ibss_setup_sdata+0x34/0x1c0 net/mac80211/ibss.c:1734
 ieee80211_setup_sdata+0xc37/0xec0 net/mac80211/iface.c:1550
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1656 [inline]
 ieee80211_if_change_type+0x56c/0x6e0 net/mac80211/iface.c:1678
 ieee80211_change_iface+0x26/0x210 net/mac80211/cfg.c:157
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x335/0xf30 net/wireless/util.c:1067
 nl80211_set_interface+0x65c/0x8d0 net/wireless/nl80211.c:3916
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:674
 __sys_sendto+0x21c/0x320 net/socket.c:1977
 __do_sys_sendto net/socket.c:1989 [inline]
 __se_sys_sendto net/socket.c:1985 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1985
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x40728c
Code: 9a fb ff ff 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 c0 fb ff ff 48 8b
RSP: 002b:00007fd8bf64b190 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fd8bf64b280 RCX: 000000000040728c
RDX: 0000000000000024 RSI: 00007fd8bf64b2d0 RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007fd8bf64b1e4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007fd8bf64b2d0 R14: 0000000000000005 R15: 0000000000000000

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/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
Crashes (6):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
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