ci2 starts bisection 2023-11-19 04:42:41.923461383 +0000 UTC m=+469629.031492127
bisecting fixing commit since ea586874d2f9e501ef84b7e55036fc8965397d5d
building syzkaller on 0b6a67ac4b0dc26f43030c5edd01c9175f13b784
ensuring issue is reproducible on original commit ea586874d2f9e501ef84b7e55036fc8965397d5d
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: c8703da0aedf0f9c9f670a21a4f73b8a5f26fc60f2b2e7c9387cb82fbdc58721
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
check whether we can drop unnecessary instrumentation
disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 9d1a8a0df73801761551ba9b0ed9646fc16c08cef8a376b55ff7df9cb3b2b817
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
the bug reproduces without the instrumentation
disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed
kconfig minimization: base=4920 full=6163 leaves diff=241
split chunks (needed=false): <241>
split chunk #0 of len 241 into 5 parts
testing without sub-chunk 1/5
disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: adddb200dc75c12f8df4a5a934074fc235c7fca72e7b4e097562bc7fa702b243
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 2/5
disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 5802d5c27e8a11dce6fb36bd142261b2a6c07ab34fe28e7109331d2e28b270fa
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 3/5
disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 36f240ffb182ed2f9e7b51f8833a5eac3e68de399b8b3683a72849c95cc65fd0
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 4/5
disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: c9c6b884f80aab0418f777ca081ed6272bf1e5806f75600bfd969f6ece2afb8e
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 5/5
disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
failed building ea586874d2f9e501ef84b7e55036fc8965397d5d: net/socket.c:1172: undefined reference to `wext_handle_ioctl'
net/socket.c:3366: undefined reference to `compat_wext_handle_ioctl'
net/core/net-procfs.c:343: undefined reference to `wext_proc_exit'
net/core/net-procfs.c:327: undefined reference to `wext_proc_init'
minimized to 45 configs; suspects: [HID_ZEROPLUS 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 USB_SERIAL_FTDI_SIO 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_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF]
disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed
testing current HEAD 61cfd264993d07540f60a5c53d77a14c818e54a9
testing commit 61cfd264993d07540f60a5c53d77a14c818e54a9 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: f2ed4124151a41f5f5c123dfb3306a1a4c2ef4e03e3c03b3a333863c8a9ed86a
all runs: crashed: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
representative crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate, types: [KASAN]
crash still not fixed/happens on the oldest tested release
revisions tested: 7, total time: 36m32.436618582s (build: 14m50.783279372s, test: 19m51.61102037s)
crash still not fixed or there were kernel test errors
commit msg: Revert "ipv4/fib: send notify when delete source address routes"
crash: KASAN: null-ptr-deref Write in fuse_dentry_revalidate
==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
BUG: KASAN: null-ptr-deref in atomic_inc_return include/linux/atomic/atomic-instrumented.h:188 [inline]
BUG: KASAN: null-ptr-deref in ihold+0x19/0x30 fs/inode.c:426
Write of size 4 at addr 0000000000000170 by task syz-executor.0/355
CPU: 1 PID: 355 Comm: syz-executor.0 Not tainted 5.15.137-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106
__kasan_report mm/kasan/report.c:431 [inline]
kasan_report.cold+0x64/0xdb mm/kasan/report.c:444
check_region_inline mm/kasan/generic.c:183 [inline]
kasan_check_range+0x148/0x190 mm/kasan/generic.c:189
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_inc_return include/linux/atomic/atomic-instrumented.h:188 [inline]
ihold+0x19/0x30 fs/inode.c:426
backing_data_changed fs/fuse/dir.c:196 [inline]
fuse_dentry_revalidate+0x6bb/0xf80 fs/fuse/dir.c:306
d_revalidate fs/namei.c:854 [inline]
d_revalidate fs/namei.c:851 [inline]
lookup_dcache+0x90/0xd0 fs/namei.c:1524
__lookup_hash+0x1e/0x150 fs/namei.c:1545
do_renameat2+0x3c2/0xa50 fs/namei.c:4843
__do_sys_rename fs/namei.c:4938 [inline]
__se_sys_rename fs/namei.c:4936 [inline]
__x64_sys_rename+0x7d/0xa0 fs/namei.c:4936
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+0x61/0xcb
RIP: 0033:0x7f174681bae9
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:00007f174637d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f174693b050 RCX: 00007f174681bae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100
RBP: 00007f174686747a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f174693b050 R15: 00007ffe3a35c5e8
==================================================================
BUG: kernel NULL pointer dereference, address: 0000000000000170
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 122767067 P4D 122767067 PUD 12276b067 PMD 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 355 Comm: syz-executor.0 Tainted: G B 5.15.137-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:165 [inline]
RIP: 0010:arch_atomic_inc_return include/linux/atomic/atomic-arch-fallback.h:370 [inline]
RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:189 [inline]
RIP: 0010:ihold+0x1e/0x30 fs/inode.c:426
Code: eb 90 66 2e 0f 1f 84 00 00 00 00 00 55 be 04 00 00 00 48 89 e5 53 48 89 fb 48 8d bf 70 01 00 00 e8 b7 c8 f2 ff b8 01 00 00 00 0f c1 83 70 01 00 00 48 8b 5d f8 c9 c3 0f 1f 40 00 48 b8 00 00
RSP: 0018:ffffc900007379a8 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8134cf51
RDX: fffffbfff0b1ab40 RSI: 0000000000000004 RDI: ffffffff858d5a00
RBP: ffffc900007379b0 R08: 0000000000000001 R09: 0000000000000003
R10: fffffbfff0b1ab40 R11: 0000000000000001 R12: ffff88811fd8b4b8
R13: 0000000000000020 R14: ffff88811fd64000 R15: ffff88811fd8b440
FS: 00007f174637d6c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000170 CR3: 0000000122756000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
backing_data_changed fs/fuse/dir.c:196 [inline]
fuse_dentry_revalidate+0x6bb/0xf80 fs/fuse/dir.c:306
d_revalidate fs/namei.c:854 [inline]
d_revalidate fs/namei.c:851 [inline]
lookup_dcache+0x90/0xd0 fs/namei.c:1524
__lookup_hash+0x1e/0x150 fs/namei.c:1545
do_renameat2+0x3c2/0xa50 fs/namei.c:4843
__do_sys_rename fs/namei.c:4938 [inline]
__se_sys_rename fs/namei.c:4936 [inline]
__x64_sys_rename+0x7d/0xa0 fs/namei.c:4936
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+0x61/0xcb
RIP: 0033:0x7f174681bae9
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:00007f174637d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f174693b050 RCX: 00007f174681bae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000100
RBP: 00007f174686747a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f174693b050 R15: 00007ffe3a35c5e8
Modules linked in:
CR2: 0000000000000170
---[ end trace d58ed1c7543b1de6 ]---
RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:165 [inline]
RIP: 0010:arch_atomic_inc_return include/linux/atomic/atomic-arch-fallback.h:370 [inline]
RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:189 [inline]
RIP: 0010:ihold+0x1e/0x30 fs/inode.c:426
Code: eb 90 66 2e 0f 1f 84 00 00 00 00 00 55 be 04 00 00 00 48 89 e5 53 48 89 fb 48 8d bf 70 01 00 00 e8 b7 c8 f2 ff b8 01 00 00 00 0f c1 83 70 01 00 00 48 8b 5d f8 c9 c3 0f 1f 40 00 48 b8 00 00
RSP: 0018:ffffc900007379a8 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8134cf51
RDX: fffffbfff0b1ab40 RSI: 0000000000000004 RDI: ffffffff858d5a00
RBP: ffffc900007379b0 R08: 0000000000000001 R09: 0000000000000003
R10: fffffbfff0b1ab40 R11: 0000000000000001 R12: ffff88811fd8b4b8
R13: 0000000000000020 R14: ffff88811fd64000 R15: ffff88811fd8b440
FS: 00007f174637d6c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000170 CR3: 0000000122756000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: eb 90 jmp 0xffffff92
2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
9: 00 00 00
c: 55 push %rbp
d: be 04 00 00 00 mov $0x4,%esi
12: 48 89 e5 mov %rsp,%rbp
15: 53 push %rbx
16: 48 89 fb mov %rdi,%rbx
19: 48 8d bf 70 01 00 00 lea 0x170(%rdi),%rdi
20: e8 b7 c8 f2 ff call 0xfff2c8dc
25: b8 01 00 00 00 mov $0x1,%eax
* 2a: f0 0f c1 83 70 01 00 lock xadd %eax,0x170(%rbx) <-- trapping instruction
31: 00
32: 48 8b 5d f8 mov -0x8(%rbp),%rbx
36: c9 leave
37: c3 ret
38: 0f 1f 40 00 nopl 0x0(%rax)
3c: 48 rex.W
3d: b8 .byte 0xb8