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