ffff8801a5264080: 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ================================================================== ffff8801a5264080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: >ffff8801a5264000: 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Read of size 4 by task syz-executor1/3747 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] entry_SYSCALL_64_fastpath+0x23/0xc6 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 PID = 3747 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 ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc 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 [] 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] 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 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 entry_SYSCALL_64_fastpath+0x23/0xc6 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ^ CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 Freed: Freed: [] 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 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 Memory state around the buggy address: [] __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 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] __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 entry_SYSCALL_64_fastpath+0x23/0xc6 entry_SYSCALL_64_fastpath+0x23/0xc6 Memory state around the buggy address: [] 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f00: 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== Call Trace: (stack is not available) ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Call Trace: PID = 0 [] 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 ffff8801a5264100: 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 entry_SYSCALL_64_fastpath+0x23/0xc6 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 ================================================================== [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 ^ ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 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 ^ CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801a5264080: 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: Memory state around the buggy address: ================================================================== ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: (stack is not available) BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 PID = 3747 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, 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 Call Trace: Memory state around the buggy address: ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 Memory state around the buggy address: >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: (stack is not available) ================================================================== [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264100: 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801a5264080: fc fc fc fc fc fc fc fc fc fc fc fc 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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: (stack is not available) BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 ffff8801a5264080: 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 [] 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: PID = 0 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor1/3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 >ffff8801a5264000: 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 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: PID = 0 entry_SYSCALL_64_fastpath+0x23/0xc6 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 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: entry_SYSCALL_64_fastpath+0x23/0xc6 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 entry_SYSCALL_64_fastpath+0x23/0xc6 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== ffff8801a5264080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 PID = 3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __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 [] do_readv+0xe6/0x250 fs/read_write.c:924 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a5264080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: Freed: Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] __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 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] 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 ffff8801a5264000, in cache fasync_cache size: 96 [] __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 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Allocated: Read of size 4 by task syz-executor1/3747 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Read of size 4 by task syz-executor1/3747 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 Freed: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 Freed: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 Freed: ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Call Trace: Read of size 4 by task syz-executor1/3747 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] 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 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] do_readv+0xe6/0x250 fs/read_write.c:924 ================================================================== ^ Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Allocated: CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Read of size 4 by task syz-executor1/3747 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 PID = 0 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] __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 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Call Trace: entry_SYSCALL_64_fastpath+0x23/0xc6 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 4 by task syz-executor1/3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] 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 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 ================================================================== [] entry_SYSCALL_64_fastpath+0x23/0xc6 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 (stack is not available) [] 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: PID = 0 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 Memory state around the buggy address: ^ ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Allocated: CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 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 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 PID = 0 [] 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 Memory state around the buggy address: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f80: 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 ================================================================== [] 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 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 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 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 (stack is not available) [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 (stack is not available) [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 Allocated: ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f00: 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 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 ffff8801a5264080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ^ CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 Read of size 4 by task syz-executor1/3747 ================================================================== kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: (stack is not available) BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] entry_SYSCALL_64_fastpath+0x23/0xc6 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a5264080: 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 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 Memory state around the buggy address: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: entry_SYSCALL_64_fastpath+0x23/0xc6 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 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 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: 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 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a5264100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 3747 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 >ffff8801a5264000: 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 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] 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 ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] 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 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ================================================================== ^ ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 ffff8801a5263f80: 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Call Trace: Freed: [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 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 [] 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 PID = 0 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Memory state around the buggy address: ffff8801a5264080: 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 >ffff8801a5264000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== ffff8801a5264080: 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 [] 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_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __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 ffff8801a5264000, 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 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __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 [] do_readv+0xe6/0x250 fs/read_write.c:924 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Freed: Freed: Memory state around the buggy address: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 PID = 0 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Allocated: CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 entry_SYSCALL_64_fastpath+0x23/0xc6 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] entry_SYSCALL_64_fastpath+0x23/0xc6 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 3747 ffff8801a52c78b0 ffffffff81d906e9 ffff8801d83e2c80 ffff8801a5264000 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Allocated: CPU: 1 PID: 3747 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 entry_SYSCALL_64_fastpath+0x23/0xc6 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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 ================================================================== BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Call Trace: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a5264060 ffffed0034a4c80c ffff8801a5264064 ffff8801a52c78d8 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 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_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffffffff8153a2cc ffffed0034a4c80c ffff8801d83e2c80 0000000000000000 ffff8801a5263f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] entry_SYSCALL_64_fastpath+0x23/0xc6 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a5264064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a5264064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== >ffff8801a5264000: 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 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Object at ffff8801a5264000, in cache fasync_cache size: 96 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Read of size 4 by task syz-executor1/3747 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 3747 save_stack+0x43/0xd0 mm/kasan/kasan.c:495