ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 ^ sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 Memory state around the buggy address: [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSCALL_64_fastpath+0x23/0xc6 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 PID = 8961 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 Allocated: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 CPU: 1 PID: 8961 Comm: syz-executor2 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ^ ^ Read of size 4 by task syz-executor2/8961 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 4 by task syz-executor2/8961 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 Read of size 4 by task syz-executor2/8961 (stack is not available) ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 Object at ffff8801c677ad80, in cache fasync_cache size: 96 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 PID = 8961 Read of size 4 by task syz-executor2/8961 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Allocated: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 1 PID: 8961 Comm: syz-executor2 Tainted: G B 4.9.67-gf26d3c7 #106 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffffffff8153a2cc ffffed0038cef5bc ffff8801d67cb000 0000000000000000 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ^ sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 ^ fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Memory state around the buggy address: Object at ffff8801c677ad80, in cache fasync_cache size: 96 Read of size 4 by task syz-executor2/8961 Object at ffff8801c677ad80, in cache fasync_cache size: 96 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 (stack is not available) ================================================================== [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ^ [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Allocated: [] do_readv+0xe6/0x250 fs/read_write.c:924 Read of size 4 by task syz-executor2/8961 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Object at ffff8801c677ad80, in cache fasync_cache size: 96 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Freed: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Call Trace: [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 CPU: 1 PID: 8961 Comm: syz-executor2 Tainted: G B 4.9.67-gf26d3c7 #106 Allocated: ^ [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c677ade0 ffffed0038cef5bc ffff8801c677ade4 ffff8801c6e0f8d8 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc (stack is not available) Read of size 4 by task syz-executor2/8961 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ^ (stack is not available) (stack is not available) ================================================================== fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] entry_SYSCALL_64_fastpath+0x23/0xc6 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 Memory state around the buggy address: ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] do_readv+0xe6/0x250 fs/read_write.c:924 PID = 8961 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Read of size 4 by task syz-executor2/8961 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ^ entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ================================================================== ^ ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Memory state around the buggy address: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ^ [] vfs_readv+0x84/0xc0 fs/read_write.c:898 entry_SYSCALL_64_fastpath+0x23/0xc6 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ================================================================== ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Memory state around the buggy address: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Read of size 4 by task syz-executor2/8961 PID = 8961 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: [] do_readv+0xe6/0x250 fs/read_write.c:924 ================================================================== [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Object at ffff8801c677ad80, in cache fasync_cache size: 96 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] entry_SYSCALL_64_fastpath+0x23/0xc6 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 entry_SYSCALL_64_fastpath+0x23/0xc6 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc PID = 8961 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801c677ad80, in cache fasync_cache size: 96 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffffffff8153a2cc ffffed0038cef5bc ffff8801d67cb000 0000000000000000 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 Call Trace: Object at ffff8801c677ad80, in cache fasync_cache size: 96 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ================================================================== Freed: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Read of size 4 by task syz-executor2/8961 Allocated: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c677ade0 ffffed0038cef5bc ffff8801c677ade4 ffff8801c6e0f8d8 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Object at ffff8801c677ad80, in cache fasync_cache size: 96 (stack is not available) ================================================================== [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 Allocated: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 PID = 0 Memory state around the buggy address: Allocated: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Object at ffff8801c677ad80, in cache fasync_cache size: 96 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Memory state around the buggy address: Allocated: ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 PID = 8961 Freed: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ^ [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ^ fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Allocated: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Allocated: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: [] do_readv+0xe6/0x250 fs/read_write.c:924 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ^ kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffffffff8153a2cc ffffed0038cef5bc ffff8801d67cb000 0000000000000000 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Allocated: ^ >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Read of size 4 by task syz-executor2/8961 Object at ffff8801c677ad80, in cache fasync_cache size: 96 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Freed: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Allocated: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 (stack is not available) ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Call Trace: [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 entry_SYSCALL_64_fastpath+0x23/0xc6 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Allocated: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Read of size 4 by task syz-executor2/8961 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 Allocated: ^ [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 (stack is not available) ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor2/8961 Object at ffff8801c677ad80, in cache fasync_cache size: 96 ^ sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: ================================================================== ^ kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Call Trace: [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 Allocated: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 Allocated: ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ^ ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ^ kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Allocated: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 PID = 8961 ^ [] vfs_readv+0x84/0xc0 fs/read_write.c:898 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ================================================================== ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] entry_SYSCALL_64_fastpath+0x23/0xc6 PID = 8961 ^ [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 PID = 0 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c6e0f8b0 ffffffff81d906e9 ffff8801d67cb000 ffff8801c677ad80 (stack is not available) ================================================================== ^ fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Read of size 4 by task syz-executor2/8961 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Allocated: ^ [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Call Trace: [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801c6e0f8b0 ffffffff81d906e9 ffff8801d67cb000 ffff8801c677ad80 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 PID = 0 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ^ SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] entry_SYSCALL_64_fastpath+0x23/0xc6 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ^ Object at ffff8801c677ad80, in cache fasync_cache size: 96 entry_SYSCALL_64_fastpath+0x23/0xc6 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Freed: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Call Trace: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 entry_SYSCALL_64_fastpath+0x23/0xc6 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 Allocated: ================================================================== PID = 8961 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc PID = 8961 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Call Trace: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Allocated: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ^ [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801c6e0f8b0 ffffffff81d906e9 ffff8801d67cb000 ffff8801c677ad80 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 entry_SYSCALL_64_fastpath+0x23/0xc6 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 Object at ffff8801c677ad80, in cache fasync_cache size: 96 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Memory state around the buggy address: PID = 0 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ ^ kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Object at ffff8801c677ad80, in cache fasync_cache size: 96 entry_SYSCALL_64_fastpath+0x23/0xc6 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ Allocated: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Allocated: ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffffffff8153a2cc ffffed0038cef5bc ffff8801d67cb000 0000000000000000 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: Object at ffff8801c677ad80, in cache fasync_cache size: 96 PID = 8961 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor2/8961 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Memory state around the buggy address: PID = 0 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Read of size 4 by task syz-executor2/8961 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Call Trace: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 (stack is not available) ================================================================== ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc PID = 8961 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 PID = 0 ffffffff8153a2cc ffffed0038cef5bc ffff8801d67cb000 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 PID = 8961 ================================================================== ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ^ SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ^ slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 Call Trace: [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 entry_SYSCALL_64_fastpath+0x23/0xc6 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Allocated: ^ [] do_readv+0xe6/0x250 fs/read_write.c:924 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 entry_SYSCALL_64_fastpath+0x23/0xc6 Allocated: ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Memory state around the buggy address: >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 PID = 0 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801c6e0f8b0 ffffffff81d906e9 ffff8801d67cb000 ffff8801c677ad80 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 Call Trace: [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ================================================================== ffff8801c677ae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 >ffff8801c677ad80: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Memory state around the buggy address: ffff8801c677ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Object at ffff8801c677ad80, in cache fasync_cache size: 96 ^ ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Allocated: ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PID = 0 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ^ save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 CPU: 1 PID: 8961 Comm: syz-executor2 Tainted: G B 4.9.67-gf26d3c7 #106 Allocated: ^ [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c677ade4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c677ade4 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801c677ad80, in cache fasync_cache size: 96 Call Trace: PID = 8961 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc PID = 0 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 1 PID: 8961 Comm: syz-executor2 Tainted: G B 4.9.67-gf26d3c7 #106 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: [] do_readv+0xe6/0x250 fs/read_write.c:924 Call Trace: Object at ffff8801c677ad80, in cache fasync_cache size: 96 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c677ac80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ^ SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: [] vfs_readv+0x84/0xc0 fs/read_write.c:898 CPU: 1 PID: 8961 Comm: syz-executor2 Tainted: G B 4.9.67-gf26d3c7 #106 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ffff8801c677ad00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691