loop3: detected capacity change from 0 to 4 EXT4-fs (loop3): couldn't mount as ext2 due to feature incompatibilities loop3: detected capacity change from 0 to 4 EXT4-fs (loop3): couldn't mount as ext2 due to feature incompatibilities Oops: general protection fault, probably for non-canonical address 0xdffffc0000000032: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000190-0x0000000000000197] CPU: 1 UID: 0 PID: 4006 Comm: syz-executor.7 Tainted: G W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:perf_tp_event+0x175/0xe70 Code: ff df 48 89 85 a8 fd ff ff 48 c1 e8 03 4c 01 e0 48 89 85 c8 fd ff ff e8 c9 51 ea ff 48 8d bb f0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e c5 0b 00 00 44 8b ab f0 01 RSP: 0018:ffff88801775ee00 EFLAGS: 00010212 RAX: 0000000000000032 RBX: ffffffffffffffa1 RCX: ffffc90004eb1000 RDX: 0000000000040000 RSI: ffffffff818995b7 RDI: 0000000000000191 RBP: ffff88801775f070 R08: ffff88806cf31340 R09: ffffe8ffffd15be8 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: 000000000000002c R14: ffff88806cf31340 R15: dffffc0000000000 FS: 00007f1ae7659700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f890b3ee260 CR3: 000000000c92b000 CR4: 0000000000350ef0 Call Trace: perf_trace_run_bpf_submit+0xef/0x180 perf_trace_lock+0x337/0x5d0 lock_release+0x1ab/0x290 bio_associate_blkg_from_css+0x74c/0x1380 bio_associate_blkg+0x10e/0x2a0 bio_init+0x2dd/0x570 bio_alloc_bioset+0x2cf/0x8c0 submit_bh_wbc+0x286/0x720 ext4_read_bh_nowait+0x156/0x240 ext4_read_bh_lock+0xa7/0xd0 ext4_block_write_begin+0x9ca/0xcd0 ext4_da_write_begin+0x4d5/0xb40 generic_perform_write+0x392/0x810 ext4_buffered_write_iter+0x11a/0x430 ext4_file_write_iter+0xff6/0x1990 iter_file_splice_write+0xa3b/0x11f0 direct_splice_actor+0x192/0x7b0 splice_direct_to_actor+0x347/0x9d0 do_splice_direct+0x179/0x250 do_sendfile+0xa8e/0xdc0 __x64_sys_sendfile64+0x1d3/0x210 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1aea104b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1ae7659188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f1aea218020 RCX: 00007f1aea104b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f1aea15ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe31b9804f R14: 00007f1ae7659300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:perf_tp_event+0x175/0xe70 Code: ff df 48 89 85 a8 fd ff ff 48 c1 e8 03 4c 01 e0 48 89 85 c8 fd ff ff e8 c9 51 ea ff 48 8d bb f0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e c5 0b 00 00 44 8b ab f0 01 RSP: 0018:ffff88801775ee00 EFLAGS: 00010212 RAX: 0000000000000032 RBX: ffffffffffffffa1 RCX: ffffc90004eb1000 RDX: 0000000000040000 RSI: ffffffff818995b7 RDI: 0000000000000191 RBP: ffff88801775f070 R08: ffff88806cf31340 R09: ffffe8ffffd15be8 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: 000000000000002c R14: ffff88806cf31340 R15: dffffc0000000000 FS: 00007f1ae7659700(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f890b3ee260 CR3: 000000000c92b000 CR4: 0000000000350ef0 note: syz-executor.7[4006] exited with preempt_count 1 BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:51 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 4006, name: syz-executor.7 preempt_count: 0, expected: 0 RCU nest depth: 3, expected: 0 INFO: lockdep is turned off. CPU: 1 UID: 0 PID: 4006 Comm: syz-executor.7 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary) Tainted: [D]=DIE, [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xfa/0x120 __might_resched+0x2f3/0x510 exit_signals+0x25/0x940 do_exit+0x2db/0x2970 make_task_dead+0x174/0x3b0 rewind_stack_and_make_dead+0x16/0x20 RIP: 0033:0x7f1aea104b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1ae7659188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f1aea218020 RCX: 00007f1aea104b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f1aea15ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe31b9804f R14: 00007f1ae7659300 R15: 0000000000022000 kmemleak: Found object by alias at 0x607f1a638bec CPU: 1 UID: 0 PID: 3996 Comm: syz-executor.4 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary) Tainted: [D]=DIE, [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 __lookup_object+0x94/0xb0 delete_object_full+0x27/0x70 free_percpu+0x30/0x1160 futex_hash_free+0x38/0xc0 mmput+0x2d3/0x390 do_exit+0x79d/0x2970 do_group_exit+0xd3/0x2a0 get_signal+0x2315/0x2340 arch_do_signal_or_restart+0x80/0x790 exit_to_user_mode_loop+0x8b/0x110 do_syscall_64+0x2f7/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5dd3e87b19 Code: Unable to access opcode bytes at 0x7f5dd3e87aef. RSP: 002b:00007f5dd13fd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffed RBX: 00007f5dd3f9af60 RCX: 00007f5dd3e87b19 RDX: 0000000020000000 RSI: 0000000000008933 RDI: 0000000000000008 RBP: 00007f5dd3ee1f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2a88b7bf R14: 00007f5dd13fd300 R15: 0000000000022000 kmemleak: Object (percpu) 0x607f1a638be8 (size 8): kmemleak: comm "syz-executor.1", pid 4025, jiffies 4294818328 kmemleak: min_count = 1 kmemleak: count = 0 kmemleak: flags = 0x21 kmemleak: checksum = 0 kmemleak: backtrace: pcpu_alloc_noprof+0x87a/0x1170 perf_trace_event_init+0x366/0xa10 perf_trace_init+0x1a4/0x2f0 perf_tp_event_init+0xa6/0x120 perf_try_init_event+0x140/0x9f0 perf_event_alloc.part.0+0x118e/0x45f0 __do_sys_perf_event_open+0x719/0x2c20 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f ================================================================== BUG: KASAN: slab-use-after-free in rwsem_down_write_slowpath+0x129d/0x1380 Read of size 4 at addr ffff888015b93734 by task syz-executor.7/3998 CPU: 0 UID: 0 PID: 3998 Comm: syz-executor.7 Tainted: G D W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary) Tainted: [D]=DIE, [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 print_report+0xcb/0x610 kasan_report+0xca/0x100 rwsem_down_write_slowpath+0x129d/0x1380 down_write_killable+0x1df/0x230 do_truncate+0x12c/0x220 path_openat+0x21f3/0x2880 do_filp_open+0x1e8/0x450 do_sys_openat2+0x104/0x1b0 __x64_sys_creat+0xcc/0x120 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1aea104b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1ae767a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f1aea217f60 RCX: 00007f1aea104b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200003c0 RBP: 00007f1aea15ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe31b9804f R14: 00007f1ae767a300 R15: 0000000000022000 Allocated by task 3992: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 __kasan_slab_alloc+0x59/0x70 kmem_cache_alloc_node_noprof+0x21a/0x690 copy_process+0x461/0x73c0 kernel_clone+0xea/0x7f0 __do_sys_clone+0xce/0x120 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 4026: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 __kasan_save_free_info+0x3a/0x60 __kasan_slab_free+0x3f/0x50 kmem_cache_free+0x2a1/0x540 rcu_core+0x7c8/0x1800 handle_softirqs+0x1b1/0x770 __irq_exit_rcu+0xc4/0x100 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x70/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 Last potentially related work creation: kasan_save_stack+0x24/0x50 kasan_record_aux_stack+0x89/0xa0 __call_rcu_common.constprop.0+0x70/0x960 delayed_put_task_struct+0xde/0x260 rcu_core+0x7c8/0x1800 handle_softirqs+0x1b1/0x770 __irq_exit_rcu+0xc4/0x100 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x70/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 Second to last potentially related work creation: kasan_save_stack+0x24/0x50 kasan_record_aux_stack+0x89/0xa0 __call_rcu_common.constprop.0+0x70/0x960 put_task_struct_rcu_user+0x75/0xc0 __schedule+0xe86/0x3590 schedule+0xdb/0x390 do_nanosleep+0x15e/0x560 hrtimer_nanosleep+0x13a/0x340 __x64_sys_nanosleep+0x212/0x2a0 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888015b93700 which belongs to the cache task_struct of size 6784 The buggy address is located 52 bytes inside of freed 6784-byte region [ffff888015b93700, ffff888015b95180) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15b90 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88800d17a241 flags: 0x100000000000040(head|node=0|zone=1) page_type: f5(slab) raw: 0100000000000040 ffff888008ff7640 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000040004 00000000f5000000 ffff88800d17a241 head: 0100000000000040 ffff888008ff7640 dead000000000122 0000000000000000 head: 0000000000000000 0000000000040004 00000000f5000000 ffff88800d17a241 head: 0100000000000003 ffffea000056e401 00000000ffffffff 00000000ffffffff head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888015b93600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888015b93680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888015b93700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888015b93780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888015b93800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) ---------------- Code disassembly (best guess), 1 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: 85 a8 fd ff ff 48 test %ebp,0x48fffffd(%rax) 9: c1 e8 03 shr $0x3,%eax c: 4c 01 e0 add %r12,%rax f: 48 89 85 c8 fd ff ff mov %rax,-0x238(%rbp) 16: e8 c9 51 ea ff callq 0xffea51e4 1b: 48 8d bb f0 01 00 00 lea 0x1f0(%rbx),%rdi 22: 48 89 f8 mov %rdi,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e c5 0b 00 00 jle 0xbff 3a: 44 rex.R 3b: 8b .byte 0x8b 3c: ab stos %eax,%es:(%rdi) 3d: f0 lock 3e: 01 .byte 0x1