>ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Memory state around the buggy address: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801d9af5080: 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff PID = 3617 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 (stack is not available) Allocated: ^ ^ 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 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor3/3617 ffff8801d9af5080: 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 ^ [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Object at ffff8801d9af5000, in cache fasync_cache size: 96 Read of size 4 by task syz-executor3/3617 ================================================================== ffff8801d9af5080: 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 Read of size 4 by task syz-executor3/3617 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ^ PID = 0 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Read of size 4 by task syz-executor3/3617 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 (stack is not available) BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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 Call Trace: ================================================================== ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ffff8801d9af5100: 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 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 PID = 0 Read of size 4 by task syz-executor3/3617 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Read of size 4 by task syz-executor3/3617 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Read of size 4 by task syz-executor3/3617 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ================================================================== [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801d9af5100: 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 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Read of size 4 by task syz-executor3/3617 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 Object at ffff8801d9af5000, in cache fasync_cache size: 96 Read of size 4 by task syz-executor3/3617 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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Call Trace: [] vfs_read+0x11e/0x380 fs/read_write.c:475 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Read of size 4 by task syz-executor3/3617 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ^ 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 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 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ffff8801d9af5080: 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 Read of size 4 by task syz-executor3/3617 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 Memory state around the buggy address: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ^ 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 Read of size 4 by task syz-executor3/3617 ================================================================== [] 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: entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801d9af5080: 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 Memory state around the buggy address: ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ================================================================== Object at ffff8801d9af5000, in cache fasync_cache size: 96 ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] __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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ^ set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801d9af5100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 PID = 0 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 Read of size 4 by task syz-executor3/3617 ^ [] 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 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] __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 [] 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Read of size 4 by task syz-executor3/3617 ^ BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] vfs_read+0x11e/0x380 fs/read_write.c:475 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Read of size 4 by task syz-executor3/3617 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 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 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PID = 3617 ^ ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] vfs_read+0x11e/0x380 fs/read_write.c:475 >ffff8801d9af5000: 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 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Object at ffff8801d9af5000, in cache fasync_cache size: 96 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 Allocated: >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ================================================================== Allocated: kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 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 Read of size 4 by task syz-executor3/3617 ================================================================== [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Allocated: Memory state around the buggy address: Read of size 4 by task syz-executor3/3617 Read of size 4 by task syz-executor3/3617 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ffff8801d9af5100: 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Object at ffff8801d9af5000, in cache fasync_cache size: 96 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] vfs_read+0x11e/0x380 fs/read_write.c:475 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Object at ffff8801d9af5000, in cache fasync_cache size: 96 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 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 [] 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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 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 ^ [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Read of size 4 by task syz-executor3/3617 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Allocated: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801d9af5080: 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 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Read of size 4 by task syz-executor3/3617 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 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 Call Trace: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ffff8801d9af5080: 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 Read of size 4 by task syz-executor3/3617 [] 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 ================================================================== ffff8801d9af5100: 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 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 ffff8801d9af5000, in cache fasync_cache size: 96 ^ save_stack+0x43/0xd0 mm/kasan/kasan.c:495 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] vfs_read+0x11e/0x380 fs/read_write.c:475 Object at ffff8801d9af5000, in cache fasync_cache size: 96 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] 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_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] vfs_read+0x11e/0x380 fs/read_write.c:475 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8801d9af5080: 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 [] 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 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ffff8801d9af5080: 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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 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 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 [] 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 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __vfs_read+0x103/0x670 fs/read_write.c:452 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 Call Trace: [] vfs_read+0x11e/0x380 fs/read_write.c:475 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 Read of size 4 by task syz-executor3/3617 ================================================================== Read of size 4 by task syz-executor3/3617 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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: [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] vfs_read+0x11e/0x380 fs/read_write.c:475 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 Read of size 4 by task syz-executor3/3617 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ^ 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 Call Trace: [] vfs_read+0x11e/0x380 fs/read_write.c:475 Allocated: Memory state around the buggy address: Read of size 4 by task syz-executor3/3617 Read of size 4 by task syz-executor3/3617 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801d9af5080: 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 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 Allocated: 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 [] 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 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_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Read of size 4 by task syz-executor3/3617 ================================================================== >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Call Trace: set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 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 ================================================================== Memory state around the buggy address: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 (stack is not available) Object at ffff8801d9af5000, in cache fasync_cache size: 96 ================================================================== [] vfs_read+0x11e/0x380 fs/read_write.c:475 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801d9af5080: 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 [] 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 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 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 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 [] __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 Read of size 4 by task syz-executor3/3617 Read of size 4 by task syz-executor3/3617 ffff8801d9af5100: 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Object at ffff8801d9af5000, in cache fasync_cache size: 96 PID = 0 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 ^ ^ 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 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ^ [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Memory state around the buggy address: ffff8801d9af5080: 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ================================================================== ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ================================================================== ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 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 PID = 0 [] 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 Memory state around the buggy address: 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 PID = 0 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 ================================================================== ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] vfs_read+0x11e/0x380 fs/read_write.c:475 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 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] vfs_read+0x11e/0x380 fs/read_write.c:475 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 Allocated: fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801d9af5080: 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Call Trace: [] 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 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ================================================================== ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ================================================================== CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] vfs_read+0x11e/0x380 fs/read_write.c:475 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 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_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 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] 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 Freed: Memory state around the buggy address: Memory state around the buggy address: ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ffff8801d9af5080: 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 Read of size 4 by task syz-executor3/3617 ffff8801d9af5100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ================================================================== ^ ffff8801d9af5080: 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 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Read of size 4 by task syz-executor3/3617 [] 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 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 Freed: fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 PID = 0 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ffff8801d9af5100: 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 Call Trace: ffff8801d9af5100: 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 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] 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 [] 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 Freed: Memory state around the buggy address: ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 ================================================================== [] 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc Read of size 4 by task syz-executor3/3617 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 PID = 3617 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: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ^ set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801d9af5100: 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 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 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Allocated: ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ^ 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 [] 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Allocated: ffff8801d9af4f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Read of size 4 by task syz-executor3/3617 Read of size 4 by task syz-executor3/3617 >ffff8801d9af5000: 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 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 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Memory state around the buggy address: 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 [] 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801d9af5080: 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 ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ^ 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 ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 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 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 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 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 ^ >ffff8801d9af5000: 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 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Memory state around the buggy address: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] do_syscall_32_irqs_on arch/x86/entry/common.c:322 [inline] [] do_fast_syscall_32+0x2f7/0x890 arch/x86/entry/common.c:384 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ^ save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 PID = 0 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 (stack is not available) ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 Allocated: PID = 0 ffff8801d9af5100: 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 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ================================================================== [] 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 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801d9af5080: 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 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Read of size 4 by task syz-executor3/3617 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffffffff8153a44c ffffed003b35ea0c ffff8801d77ed140 0000000000000000 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 Call Trace: [] vfs_read+0x11e/0x380 fs/read_write.c:475 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ================================================================== kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Call Trace: ^ Allocated: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ffff8801d9af5080: 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ^ ^ Object at ffff8801d9af5000, in cache fasync_cache size: 96 C_SYSC_fcntl64 fs/compat.c:469 [inline] compat_SyS_fcntl64+0xce/0x4f0 fs/compat.c:403 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Allocated: Freed: >ffff8801d9af5000: 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 Object at ffff8801d9af5000, in cache fasync_cache size: 96 ffff8801d9af5080: 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 ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 PID = 3617 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 Memory state around the buggy address: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 Allocated: Object at ffff8801d9af5000, in cache fasync_cache size: 96 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 ================================================================== Object at ffff8801d9af5000, in cache fasync_cache size: 96 Read of size 4 by task syz-executor3/3617 ================================================================== ffff8801c0167950 ffffffff81d90889 ffff8801d77ed140 ffff8801d9af5000 ffff8801d9af5080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:124 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801d9af5100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Read of size 4 by task syz-executor3/3617 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d9af4f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== ffff8801d9af5060 ffffed003b35ea0c ffff8801d9af5064 ffff8801c0167978 ================================================================== CPU: 0 PID: 3617 Comm: syz-executor3 Tainted: G B 4.9.68-gfb66dc2 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor3/3617 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801d9af5064 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801d9af5064 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Freed: [] 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] vfs_read+0x11e/0x380 fs/read_write.c:475 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] 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 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 >ffff8801d9af5000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527