ci2 starts bisection 2024-06-01 14:59:13.132520161 +0000 UTC m=+61988.166880125 bisecting fixing commit since 1b639e97b8fc9a60089ded544e103753a0a542a2 building syzkaller on cb976f63e0177b96eb9ce1c631cc5e2c4b4b0759 ensuring issue is reproducible on original commit 1b639e97b8fc9a60089ded544e103753a0a542a2 testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9a344126ae617aeb4ac75da5dc269d5424d6e0de553a29a50cd6fb1fadb91159 run #0: crashed: general protection fault in hrtimer_try_to_cancel run #1: crashed: general protection fault in hrtimer_try_to_cancel run #2: crashed: general protection fault in hrtimer_try_to_cancel run #3: crashed: general protection fault in hrtimer_try_to_cancel run #4: crashed: general protection fault in hrtimer_try_to_cancel run #5: crashed: general protection fault in hrtimer_try_to_cancel run #6: crashed: general protection fault in hrtimer_try_to_cancel run #7: crashed: general protection fault in hrtimer_try_to_cancel run #8: crashed: general protection fault in hrtimer_try_to_cancel run #9: crashed: general protection fault in hrtimer_try_to_cancel run #10: crashed: general protection fault in hrtimer_try_to_cancel run #11: crashed: general protection fault in hrtimer_try_to_cancel run #12: crashed: general protection fault in hrtimer_try_to_cancel run #13: crashed: general protection fault in hrtimer_try_to_cancel run #14: crashed: general protection fault in hrtimer_try_to_cancel run #15: crashed: general protection fault in hrtimer_try_to_cancel run #16: crashed: no output from test machine run #17: crashed: no output from test machine run #18: crashed: no output from test machine run #19: crashed: no output from test machine representative crash: general protection fault in hrtimer_try_to_cancel, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 91122c020d4ea49976ca49502d79d30166d84dd9dd04dbd9410c3b5e60d039ac run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #9: crashed: no output from test machine representative crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed kconfig minimization: base=5179 full=6485 leaves diff=250 split chunks (needed=false): <250> split chunk #0 of len 250 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dab44cbb59092933be3de8dcca33866cc4bb25fb3316f52875a374a72a776ece run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN], they are not needed testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ea598ea53a6d61b845d233ea2717e16f7bedee4dd1e3ecc4991fc46f8a746718 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #9: crashed: no output from test machine representative crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6c25a9ecf71e96c1412b40bc714ea276f0ca0e7695e49d8a34f7b67e17205815 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #7: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #8: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #9: crashed: no output from test machine representative crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce41db620f08c80ada925c441d983875c497b2b5248af11b60d4ea64cd9a6e56 run #0: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #1: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #2: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #3: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #4: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #5: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #6: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel run #7: crashed: no output from test machine run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 1b639e97b8fc9a60089ded544e103753a0a542a2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 1b639e97b8fc9a60089ded544e103753a0a542a2: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 50 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_MBIM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_DM9601 USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing current HEAD 74c507aab139d670556720134268dc6cdff6daa7 testing commit 74c507aab139d670556720134268dc6cdff6daa7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7148da6db8cdcf5a0d8b0adf77578ab2896d91606cc2c5bfad4bcc07c9a4080a all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel representative crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel, types: [UNKNOWN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h25m15.602460009s (build: 17m1.482130492s, test: 1h5m51.472148721s) crash still not fixed or there were kernel test errors commit msg: UPSTREAM: USB: gadget: core: create sysfs link between udc and gadget crash: BUG: unable to handle kernel NULL pointer dereference in hrtimer_try_to_cancel netlink: 'syz-executor.0': attribute type 27 has an invalid length. bridge0: port 2(bridge_slave_1) entered disabled state bridge0: port 1(bridge_slave_0) entered disabled state BUG: kernel NULL pointer dereference, address: 0000000000000010 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 100143067 P4D 100143067 PUD 108aa8067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 360 Comm: syz-executor.0 Not tainted 6.1.78-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__seqprop_raw_spinlock_sequence include/linux/seqlock.h:274 [inline] RIP: 0010:hrtimer_active kernel/time/hrtimer.c:1611 [inline] RIP: 0010:hrtimer_try_to_cancel+0x12/0xb0 kernel/time/hrtimer.c:1328 Code: 00 e8 72 30 01 00 5b 41 5e 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41 56 41 54 53 48 89 fb 48 8b 43 30 <8b> 48 10 f6 c1 01 74 04 f3 90 eb f4 80 7b 38 00 75 25 48 39 58 18 RSP: 0018:ffffc900007b32f8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888111080918 RCX: 0000000000000004 RDX: 000000000000000d RSI: 000061100fc019e9 RDI: ffff888111080918 RBP: ffffc900007b3318 R08: 0000000000000000 R09: ffffc90000415000 R10: 0000000000000001 R11: ffffc900007b35c0 R12: ffff888111080800 R13: 000061100fc019e9 R14: ffff88810d992000 R15: 0000000000000340 FS: 00007fc01a84a6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 0000000100134000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_cancel+0xd/0x20 kernel/time/hrtimer.c:1443 napi_disable+0x54/0x60 net/core/dev.c:6469 veth_napi_del_range drivers/net/veth.c:1041 [inline] veth_napi_del drivers/net/veth.c:1056 [inline] veth_set_features+0x79/0xe0 drivers/net/veth.c:1484 __netdev_update_features+0x2a3/0x700 net/core/dev.c:9765 netdev_update_features+0x20/0x90 net/core/dev.c:9839 veth_xdp_set drivers/net/veth.c:1580 [inline] veth_xdp+0x1ab/0x1e0 drivers/net/veth.c:1593 dev_xdp_install+0x65/0xf0 net/core/dev.c:9159 dev_xdp_attach+0x3c6/0x500 net/core/dev.c:9307 dev_change_xdp_fd+0xd3/0x110 net/core/dev.c:9553 do_setlink+0x114e/0x11b0 net/core/rtnetlink.c:3022 rtnl_group_changelink net/core/rtnetlink.c:3329 [inline] __rtnl_newlink net/core/rtnetlink.c:3586 [inline] rtnl_newlink+0x8df/0xdd0 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x2a6/0x460 net/core/rtnetlink.c:6122 netlink_rcv_skb+0xf4/0x120 net/netlink/af_netlink.c:2518 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:6140 netlink_unicast_kernel net/netlink/af_netlink.c:1327 [inline] netlink_unicast+0x291/0x380 net/netlink/af_netlink.c:1353 netlink_sendmsg+0x38b/0x420 net/netlink/af_netlink.c:1875 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x188/0x230 net/socket.c:2504 ___sys_sendmsg+0x28f/0x2d0 net/socket.c:2558 __sys_sendmsg net/socket.c:2587 [inline] __do_sys_sendmsg net/socket.c:2596 [inline] __se_sys_sendmsg+0xf5/0x130 net/socket.c:2594 __x64_sys_sendmsg+0x18/0x20 net/socket.c:2594 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc019a7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc01a84a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc019b9c050 RCX: 00007fc019a7cae9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007fc019ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc019b9c050 R15: 00007ffd401e8fb8 Modules linked in: CR2: 0000000000000010 ---[ end trace 0000000000000000 ]--- RIP: 0010:__seqprop_raw_spinlock_sequence include/linux/seqlock.h:274 [inline] RIP: 0010:hrtimer_active kernel/time/hrtimer.c:1611 [inline] RIP: 0010:hrtimer_try_to_cancel+0x12/0xb0 kernel/time/hrtimer.c:1328 Code: 00 e8 72 30 01 00 5b 41 5e 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41 56 41 54 53 48 89 fb 48 8b 43 30 <8b> 48 10 f6 c1 01 74 04 f3 90 eb f4 80 7b 38 00 75 25 48 39 58 18 RSP: 0018:ffffc900007b32f8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888111080918 RCX: 0000000000000004 RDX: 000000000000000d RSI: 000061100fc019e9 RDI: ffff888111080918 RBP: ffffc900007b3318 R08: 0000000000000000 R09: ffffc90000415000 R10: 0000000000000001 R11: ffffc900007b35c0 R12: ffff888111080800 R13: 000061100fc019e9 R14: ffff88810d992000 R15: 0000000000000340 FS: 00007fc01a84a6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 0000000100134000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 e8 add %ch,%al 2: 72 30 jb 0x34 4: 01 00 add %eax,(%rax) 6: 5b pop %rbx 7: 41 5e pop %r14 9: 5d pop %rbp a: c3 ret b: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 12: 00 00 00 15: 0f 1f 00 nopl (%rax) 18: 55 push %rbp 19: 48 89 e5 mov %rsp,%rbp 1c: 41 57 push %r15 1e: 41 56 push %r14 20: 41 54 push %r12 22: 53 push %rbx 23: 48 89 fb mov %rdi,%rbx 26: 48 8b 43 30 mov 0x30(%rbx),%rax * 2a: 8b 48 10 mov 0x10(%rax),%ecx <-- trapping instruction 2d: f6 c1 01 test $0x1,%cl 30: 74 04 je 0x36 32: f3 90 pause 34: eb f4 jmp 0x2a 36: 80 7b 38 00 cmpb $0x0,0x38(%rbx) 3a: 75 25 jne 0x61 3c: 48 39 58 18 cmp %rbx,0x18(%rax)