ci2 starts bisection 2025-09-06 06:23:40.12200322 +0000 UTC m=+188535.110977066 bisecting fixing commit since 145c7fad733f13d7a8f4aa156785f40d38e966da building syzkaller on 44f8051e446824395d02720c745353cd454d9553 ensuring issue is reproducible on original commit 145c7fad733f13d7a8f4aa156785f40d38e966da testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 4326c9f17fad7e33a16c0629f0b44080ecadc66f81e3f8e540d5dc99c811694f run #0: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #1: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #2: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #3: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #4: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #5: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #6: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #7: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #8: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #9: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #10: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #11: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #12: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #13: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #14: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #15: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #16: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #17: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #18: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #19: OK representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] check whether we can drop unnecessary instrumentation disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: c928cb690f13559a5732a4d8a1e14af8503e5647aeb074904375ea128b5ecb6a run #0: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #1: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #2: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #3: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #4: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #5: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #6: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #7: basic kernel testing failed: failed to copy binary to VM: timedout after 1m0s ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor667950950" "root@10.128.1.131:./syz-executor667950950"] Executing: program /usr/bin/ssh host 10.128.1.131, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u7, OpenSSL 3.0.17 1 Jul 2025 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.1.131 [10.128.1.131] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u7 debug1: Remote protocol version 2.0, remote software version OpenSSH_9.9 debug1: compat_banner: match: OpenSSH_9.9 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 10.128.1.131:22 as 'root' debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: sntrup761x25519-sha512 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: SSH2_MSG_KEX_ECDH_REPLY received debug1: Server host key: ssh-ed25519 SHA256:EAvWV3GG8odMD+k20F251zjwXNDbyLo/P7N2oY0DvFQ debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory Warning: Permanently added '10.128.1.131' (ED25519) to the list of known hosts. debug1: ssh_packet_send2_wrapped: resetting send seqnr 3 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: ssh_packet_read_poll2: resetting read seqnr 3 debug1: SSH2_MSG_NEWKEYS received debug1: rekey in after 134217728 blocks debug1: Will attempt key: /root/.ssh/id_rsa debug1: Will attempt key: /root/.ssh/id_ecdsa debug1: Will attempt key: /root/.ssh/id_ecdsa_sk debug1: Will attempt key: /root/.ssh/id_ed25519 debug1: Will attempt key: /root/.ssh/id_ed25519_sk debug1: Will attempt key: /root/.ssh/id_xmss debug1: Will attempt key: /root/.ssh/id_dsa debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs= debug1: kex_input_ext_info: publickey-hostbound@openssh.com=<0> debug1: kex_input_ext_info: ping@openssh.com (unrecognised) debug1: SSH2_MSG_SERVICE_ACCEPT received Authenticated to 10.128.1.131 ([10.128.1.131]:22) using "none". debug1: channel 0: new session [client-session] (inactive timeout: 0) debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug1: Sending subsystem: sftp debug1: pledge: fork scp: debug1: stat remote: No such file or directory run #8: OK run #9: OK representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the bug reproduces without the instrumentation disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed kconfig minimization: base=5186 full=6555 leaves diff=264 split chunks (needed=false): <264> split chunk #0 of len 264 into 5 parts testing without sub-chunk 1/5 disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 439409c5d09a42907df5fab14075ea6a89a24da96c6e5884b20575dcf2f39e92 run #0: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #1: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #2: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #3: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #4: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #5: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #6: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #7: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #8: OK run #9: OK representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: e726d511407055074879b39109588b58902c8e9cd78149a46e4dff670c4eccf5 run #0: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #1: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #2: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #3: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #4: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #5: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #6: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #7: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #8: OK run #9: OK representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: 905bf6985af468e62fb22e5a8aca4c98eda8a36d8e4e8d19bc28670ec3b21364 all runs: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: a21b0b85b62f07dafd89a01c2e3f602774c89e2e3ad651b00f596c8cef61e578 run #0: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #1: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #2: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #3: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #4: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #5: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #6: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #7: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #8: OK run #9: OK representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit 145c7fad733f13d7a8f4aa156785f40d38e966da gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 failed building 145c7fad733f13d7a8f4aa156785f40d38e966da: ld.lld: error: undefined symbol: wext_handle_ioctl ld.lld: error: undefined symbol: compat_wext_handle_ioctl ld.lld: error: undefined symbol: wext_proc_init ld.lld: error: undefined symbol: wext_proc_exit minimized to 52 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 V4L2_ASYNC V4L2_FWNODE VIDEO_CAMERA_SENSOR 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 ZEROPLUS_FF] disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed testing current HEAD 499d2a0ffd4fc33316ea8f649bcc64b68091f26a testing commit 499d2a0ffd4fc33316ea8f649bcc64b68091f26a gcc compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 kernel signature: e5ff2538b195be2e106099ec4d7bfd3ed247ce5b5e4cb3885a7d9e562ae535af run #0: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #1: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #2: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #3: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #4: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #5: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #6: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #7: crashed: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread run #8: OK run #9: OK representative crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread, types: [KASAN-NULL-POINTER-DEREFERENCE-WRITE] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 3h13m8.839141697s (build: 1h20m29.673982747s, test: 1h23m44.333386977s) crash still not fixed or there were kernel test errors commit msg: Revert "BACKPORT: FROMGIT: selinux: enable per-file labeling for functionfs" crash: KASAN: null-ptr-deref Write in f2fs_stop_gc_thread ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: null-ptr-deref in atomic_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:116 [inline] BUG: KASAN: null-ptr-deref in __refcount_add include/linux/refcount.h:193 [inline] BUG: KASAN: null-ptr-deref in __refcount_inc include/linux/refcount.h:250 [inline] BUG: KASAN: null-ptr-deref in refcount_inc include/linux/refcount.h:267 [inline] BUG: KASAN: null-ptr-deref in get_task_struct include/linux/sched/task.h:110 [inline] BUG: KASAN: null-ptr-deref in kthread_stop+0x2e/0x270 kernel/kthread.c:717 Write of size 4 at addr 0000000000000028 by task syz.4.27/570 CPU: 1 PID: 570 Comm: syz.4.27 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x19/0x1c lib/dump_stack.c:88 dump_stack_lvl+0xa3/0xec lib/dump_stack.c:106 print_report+0x3d/0x60 mm/kasan/report.c:421 kasan_report+0x122/0x150 mm/kasan/report.c:522 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x280/0x290 mm/kasan/generic.c:189 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:116 [inline] __refcount_add include/linux/refcount.h:193 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] get_task_struct include/linux/sched/task.h:110 [inline] kthread_stop+0x2e/0x270 kernel/kthread.c:717 f2fs_stop_gc_thread+0x5b/0xa0 fs/f2fs/gc.c:210 f2fs_ioc_shutdown fs/f2fs/file.c:2403 [inline] __f2fs_ioctl+0x4e67/0xa060 fs/f2fs/file.c:4386 f2fs_ioctl+0x11d/0x1e0 fs/f2fs/file.c:4467 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xc5/0x110 fs/ioctl.c:856 __x64_sys_ioctl+0x76/0x80 fs/ioctl.c:856 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f496d58e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f496e467038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f496d7b6080 RCX: 00007f496d58e929 RDX: 0000200000000140 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007f496d610ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f496d7b6080 R15: 00007fffedd17748 ================================================================== BUG: kernel NULL pointer dereference, address: 0000000000000028 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 114408067 P4D 114408067 PUD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 570 Comm: syz.4.27 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:arch_atomic_fetch_add arch/x86/include/asm/atomic.h:184 [inline] RIP: 0010:atomic_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:117 [inline] RIP: 0010:__refcount_add include/linux/refcount.h:193 [inline] RIP: 0010:__refcount_inc include/linux/refcount.h:250 [inline] RIP: 0010:refcount_inc include/linux/refcount.h:267 [inline] RIP: 0010:get_task_struct include/linux/sched/task.h:110 [inline] RIP: 0010:kthread_stop+0x38/0x270 kernel/kthread.c:717 Code: 49 bc 00 00 00 00 00 fc ff df 0f 1f 44 00 00 4c 8d 73 28 4c 89 f7 be 04 00 00 00 e8 02 0c 5c 00 be 01 00 00 00 b8 01 00 00 00 0f c1 43 28 85 c0 0f 84 b9 00 00 00 3d ff ff ff 7f 0f 83 b3 00 RSP: 0018:ffffc900013ef8e0 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8138a4c3 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffffffff85cb27e0 RBP: ffffc900013ef900 R08: dffffc0000000000 R09: fffffbfff0b964fd R10: fffffbfff0b964fd R11: 1ffffffff0b964fc R12: dffffc0000000000 R13: ffff8881208bf000 R14: 0000000000000028 R15: dffffc0000000000 FS: 00007f496e4676c0(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 0000000114498000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_stop_gc_thread+0x5b/0xa0 fs/f2fs/gc.c:210 f2fs_ioc_shutdown fs/f2fs/file.c:2403 [inline] __f2fs_ioctl+0x4e67/0xa060 fs/f2fs/file.c:4386 f2fs_ioctl+0x11d/0x1e0 fs/f2fs/file.c:4467 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xc5/0x110 fs/ioctl.c:856 __x64_sys_ioctl+0x76/0x80 fs/ioctl.c:856 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f496d58e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f496e467038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f496d7b6080 RCX: 00007f496d58e929 RDX: 0000200000000140 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007f496d610ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f496d7b6080 R15: 00007fffedd17748 Modules linked in: CR2: 0000000000000028 ---[ end trace 0000000000000000 ]--- RIP: 0010:arch_atomic_fetch_add arch/x86/include/asm/atomic.h:184 [inline] RIP: 0010:atomic_fetch_add_relaxed include/linux/atomic/atomic-instrumented.h:117 [inline] RIP: 0010:__refcount_add include/linux/refcount.h:193 [inline] RIP: 0010:__refcount_inc include/linux/refcount.h:250 [inline] RIP: 0010:refcount_inc include/linux/refcount.h:267 [inline] RIP: 0010:get_task_struct include/linux/sched/task.h:110 [inline] RIP: 0010:kthread_stop+0x38/0x270 kernel/kthread.c:717 Code: 49 bc 00 00 00 00 00 fc ff df 0f 1f 44 00 00 4c 8d 73 28 4c 89 f7 be 04 00 00 00 e8 02 0c 5c 00 be 01 00 00 00 b8 01 00 00 00 0f c1 43 28 85 c0 0f 84 b9 00 00 00 3d ff ff ff 7f 0f 83 b3 00 RSP: 0018:ffffc900013ef8e0 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8138a4c3 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffffffff85cb27e0 RBP: ffffc900013ef900 R08: dffffc0000000000 R09: fffffbfff0b964fd R10: fffffbfff0b964fd R11: 1ffffffff0b964fc R12: dffffc0000000000 R13: ffff8881208bf000 R14: 0000000000000028 R15: dffffc0000000000 FS: 00007f496e4676c0(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 0000000114498000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 7: fc ff df a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) f: 4c 8d 73 28 lea 0x28(%rbx),%r14 13: 4c 89 f7 mov %r14,%rdi 16: be 04 00 00 00 mov $0x4,%esi 1b: e8 02 0c 5c 00 call 0x5c0c22 20: be 01 00 00 00 mov $0x1,%esi 25: b8 01 00 00 00 mov $0x1,%eax * 2a: f0 0f c1 43 28 lock xadd %eax,0x28(%rbx) <-- trapping instruction 2f: 85 c0 test %eax,%eax 31: 0f 84 b9 00 00 00 je 0xf0 37: 3d ff ff ff 7f cmp $0x7fffffff,%eax 3c: 0f .byte 0xf 3d: 83 .byte 0x83 3e: b3 00 mov $0x0,%bl