Object at ffff8801c2ef2000, in cache fasync_cache size: 96 [] vfs_read+0x11e/0x380 fs/read_write.c:475 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 Read of size 4 by task syz-executor0/3661 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ================================================================== 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 ^ Call Trace: ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ================================================================== >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c2ef2080: 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 >ffff8801c2ef2000: 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 (stack is not available) Allocated: ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Call Trace: [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 (stack is not available) Allocated: ^ ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 (stack is not available) Allocated: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Freed: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __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 ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc PID = 0 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 (stack is not available) Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Read of size 4 by task syz-executor0/3661 ^ ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 PID = 0 Freed: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] __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 Memory state around the buggy address: ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 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 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 Call Trace: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 Call Trace: set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Allocated: ^ ^ ^ ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ^ ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] 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 ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] 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 ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ================================================================== [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Allocated: ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 PID = 0 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] __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 Memory state around the buggy address: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ^ Read of size 4 by task syz-executor0/3661 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Allocated: ^ ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 ^ ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 PID = 0 [] 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 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Allocated: ^ ^ ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __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 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Allocated: ^ ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 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_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 Freed: Read of size 4 by task syz-executor0/3661 ================================================================== ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc 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 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Allocated: ^ ================================================================== Allocated: >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 ================================================================== Object at ffff8801c2ef2000, 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 Call Trace: set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] 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 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc Call Trace: kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __vfs_read+0x103/0x670 fs/read_write.c:452 >ffff8801c2ef2000: 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 setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 Read of size 4 by task syz-executor0/3661 [] 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-executor0/3661 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] __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 ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] 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 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 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 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 Call Trace: Allocated: ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 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 Read of size 4 by task syz-executor0/3661 Call Trace: Allocated: ^ ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 PID = 0 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 ================================================================== [] 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 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ^ Read of size 4 by task syz-executor0/3661 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Allocated: ffff8801c2ef2100: 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 [] 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 Read of size 4 by task syz-executor0/3661 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __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 (stack is not available) Allocated: ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 ^ ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 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 [] 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 CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 [] vfs_read+0x11e/0x380 fs/read_write.c:475 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 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 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 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 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 Read of size 4 by task syz-executor0/3661 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] 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 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 >ffff8801c2ef2000: 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 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 Call Trace: 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 ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ================================================================== Call Trace: Allocated: ^ ^ >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Allocated: ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Freed: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Read of size 4 by task syz-executor0/3661 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 Call Trace: kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] 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 Read of size 4 by task syz-executor0/3661 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Freed: ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ================================================================== Allocated: ================================================================== save_stack+0x43/0xd0 mm/kasan/kasan.c:495 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 Memory state around the buggy address: [] __vfs_read+0x103/0x670 fs/read_write.c:452 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 [] __vfs_read+0x103/0x670 fs/read_write.c:452 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 Read of size 4 by task syz-executor0/3661 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ================================================================== save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 >ffff8801c2ef2000: 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Allocated: ^ ================================================================== kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] 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 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 ================================================================== PID = 3661 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Call Trace: C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 Call Trace: 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ================================================================== [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ================================================================== Object at ffff8801c2ef2000, 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 ^ Read of size 4 by task syz-executor0/3661 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __vfs_read+0x103/0x670 fs/read_write.c:452 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Allocated: ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ^ ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 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 Memory state around the buggy address: ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc PID = 3661 Read of size 4 by task syz-executor0/3661 ffff8801c2ef2100: 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 ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc Call Trace: entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 Call Trace: Allocated: Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ================================================================== kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 ^ Read of size 4 by task syz-executor0/3661 ================================================================== save_stack+0x43/0xd0 mm/kasan/kasan.c:495 (stack is not available) 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 Object at ffff8801c2ef2000, 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 [] 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 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 Call Trace: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 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 [] 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-executor0/3661 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 >ffff8801c2ef2000: 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 [] 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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ================================================================== 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: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ================================================================== kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ================================================================== save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] 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 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 Call Trace: 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 Object at ffff8801c2ef2000, 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc PID = 3661 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Allocated: >ffff8801c2ef2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ^ BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 Call Trace: setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] 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 ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Allocated: ^ ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Call Trace: setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 Read of size 4 by task syz-executor0/3661 ================================================================== [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] vfs_read+0x11e/0x380 fs/read_write.c:475 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Object at ffff8801c2ef2000, 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Allocated: ================================================================== C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 [] __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 ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ^ BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] __vfs_read+0x103/0x670 fs/read_write.c:452 Object at ffff8801c2ef2000, 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 ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 Read of size 4 by task syz-executor0/3661 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Call Trace: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Allocated: ffff8801c2ef2100: 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 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 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 ffff8801c2ef2000, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ^ ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Allocated: ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ================================================================== ================================================================== Allocated: ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ================================================================== setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 ^ ================================================================== Freed: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] 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_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Allocated: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 ffffffff8153a44c ffffed00385de40c ffff8801d7439c80 0000000000000000 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 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 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 Call Trace: C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 Call Trace: setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 [] vfs_read+0x11e/0x380 fs/read_write.c:475 CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 Read of size 4 by task syz-executor0/3661 ================================================================== save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Memory state around the buggy address: [] __vfs_read+0x103/0x670 fs/read_write.c:452 ================================================================== sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Object at ffff8801c2ef2000, 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 Memory state around the buggy address: [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] 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_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ================================================================== [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c043f950 ffffffff81d90889 ffff8801d7439c80 ffff8801c2ef2000 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 ffff8801c2ef2060 ffffed00385de40c ffff8801c2ef2064 ffff8801c043f978 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Allocated: ^ CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 PID = 3661 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ffff8801c2ef2100: 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 Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ================================================================== 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 ffff8801c2ef2000, 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 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 Call Trace: setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 Call Trace: setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 Call Trace: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ================================================================== Allocated: ================================================================== Object at ffff8801c2ef2000, 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 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Allocated: ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Object at ffff8801c2ef2000, in cache fasync_cache size: 96 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ================================================================== ffff8801c2ef2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Object at ffff8801c2ef2000, 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 ================================================================== Object at ffff8801c2ef2000, in cache fasync_cache size: 96 ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 Call Trace: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Object at ffff8801c2ef2000, in cache fasync_cache size: 96 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 CPU: 1 PID: 3661 Comm: syz-executor0 Tainted: G B 4.9.68-gfb66dc2 #3 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 Call Trace: fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Allocated: ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801c2ef2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 (stack is not available) Allocated: ^ ffff8801c2ef1f00: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801c2ef1f80: fb fb fc fc fb fb fc fc fb fb fc fc 00 00 fc fc setfl fs/fcntl.c:70 [inline] do_fcntl fs/fcntl.c:267 [inline] SYSC_fcntl fs/fcntl.c:372 [inline] SyS_fcntl+0x658/0xc70 fs/fcntl.c:357 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c2ef2064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c2ef2064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Freed: