FAT-fs (loop1): bogus number of FAT structure FAT-fs (loop1): Can't find a valid FAT filesystem mac80211_hwsim hwsim17 wlan1: entered promiscuous mode mac80211_hwsim hwsim17 wlan1: left promiscuous mode ------------[ cut here ]------------ WARNING: block/blk-mq-dma.c:309 at __blk_rq_map_sg+0x636/0x740, CPU#1: syz-executor.2/4069 Modules linked in: CPU: 1 UID: 0 PID: 4069 Comm: syz-executor.2 Not tainted 6.19.0-rc4-next-20260108 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__blk_rq_map_sg+0x636/0x740 Code: ff ff e8 5d 20 30 ff b9 06 00 00 00 48 89 d8 48 8d bc 24 98 00 00 00 48 89 7c 24 20 f3 48 ab e9 fd fa ff ff e8 3b 20 30 ff 90 <0f> 0b 90 e9 f8 fd ff ff 48 89 cf e8 aa 6c 6e ff e9 66 fa ff ff 48 RSP: 0018:ffff88801fa56c80 EFLAGS: 00010212 RAX: 0000000000005c76 RBX: 0000000000000002 RCX: ffffc90007e3e000 RDX: 0000000000040000 RSI: ffffffff82455855 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000200 R14: ffff88800d724000 R15: ffff88801fa56e08 FS: 00007f2c04f7a700(0000) GS:ffff8880e544d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01101f000 CR3: 0000000017927000 CR4: 0000000000350ef0 Call Trace: scsi_alloc_sgtables+0x206/0xc30 sd_init_command+0x8d8/0x30e0 scsi_queue_rq+0x133b/0x3280 blk_mq_dispatch_rq_list+0x3ad/0x1c00 __blk_mq_sched_dispatch_requests+0xc37/0x13e0 blk_mq_sched_dispatch_requests+0xd7/0x1b0 blk_mq_run_hw_queue+0x3bd/0x640 blk_mq_dispatch_list+0x4de/0x1580 blk_mq_flush_plug_list+0x12a/0x5b0 __blk_flush_plug+0x25c/0x460 blk_finish_plug+0x53/0xa0 __iomap_dio_rw+0x9b9/0x1c30 iomap_dio_rw+0x40/0xa0 ext4_file_write_iter+0x11eb/0x19f0 iter_file_splice_write+0xa3a/0x11c0 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/0x420 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2c07a25b19 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:00007f2c04f7a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2c07b39020 RCX: 00007f2c07a25b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f2c07a7ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff50afcff R14: 00007f2c04f7a300 R15: 0000000000022000 irq event stamp: 2141 hardirqs last enabled at (2149): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (2160): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (2132): [] __irq_exit_rcu+0xc4/0x100 softirqs last disabled at (2127): [] __irq_exit_rcu+0xc4/0x100 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at drivers/scsi/scsi_lib.c:1173! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 4069 Comm: syz-executor.2 Tainted: G W 6.19.0-rc4-next-20260108 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:scsi_alloc_sgtables+0xa32/0xc30 Code: e9 71 f7 ff ff e8 de 0c 32 fe 90 0f 0b 90 41 bc 0a 00 00 00 e9 c8 fc ff ff 41 bc 09 00 00 00 e9 bd fc ff ff e8 bf 0c 32 fe 90 <0f> 0b 45 31 f6 e9 b7 f9 ff ff e8 af 0c 32 fe be 01 00 00 00 31 ff RSP: 0018:ffff88801fa56dc0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88800d7240f8 RCX: ffffc90007e3e000 RDX: 0000000000040000 RSI: ffffffff83436bd1 RDI: 0000000000000004 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88800d72401c R14: 0000000000000000 R15: 0000000000000000 FS: 00007f2c04f7a700(0000) GS:ffff8880e544d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01101f000 CR3: 0000000017927000 CR4: 0000000000350ef0 Call Trace: sd_init_command+0x8d8/0x30e0 scsi_queue_rq+0x133b/0x3280 blk_mq_dispatch_rq_list+0x3ad/0x1c00 __blk_mq_sched_dispatch_requests+0xc37/0x13e0 blk_mq_sched_dispatch_requests+0xd7/0x1b0 blk_mq_run_hw_queue+0x3bd/0x640 blk_mq_dispatch_list+0x4de/0x1580 blk_mq_flush_plug_list+0x12a/0x5b0 __blk_flush_plug+0x25c/0x460 blk_finish_plug+0x53/0xa0 __iomap_dio_rw+0x9b9/0x1c30 iomap_dio_rw+0x40/0xa0 ext4_file_write_iter+0x11eb/0x19f0 iter_file_splice_write+0xa3a/0x11c0 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/0x420 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2c07a25b19 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:00007f2c04f7a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2c07b39020 RCX: 00007f2c07a25b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f2c07a7ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff50afcff R14: 00007f2c04f7a300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:scsi_alloc_sgtables+0xa32/0xc30 Code: e9 71 f7 ff ff e8 de 0c 32 fe 90 0f 0b 90 41 bc 0a 00 00 00 e9 c8 fc ff ff 41 bc 09 00 00 00 e9 bd fc ff ff e8 bf 0c 32 fe 90 <0f> 0b 45 31 f6 e9 b7 f9 ff ff e8 af 0c 32 fe be 01 00 00 00 31 ff RSP: 0018:ffff88801fa56dc0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88800d7240f8 RCX: ffffc90007e3e000 RDX: 0000000000040000 RSI: ffffffff83436bd1 RDI: 0000000000000004 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88800d72401c R14: 0000000000000000 R15: 0000000000000000 FS: 00007f2c04f7a700(0000) GS:ffff8880e544d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01101f000 CR3: 0000000017927000 CR4: 0000000000350ef0 ------------[ cut here ]------------ WARNING: kernel/exit.c:902 at do_exit+0x1c21/0x2950, CPU#1: syz-executor.2/4069 Modules linked in: CPU: 1 UID: 0 PID: 4069 Comm: syz-executor.2 Tainted: G D W 6.19.0-rc4-next-20260108 #1 PREEMPT(voluntary) Tainted: [D]=DIE, [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:do_exit+0x1c21/0x2950 Code: 37 0a 00 00 c7 43 18 00 00 00 00 e9 36 e6 ff ff e8 b4 d4 39 00 bf 02 24 00 00 e8 3a 7f 0b 00 e9 41 ff ff ff e8 a0 d4 39 00 90 <0f> 0b 90 e9 9c e4 ff ff e8 92 d4 39 00 4c 89 e6 bf 05 06 00 00 e8 RSP: 0018:ffff88801fa57e40 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90007e3e000 RDX: 0000000000040000 RSI: ffffffff813ba3f0 RDI: ffff888013fa11c0 RBP: ffff888013fa0000 R08: 0000000000000001 R09: fffffbfff0f640d8 R10: 0000000000000200 R11: 0000000000000001 R12: 000000000000000b R13: 0000000000002710 R14: ffff888013fa1688 R15: ffff888013fa0000 FS: 00007f2c04f7a700(0000) GS:ffff8880e544d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01101f000 CR3: 0000000017927000 CR4: 0000000000350ef0 Call Trace: make_task_dead+0x174/0x3b0 rewind_stack_and_make_dead+0x16/0x20 RIP: 0033:0x7f2c07a25b19 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:00007f2c04f7a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2c07b39020 RCX: 00007f2c07a25b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f2c07a7ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff50afcff R14: 00007f2c04f7a300 R15: 0000000000022000 irq event stamp: 2221 hardirqs last enabled at (2221): [] do_error_trap+0x210/0x240 hardirqs last disabled at (2220): [] exc_invalid_op+0x51/0x80 softirqs last enabled at (2132): [] __irq_exit_rcu+0xc4/0x100 softirqs last disabled at (2127): [] __irq_exit_rcu+0xc4/0x100 ---[ end trace 0000000000000000 ]--- BUG: sleeping function called from invalid context at kernel/locking/mutex.c:591 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 4069, name: syz-executor.2 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 1 UID: 0 PID: 4069 Comm: syz-executor.2 Tainted: G D W 6.19.0-rc4-next-20260108 #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 __mutex_lock+0xc0/0x2380 sched_mm_cid_exit+0x9a/0x450 do_exit+0x2db/0x2950 make_task_dead+0x174/0x3b0 rewind_stack_and_make_dead+0x16/0x20 RIP: 0033:0x7f2c07a25b19 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:00007f2c04f7a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2c07b39020 RCX: 00007f2c07a25b19 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f2c07a7ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff50afcff R14: 00007f2c04f7a300 R15: 0000000000022000 loop7: detected capacity change from 0 to 360 loop1: detected capacity change from 0 to 64 loop7: detected capacity change from 0 to 360 ================================================================== BUG: KASAN: slab-use-after-free in rwsem_down_write_slowpath+0x1522/0x1670 Read of size 4 at addr ffff888013fa0034 by task syz-executor.2/4089 CPU: 1 UID: 0 PID: 4089 Comm: syz-executor.2 Tainted: G D W 6.19.0-rc4-next-20260108 #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+0x1522/0x1670 down_write_killable+0x1df/0x230 do_truncate+0x12c/0x220 path_openat+0x2560/0x2d60 do_filp_open+0x1e8/0x450 do_sys_openat2+0x107/0x250 __x64_sys_creat+0xcc/0x120 do_syscall_64+0xbf/0x420 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2c07a25b19 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:00007f2c04f59188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c07b390e0 RCX: 00007f2c07a25b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300 RBP: 00007f2c07a7ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff50afcff R14: 00007f2c04f59300 R15: 0000000000022000 loop1: detected capacity change from 0 to 64 Allocated by task 4060: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 __kasan_slab_alloc+0x59/0x70 FAT-fs (loop1): bogus number of FAT structure kmem_cache_alloc_node_noprof+0x227/0x780 copy_process+0x460/0x7120 kernel_clone+0xea/0x7c0 __do_sys_clone+0xce/0x120 do_syscall_64+0xbf/0x420 FAT-fs (loop1): Can't find a valid FAT filesystem entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 22: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3a/0x60 __kasan_slab_free+0x43/0x70 kmem_cache_free+0x2cd/0x660 rcu_core+0x543/0x1b30 handle_softirqs+0x1b1/0x7d0 run_ksoftirqd+0x2e/0x60 smpboot_thread_fn+0x41d/0x9d0 kthread+0x385/0x490 ret_from_fork+0x67a/0x7a0 ret_from_fork_asm+0x1a/0x30 Last potentially related work creation: kasan_save_stack+0x24/0x50 kasan_record_aux_stack+0x89/0xa0 __call_rcu_common.constprop.0+0x70/0xad0 delayed_put_task_struct+0xde/0x230 rcu_core+0x543/0x1b30 handle_softirqs+0x1b1/0x7d0 run_ksoftirqd+0x2e/0x60 smpboot_thread_fn+0x41d/0x9d0 kthread+0x385/0x490 ret_from_fork+0x67a/0x7a0 ret_from_fork_asm+0x1a/0x30 Second to last potentially related work creation: kasan_save_stack+0x24/0x50 kasan_record_aux_stack+0x89/0xa0 __call_rcu_common.constprop.0+0x70/0xad0 put_task_struct_rcu_user+0x75/0xc0 __schedule+0xfea/0x4690 __cond_resched+0x4c/0x80 down_read+0x79/0x450 kernfs_iop_permission+0x70/0xc0 inode_permission+0x3f4/0x630 link_path_walk+0x1494/0x1c80 path_lookupat+0x70/0xc10 path_openat+0x1c71/0x2d60 do_filp_open+0x1e8/0x450 do_sys_openat2+0x107/0x250 __x64_sys_openat+0x142/0x200 do_syscall_64+0xbf/0x420 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888013fa0000 which belongs to the cache task_struct of size 6784 The buggy address is located 52 bytes inside of freed 6784-byte region [ffff888013fa0000, ffff888013fa1a80) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888013fa3700 pfn:0x13fa0 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88800deb0fc1 flags: 0x100000000000240(workingset|head|node=0|zone=1) page_type: f5(slab) raw: 0100000000000240 ffff888009814640 ffffea00002ff210 ffffea0001268c10 raw: ffff888013fa3700 0000000000040003 00000000f5000000 ffff88800deb0fc1 head: 0100000000000240 ffff888009814640 ffffea00002ff210 ffffea0001268c10 head: ffff888013fa3700 0000000000040003 00000000f5000000 ffff88800deb0fc1 head: 0100000000000003 ffffea00004fe801 00000000ffffffff 00000000ffffffff head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888013f9ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888013f9ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888013fa0000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888013fa0080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888013fa0100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== loop7: detected capacity change from 0 to 360 loop7: detected capacity change from 0 to 360