[] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 Read of size 4 by task syz-executor7/14592 >ffff8801a9ea2980: 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 Read of size 4 by task syz-executor7/14592 ^ Memory state around the buggy address: Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a9ea2900: 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 [] 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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Call Trace: Read of size 4 by task syz-executor7/14592 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ================================================================== [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Read of size 4 by task syz-executor7/14592 >ffff8801a9ea2980: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor7/14592 [] __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 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 Read of size 4 by task syz-executor7/14592 ================================================================== Object at ffff8801a9ea2980, in cache fasync_cache size: 96 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ^ Freed: ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 Read of size 4 by task syz-executor7/14592 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Freed: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ================================================================== ================================================================== Object at ffff8801a9ea2980, 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ^ ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Call Trace: Object at ffff8801a9ea2980, 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: __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 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 Memory state around the buggy address: __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 Read of size 4 by task syz-executor7/14592 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] __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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ^ ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== [] 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 >ffff8801a9ea2980: 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 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 __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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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 Read of size 4 by task syz-executor7/14592 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2a00: 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 __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 ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 ^ [] 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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 Call Trace: >ffff8801a9ea2980: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 ================================================================== ================================================================== ================================================================== kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Read of size 4 by task syz-executor7/14592 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] 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 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 [] 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] 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 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 __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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ^ ================================================================== [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 Call Trace: >ffff8801a9ea2980: 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 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: Memory state around the buggy address: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 __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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Call Trace: >ffff8801a9ea2980: 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 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc __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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 __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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] __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 [] __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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== [] 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 Allocated: __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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== [] __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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2900: 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 Allocated: Read of size 4 by task syz-executor7/14592 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] 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 ================================================================== [] 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 PID = 3 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 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 [] 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] entry_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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] 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 [] 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 Object at ffff8801a9ea2980, 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 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a9ea2900: 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 ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] 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 [] 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 Read of size 4 by task syz-executor7/14592 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor7/14592 PID = 14592 ^ [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Read of size 4 by task syz-executor7/14592 __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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Read of size 4 by task syz-executor7/14592 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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 >ffff8801a9ea2980: 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 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 [] __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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] entry_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 ================================================================== [] 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 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 Object at ffff8801a9ea2980, 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 Read of size 4 by task syz-executor7/14592 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] __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 __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 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] 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 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a9ea2a80: 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 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 [] 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 Read of size 4 by task syz-executor7/14592 PID = 3 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 ffff8801a9ea2a80: 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 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 [] 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 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 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Allocated: Read of size 4 by task syz-executor7/14592 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 [] __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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor7/14592 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] __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 [] 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_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Read of size 4 by task syz-executor7/14592 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 __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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 PID = 3 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 [] entry_SYSCALL_64_fastpath+0x23/0xc6 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 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 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 ================================================================== [] 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 Freed: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Freed: [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2a80: 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 Memory state around the buggy address: [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Memory state around the buggy address: Memory state around the buggy address: 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a9ea2a00: 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 >ffff8801a9ea2980: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 __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 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 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 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_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 Call Trace: >ffff8801a9ea2980: 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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Freed: [] 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: ffff8801a9ea2900: 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 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 [] 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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 __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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 ================================================================== [] 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 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 Read of size 4 by task syz-executor7/14592 __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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 Read of size 4 by task syz-executor7/14592 __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 [] 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Call Trace: ffff8801a9ea2900: 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 Call Trace: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ================================================================== [] __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_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 >ffff8801a9ea2980: 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_object_err+0x1c/0x70 mm/kasan/report.c:160 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 __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 Call Trace: set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] 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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 >ffff8801a9ea2980: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== Read of size 4 by task syz-executor7/14592 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ================================================================== Memory state around the buggy address: __do_softirq+0x206/0x951 kernel/softirq.c:284 [] __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 Freed: [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 [] __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 __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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: entry_SYSCALL_64_fastpath+0x23/0xc6 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 __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 Call Trace: ^ ffff8801a9ea2900: 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 ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] vfs_read+0x11e/0x380 fs/read_write.c:475 Read of size 4 by task syz-executor7/14592 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 Read of size 4 by task syz-executor7/14592 ffff8801a9ea2900: 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 ================================================================== ffff8801a9ea2900: 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 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Freed: ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2a00: 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 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ^ __do_softirq+0x206/0x951 kernel/softirq.c:284 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ================================================================== [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Memory state around the buggy address: fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ^ [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] __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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a9ea2880: 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 [] __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_free_rcu+0x1d/0x20 fs/fcntl.c:563 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 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 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] 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: ffff8801a9ea2880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 ================================================================== ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 >ffff8801a9ea2980: 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] __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 ffff8801a9ea2900: 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 [] 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 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 [] 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 entry_SYSCALL_64_fastpath+0x23/0xc6 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== ffff8801a9ea2880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] __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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ^ [] 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 Call Trace: ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Memory state around the buggy address: [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a9ea2a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Freed: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ================================================================== [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Object at ffff8801a9ea2980, 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 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 [] entry_SYSCALL_64_fastpath+0x23/0xc6 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 ffff8801a9ea2880: 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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Call Trace: entry_SYSCALL_64_fastpath+0x23/0xc6 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] __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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] entry_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 Allocated: ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2900: 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 [] 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 ffff8801a9ea2a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc 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 [] 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 [] 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-executor7/14592 __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 [] 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: Memory state around the buggy address: [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ================================================================== ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801a9ea2980: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] __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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 ffff8801a9ea2900: 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a9ea2a80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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: Object at ffff8801a9ea2980, 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 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] __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 ffff8801a9ea2980, in cache fasync_cache size: 96 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] __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_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 __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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Object at ffff8801a9ea2980, in cache fasync_cache size: 96 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ffff8801a9ea2900: 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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 Read of size 4 by task syz-executor7/14592 ffff8801a9ea2880: 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 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 ================================================================== ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801a9ea29e4 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801a9ea29e4 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Call Trace: CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] entry_SYSCALL_64_fastpath+0x23/0xc6 >ffff8801a9ea2980: 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 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 Freed: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: __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 [] 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: [] entry_SYSCALL_64_fastpath+0x23/0xc6 __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 CPU: 0 PID: 14592 Comm: syz-executor7 Tainted: G B 4.9.67-gf26d3c7 #106 Call Trace: >ffff8801a9ea2980: 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 Call Trace: Freed: [] 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 ffff8801a9ea2900: 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a9ea29e0 ffffed00353d453c ffff8801a9ea29e4 ffff8801a53cf9d8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a53cf9b0 ffffffff81d906e9 ffff8801d83fe8c0 ffff8801a9ea2980 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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801a9ea2900: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor7/14592 Memory state around the buggy address: Memory state around the buggy address: ffff8801a9ea2880: 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Read of size 4 by task syz-executor7/14592 ffff8801a9ea2900: 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 Memory state around the buggy address: 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 Object at ffff8801a9ea2980, 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 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 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffffffff8153a2cc ffffed00353d453c ffff8801d83fe8c0 0000000000000000 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ================================================================== ffff8801a9ea2880: 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 ffff8801a9ea2a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Read of size 4 by task syz-executor7/14592 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Read of size 4 by task syz-executor7/14592 entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ^ set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] vfs_read+0x11e/0x380 fs/read_write.c:475 >ffff8801a9ea2980: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc PID = 3