syzbot


WARNING in init_timer_key

Status: fixed on 2021/11/10 00:50
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+105896fac213f26056f9@syzkaller.appspotmail.com
Fix commit: a64b6a25dd9f cfg80211: call cfg80211_leave_ocb when switching away from OCB
First crash: 1389d, last: 1278d
Cause bisection: introduced by (bisect log) :
commit b9df4fd7e99cb8bfd80c4143f3045d63b1754ad0
Author: Heiner Kallweit <hkallweit1@gmail.com>
Date: Sun Oct 6 16:19:54 2019 +0000

  net: core: change return type of pskb_may_pull to bool

Crash: general protection fault in batadv_iv_ogm_queue_add (log)
Repro: C syz .config
  
Discussions (17)
Title Replies (including bot) Last reply
[PATCH 4.4 00/57] 4.4.274-rc1 review 65 (65) 2021/07/10 14:59
Re: [PATCH] net:wireless: call cfg80211_leave_ocb when switching between ADHOC and OCB 1 (1) 2021/07/06 18:38
[PATCH 5.10 000/101] 5.10.47-rc1 review 116 (116) 2021/07/05 12:00
[PATCH 4.19 000/109] 4.19.196-rc1 review 115 (115) 2021/07/01 10:21
[PATCH 5.12 000/110] 5.12.14-rc1 review 123 (123) 2021/06/30 12:45
[PATCH 4.14 00/88] 4.14.238-rc1 review 92 (92) 2021/06/30 06:19
[PATCH 4.9 00/71] 4.9.274-rc1 review 77 (77) 2021/06/29 23:43
[PATCH 5.4 00/71] 5.4.129-rc1 review 81 (81) 2021/06/29 18:20
[PATCH AUTOSEL 4.4 1/9] cfg80211: call cfg80211_leave_ocb when switching away from OCB 9 (9) 2021/06/21 17:56
[PATCH AUTOSEL 4.9 01/13] mac80211: remove warning in ieee80211_get_sband() 13 (13) 2021/06/21 17:55
[PATCH AUTOSEL 4.14 01/13] mac80211: remove warning in ieee80211_get_sband() 13 (13) 2021/06/21 17:55
[PATCH AUTOSEL 4.19 01/16] mac80211: remove warning in ieee80211_get_sband() 16 (16) 2021/06/21 17:54
[PATCH AUTOSEL 5.4 01/26] dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 26 (26) 2021/06/21 17:53
[PATCH AUTOSEL 5.10 01/35] dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 35 (35) 2021/06/21 17:53
[PATCH AUTOSEL 5.12 01/39] dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 39 (39) 2021/06/21 17:51
[PATCH] net:wireless: call cfg80211_leave_ocb when switching between ADHOC and OCB 1 (1) 2021/04/28 06:39
WARNING in init_timer_key 0 (2) 2021/02/23 01:20
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in init_timer_key (2) batman 1 747d 747d 0/28 closed as invalid on 2023/02/17 17:35
linux-6.1 WARNING in init_timer_key 4 10d 26d 0/3 upstream: reported on 2024/10/26 17:15
Last patch testing requests (10)
Created Duration User Patch Repo Result
2021/05/09 15:23 12m ducheng2@gmail.com patch upstream error
2021/05/09 09:14 32m ducheng2@gmail.com patch upstream report log
2021/04/28 04:16 33m ducheng2@gmail.com patch upstream report log
2021/04/28 03:45 13m ducheng2@gmail.com patch upstream report log
2021/04/28 03:16 12m ducheng2@gmail.com patch upstream report log
2021/04/27 15:18 13m ducheng2@gmail.com patch upstream report log
2021/04/27 15:01 0m ducheng2@gmail.com patch upstream error
2021/04/27 10:14 13m ducheng2@gmail.com patch upstream report log
2021/04/27 09:27 12m ducheng2@gmail.com patch upstream report log
2021/04/20 03:11 26m ducheng2@gmail.com upstream report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2021/05/23 12:38 23m bisect fix upstream OK (0) job log log
2021/04/23 12:13 24m bisect fix upstream OK (0) job log log
2021/03/05 13:06 19m bisect fix upstream OK (0) job log log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2021/02/22 20:04 5h14m bisect upstream OK (1) job log log
2021/02/02 02:48 0m bisect upstream error job log

Sample crash report:
------------[ cut here ]------------
ODEBUG: init active (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 1 PID: 8384 at lib/debugobjects.c:508 debug_print_object lib/debugobjects.c:505 [inline]
WARNING: CPU: 1 PID: 8384 at lib/debugobjects.c:508 __debug_object_init+0x9b7/0x17a0 lib/debugobjects.c:588
Modules linked in:
CPU: 0 PID: 8384 Comm: syz-executor600 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object lib/debugobjects.c:505 [inline]
RIP: 0010:__debug_object_init+0x9b7/0x17a0 lib/debugobjects.c:588
Code: 4c 89 ff e8 ab 30 e4 fd 4d 8b 07 48 c7 c7 60 a5 11 8a 48 c7 c6 80 a3 11 8a 48 89 da 44 89 f1 4c 8b 0c 24 31 c0 e8 e9 3f 6f fd <0f> 0b 4c 8b 64 24 28 ff 05 08 10 dd 09 48 8b 5c 24 60 48 83 c3 18
RSP: 0018:ffffc900015cf6b0 EFLAGS: 00010246
RAX: a449f44c81be7000 RBX: ffffffff8a11a720 RCX: ffff88801cb48000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900015cf7f0 R08: ffffffff8160abb2 R09: ffffed10173a5fe8
R10: ffffed10173a5fe8 R11: 0000000000000000 R12: ffff888018425c54
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff89b0aa60
FS:  0000000000646300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd715b2ff8 CR3: 0000000018ba1000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 debug_timer_init kernel/time/timer.c:722 [inline]
 debug_init kernel/time/timer.c:770 [inline]
 init_timer_key+0x39/0x110 kernel/time/timer.c:814
 ieee80211_ibss_setup_sdata+0x3c/0x170 net/mac80211/ibss.c:1734
 ieee80211_setup_sdata+0x642/0xc40 net/mac80211/iface.c:1550
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1656 [inline]
 ieee80211_if_change_type+0x499/0x8c0 net/mac80211/iface.c:1678
 ieee80211_change_iface+0x29/0x200 net/mac80211/cfg.c:157
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x676/0xb40 net/wireless/util.c:1067
 nl80211_set_interface+0x497/0x7f0 net/wireless/nl80211.c:3912
 genl_family_rcv_msg_doit net/netlink/genetlink.c:739 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0xe4e/0x1280 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x190/0x3a0 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+0x786/0x940 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x9ae/0xd50 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg net/socket.c:674 [inline]
 __sys_sendto+0x438/0x5c0 net/socket.c:1977
 __do_sys_sendto net/socket.c:1989 [inline]
 __se_sys_sendto net/socket.c:1985 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:1985
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x402ce6
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:00007fffb037ece8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fffb037edc0 RCX: 0000000000402ce6
RDX: 0000000000000024 RSI: 00007fffb037ee10 RDI: 0000000000000005
RBP: 0000000000000001 R08: 00007fffb037ed04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffb037ee10 R14: 0000000000000005 R15: 0000000000000000

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/24 12:13 upstream 7acac4b3196c e613994b .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in init_timer_key
2021/02/02 02:46 upstream 1048ba83fb1c e6b95f32 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in init_timer_key
* Struck through repros no longer work on HEAD.