set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 __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: [] 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 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 __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: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc 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-executor4/12931 [] 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 ^ __do_softirq+0x206/0x951 kernel/softirq.c:284 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 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 ^ ffff8801cbd35880: 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 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 ^ ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc __do_softirq+0x206/0x951 kernel/softirq.c:284 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Read of size 4 by task syz-executor4/12931 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 __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 ^ Freed: ^ [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Read of size 4 by task syz-executor4/12931 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 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 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_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 ================================================================== Read of size 4 by task syz-executor4/12931 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 PID = 0 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Memory state around the buggy address: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Read of size 4 by task syz-executor4/12931 ffff8801cbd35800: 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 [] 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 [] __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 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801cbd35880: 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 ffff8801cbd35a00: 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 __do_softirq+0x206/0x951 kernel/softirq.c:284 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 Memory state around the buggy address: CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 Freed: ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35980: 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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 __do_softirq+0x206/0x951 kernel/softirq.c:284 >ffff8801cbd35900: 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 ffff8801cbd35a00: 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 PID = 0 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ^ Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Memory state around the buggy address: ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== __do_softirq+0x206/0x951 kernel/softirq.c:284 ================================================================== 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 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 >ffff8801cbd35900: 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 ffff8801cbd35800: 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 Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 [] 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 [] __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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801cbd35880: 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] __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 ffff8801cbd35a00: 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_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] 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_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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 __do_softirq+0x206/0x951 kernel/softirq.c:284 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 ^ [] __vfs_read+0x103/0x670 fs/read_write.c:452 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 ffff8801cbd35a00: 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 [] 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 >ffff8801cbd35900: 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] __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 ffff8801cbd35880: 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_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 ffff8801cbd35880: 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 ffff8801cbd35880: 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 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc 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 ^ [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801cbd35980: 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 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] 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 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffff8801cbd35980: 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 ================================================================== Object at ffff8801cbd35900, in cache fasync_cache size: 96 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801cbd35a00: 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 [] 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 entry_SYSCALL_64_fastpath+0x23/0xc6 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 __do_softirq+0x206/0x951 kernel/softirq.c:284 ^ ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 Freed: ffff8801cbd35980: 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 Call Trace: [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 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 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ^ [] __vfs_read+0x103/0x670 fs/read_write.c:452 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801cbd35880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 ffff8801cbd35800: 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 Object at ffff8801cbd35900, in cache fasync_cache size: 96 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Freed: ^ [] vfs_read+0x11e/0x380 fs/read_write.c:475 Object at ffff8801cbd35900, in cache fasync_cache size: 96 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 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 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 __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 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 __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+0x11e/0x380 fs/read_write.c:475 Object at ffff8801cbd35900, in cache fasync_cache size: 96 ffff8801cbd35800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 __do_softirq+0x206/0x951 kernel/softirq.c:284 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Allocated: [] 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 [] 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 ffff8801cbd35980: 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 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ^ fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801cbd35880: 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 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 ffff8801cbd35980: 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 Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35980: 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 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801cbd35a00: 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 >ffff8801cbd35900: 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 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Memory state around the buggy address: ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35980: 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 [] 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 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 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_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801cbd35800: 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== ffff8801cbd35980: 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] __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 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffff8801cbd35800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Call Trace: [] __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+0x103/0x670 fs/read_write.c:452 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 PID = 12934 Freed: fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] 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_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== ================================================================== __do_softirq+0x206/0x951 kernel/softirq.c:284 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801cbd35800: 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 [] 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 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Memory state around the buggy address: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] 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 Memory state around the buggy address: CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801cbd35a00: 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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Allocated: 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 Read of size 4 by task syz-executor4/12931 ^ [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 Freed: ================================================================== [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 >ffff8801cbd35900: 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 ffff8801cbd35980: 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 ================================================================== save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffff8801cbd35880: 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 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 PID = 0 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] 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 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ^ sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] 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_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 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc PID = 12934 Freed: __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_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 = 0 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 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 ================================================================== Freed: ffff8801cbd35880: 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Read of size 4 by task syz-executor4/12931 ================================================================== [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] 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 Freed: ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] __vfs_read+0x103/0x670 fs/read_write.c:452 Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 __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 ffff8801cbd35980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc PID = 0 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801cbd35a00: 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 PID = 0 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 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 ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 PID = 12934 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] 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 ffff8801cbd35880: 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 >ffff8801cbd35900: 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 Memory state around the buggy address: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801cbd35880: 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 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 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-executor4/12931 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 __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 ffff8801cbd35980: 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 Read of size 4 by task syz-executor4/12931 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] 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: ffff8801cbd35880: 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_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 ffff8801cbd35880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] entry_SYSCALL_64_fastpath+0x23/0xc6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801cbd35900: 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 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 __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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 __do_softirq+0x206/0x951 kernel/softirq.c:284 ffff8801cbd35980: 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 Memory state around the buggy address: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35980: 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 __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 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 ffff8801cbd35900, 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Allocated: save_stack+0x43/0xd0 mm/kasan/kasan.c:495 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 ================================================================== BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 ffff8801cbd35a00: 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 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801cbd35800: 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 PID = 0 Call Trace: ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ffff8801cbd35800: 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 ffff8801cbd35880: 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 Object at ffff8801cbd35900, in cache fasync_cache size: 96 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 >ffff8801cbd35900: 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 [] 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801cbd35900: 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_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 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_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] __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 ================================================================== [] __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 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+0x103/0x670 fs/read_write.c:452 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Allocated: [] 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 entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== __do_softirq+0x206/0x951 kernel/softirq.c:284 [] entry_SYSCALL_64_fastpath+0x23/0xc6 [] 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 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 Freed: Read of size 4 by task syz-executor4/12931 Freed: >ffff8801cbd35900: 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 __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 Freed: ffff8801cbd35980: 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 __do_softirq+0x206/0x951 kernel/softirq.c:284 Allocated: ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 [] 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 ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 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 [] __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 ffff8801cbd35a00: 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 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 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 [] __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 ^ __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 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801cbd35980: 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 ffff8801cbd35980: 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 >ffff8801cbd35900: 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801cbd35880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ^ [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801cbd35800: 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 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 ffff8801cbd35800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ================================================================== ^ [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 entry_SYSCALL_64_fastpath+0x23/0xc6 [] 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 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801cbd35800: 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 ffff8801cbd35880: 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 >ffff8801cbd35900: 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 ffff8801cbd35880: 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 >ffff8801cbd35900: 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+0x43/0xd0 mm/kasan/kasan.c:495 ================================================================== set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801cbd35880: 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 ffff8801cbd35800: 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 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 = 0 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Freed: 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 ffff8801cbd35800: 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 Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 ================================================================== [] __vfs_read+0x103/0x670 fs/read_write.c:452 ffff8801cbd35800: 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 Memory state around the buggy address: ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Read of size 4 by task syz-executor4/12931 Read of size 4 by task syz-executor4/12931 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] __vfs_read+0x103/0x670 fs/read_write.c:452 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 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35980: 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 ffff8801cbd35880: 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 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 __do_softirq+0x206/0x951 kernel/softirq.c:284 Object at ffff8801cbd35900, in cache fasync_cache size: 96 [] 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 [] 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 Memory state around the buggy address: ================================================================== ffff8801cbd35980: 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 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] 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 ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Memory state around the buggy address: ffff8801cbd35880: 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35a00: 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 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ================================================================== ffff8801cbd35800: 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 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 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 >ffff8801cbd35900: 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ^ [] 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: ffff8801cbd35880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 Call Trace: [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ^ [] __vfs_read+0x103/0x670 fs/read_write.c:452 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 ================================================================== Memory state around the buggy address: Read of size 4 by task syz-executor4/12931 ffff8801cbd35a00: 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 [] 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-executor4/12931 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801cbd35880: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffffffff8153a3ac ffffed00397a6b2c ffff8801d7bf3280 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35980: 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 __do_softirq+0x206/0x951 kernel/softirq.c:284 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbd35a00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Read of size 4 by task syz-executor4/12931 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801cbd35964 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801cbd35964 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801cbd35980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801cbd35960 ffffed00397a6b2c ffff8801cbd35964 ffff8801cb0379d8 ================================================================== [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] vfs_read+0x11e/0x380 fs/read_write.c:475 ffff8801cbd35a00: 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 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 ffff8801cbd35800: 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 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 ================================================================== [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] vfs_read+0x11e/0x380 fs/read_write.c:475 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 CPU: 0 PID: 12931 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 ffff8801cbd35980: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801cbd35900: 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 >ffff8801cbd35900: 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 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Read of size 4 by task syz-executor4/12931 ^ [] __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 ffff8801cbd35980: 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_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 ffff8801cb0379b0 ffffffff81d90429 ffff8801d7bf3280 ffff8801cbd35900 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801cbd35900: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Memory state around the buggy address: ffff8801cbd35800: 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 ================================================================== [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ================================================================== [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ^ ================================================================== [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838