[] entry_SYSCALL_64_fastpath+0x23/0xc6 Read of size 4 by task syz-executor2/12375 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 >ffff8801a416b580: 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 ================================================================== PID = 3985 [] 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 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb 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 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 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 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ================================================================== [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ^ ^ [] 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 Allocated: ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 Memory state around the buggy address: ================================================================== [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 entry_SYSCALL_64_fastpath+0x23/0xc6 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Allocated: set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ffff8801a416b600: 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Call Trace: [] 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 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Allocated: ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ^ [] 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ================================================================== [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: Allocated: ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 Read of size 4 by task syz-executor2/12375 ================================================================== [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] 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 ================================================================== slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 >ffff8801a416b580: 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 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 ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor2/12375 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb 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 ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 >ffff8801a416b580: 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Allocated: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Read of size 4 by task syz-executor2/12375 ^ Memory state around the buggy address: ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Object at ffff8801a416b580, in cache fasync_cache size: 96 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 >ffff8801a416b580: 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 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 ^ [] 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 PID = 12375 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor2/12375 >ffff8801a416b580: 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 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 PID = 12375 Freed: 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Allocated: sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PID = 3985 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 Allocated: set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Object at ffff8801a416b580, in cache fasync_cache size: 96 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Freed: ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 Call Trace: [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __vfs_read+0x103/0x670 fs/read_write.c:452 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] 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 ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 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 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Object at ffff8801a416b580, in cache fasync_cache size: 96 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 PID = 12375 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 PID = 12375 [] vfs_read+0x11e/0x380 fs/read_write.c:475 Read of size 4 by task syz-executor2/12375 ================================================================== [] __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 ffff8801a416b600: 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 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 >ffff8801a416b580: 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 ================================================================== [] __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-executor2/12375 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 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 [] 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 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 ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Read of size 4 by task syz-executor2/12375 ffff8801a416b600: 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 Object at ffff8801a416b580, in cache fasync_cache size: 96 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Memory state around the buggy address: ffff8801a416b600: 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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Freed: ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Call Trace: [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Freed: ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 Read of size 4 by task syz-executor2/12375 [] __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 [] 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 Call Trace: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Allocated: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Read of size 4 by task syz-executor2/12375 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __read_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 PID = 3985 Read of size 4 by task syz-executor2/12375 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Freed: >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor2/12375 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 PID = 3985 Allocated: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] __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_SYSCALL_64_fastpath+0x23/0xc6 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 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 [] 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 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 Freed: ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] 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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] __vfs_read+0x103/0x670 fs/read_write.c:452 entry_SYSCALL_64_fastpath+0x23/0xc6 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 PID = 12375 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 PID = 12375 Allocated: [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 entry_SYSCALL_64_fastpath+0x23/0xc6 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Allocated: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 PID = 12375 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ^ save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ^ ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 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 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b600: 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 Object at ffff8801a416b580, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ^ Memory state around the buggy address: ffff8801a416b600: 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 Allocated: [] __vfs_read+0x103/0x670 fs/read_write.c:452 Freed: ^ ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 Read of size 4 by task syz-executor2/12375 Memory state around the buggy address: ================================================================== [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ^ [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 PID = 3985 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ^ >ffff8801a416b580: 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 ================================================================== ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor2/12375 ^ Read of size 4 by task syz-executor2/12375 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb 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 PID = 12375 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ================================================================== [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 >ffff8801a416b580: 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 Allocated: ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 >ffff8801a416b580: 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] SYSC_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 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Memory state around the buggy address: ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 PID = 12375 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 ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 ffff8801a416b600: 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Allocated: >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] __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 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb 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 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PID = 3985 Allocated: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 Allocated: ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 ================================================================== [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 Allocated: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PID = 3985 Object at ffff8801a416b580, 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Freed: __do_softirq+0x206/0x951 kernel/softirq.c:284 [] 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 PID = 3985 Object at ffff8801a416b580, in cache fasync_cache size: 96 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 Read of size 4 by task syz-executor2/12375 ffff8801a416b600: 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Allocated: [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: >ffff8801a416b580: 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __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 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 Read of size 4 by task syz-executor2/12375 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ================================================================== [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 PID = 12375 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 >ffff8801a416b580: 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 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 Memory state around the buggy address: ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Call Trace: [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Object at ffff8801a416b580, in cache fasync_cache size: 96 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Object at ffff8801a416b580, in cache fasync_cache size: 96 Read of size 4 by task syz-executor2/12375 ffff8801a416b600: 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 Freed: ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ [] 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 ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] 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 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ================================================================== Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Call Trace: Allocated: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 __do_softirq+0x206/0x951 kernel/softirq.c:284 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: Allocated: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 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 ffff8801a416b580, 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 Object at ffff8801a416b580, in cache fasync_cache size: 96 Object at ffff8801a416b580, in cache fasync_cache size: 96 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor2/12375 >ffff8801a416b580: 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 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 [] 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 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Object at ffff8801a416b580, 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Allocated: [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb 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 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ================================================================== [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 ^ [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] 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+0x11e/0x380 fs/read_write.c:475 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __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 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] 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_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 ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PID = 3985 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 >ffff8801a416b580: 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 __do_softirq+0x206/0x951 kernel/softirq.c:284 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 PID = 12375 entry_SYSCALL_64_fastpath+0x23/0xc6 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 ffff8801a416b600: 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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Allocated: [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 >ffff8801a416b580: 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 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] __vfs_read+0x103/0x670 fs/read_write.c:452 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] __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 ffff8801a416b580, in cache fasync_cache size: 96 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] __vfs_read+0x103/0x670 fs/read_write.c:452 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 PID = 12375 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== PID = 12375 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 Call Trace: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Read of size 4 by task syz-executor2/12375 CPU: 1 PID: 12375 Comm: syz-executor2 Tainted: G B 4.9.65-gea83e4a #95 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Call Trace: Read of size 4 by task syz-executor2/12375 [] 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 [] 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 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Read of size 4 by task syz-executor2/12375 ffff8801a416b600: 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ^ slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Read of size 4 by task syz-executor2/12375 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: Call Trace: 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Read of size 4 by task syz-executor2/12375 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 __do_softirq+0x206/0x951 kernel/softirq.c:284 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 >ffff8801a416b580: 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 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 Allocated: Object at ffff8801a416b580, 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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 PID = 3985 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 ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb 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 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 >ffff8801a416b580: 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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ================================================================== [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ffff8801a416b600: 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 ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 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 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 entry_SYSCALL_64_fastpath+0x23/0xc6 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Object at ffff8801a416b580, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Call Trace: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 >ffff8801a416b580: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Allocated: ^ [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 PID = 3985 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 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 Freed: ffff8801a416b500: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor2/12375 ^ [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Object at ffff8801a416b580, in cache fasync_cache size: 96 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 Read of size 4 by task syz-executor2/12375 >ffff8801a416b580: 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 [] 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 ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 >ffff8801a416b580: 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a416b480: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a416b5e0 ffffed003482d6bc ffff8801a416b5e4 ffff8801d07c79d8 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 entry_SYSCALL_64_fastpath+0x23/0xc6 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801d07c79b0 ffffffff81d90469 ffff8801d77ec140 ffff8801a416b580 ffff8801a416b680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Object at ffff8801a416b580, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a416b600: 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 [] __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 [] entry_SYSCALL_64_fastpath+0x23/0xc6 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 >ffff8801a416b580: 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 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a416b5e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a416b5e4 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ================================================================== >ffff8801a416b580: 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] __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 PID = 12375 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ^ ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 ^ slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 __do_softirq+0x206/0x951 kernel/softirq.c:284 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffffffff8153a3fc ffffed003482d6bc ffff8801d77ec140 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a416b600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801a416b600: 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ================================================================== save_stack+0x43/0xd0 mm/kasan/kasan.c:495