ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Memory state around the buggy address: [] 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 Allocated: BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc PID = 4768 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: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ^ Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== ^ ^ >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Memory state around the buggy address: ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 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 [] 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Memory state around the buggy address: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 __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 entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] 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 Call Trace: ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c600: 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 [] 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 __rcu_reclaim kernel/rcu/rcu.h:118 [inline] rcu_do_batch kernel/rcu/tree.c:2789 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] rcu_process_callbacks+0x871/0x12c0 kernel/rcu/tree.c:3037 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_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 = 4768 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ================================================================== >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Call Trace: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] __read_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_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_readv+0xe6/0x250 fs/read_write.c:924 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_readv+0xe6/0x250 fs/read_write.c:924 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Memory state around the buggy address: SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 Call Trace: ^ ffff8801c6c3c800: 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 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 __do_softirq+0x206/0x951 kernel/softirq.c:284 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 Call Trace: [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801c6c3c800: 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 ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 Read of size 4 by task syz-executor1/21577 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 CPU: 0 PID: 21577 Comm: syz-executor1 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 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc PID = 4768 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 PID = 21577 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Read of size 4 by task syz-executor1/21577 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 __do_softirq+0x206/0x951 kernel/softirq.c:284 ^ ^ ================================================================== ffff8801c6c3c680: 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 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 Read of size 4 by task syz-executor1/21577 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] do_readv+0xe6/0x250 fs/read_write.c:924 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] 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 ffff8801c6c3c680: 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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-executor1/21577 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Freed: [] 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 ^ ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc 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 [] 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: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 Allocated: ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [] do_readv+0xe6/0x250 fs/read_write.c:924 PID = 21577 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 __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 [] __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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 ^ ================================================================== ^ ================================================================== >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc Freed: [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_readv+0xe6/0x250 fs/read_write.c:924 PID = 21577 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_readv+0xe6/0x250 fs/read_write.c:924 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 Call Trace: [] __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 [] 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 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc 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 Memory state around the buggy address: ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 Call Trace: [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 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 [] pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:663 [inline] [] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:28 [inline] [] queued_spin_lock include/asm-generic/qspinlock.h:103 [inline] [] queued_write_lock_slowpath+0x116/0x150 kernel/locking/qrwlock.c:115 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ^ >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 __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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_readv+0xe6/0x250 fs/read_write.c:924 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 Call Trace: [] entry_SYSCALL_64_fastpath+0x23/0xc6 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc PID = 4768 BUG: KASAN: slab-out-of-bounds in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] at addr ffff8801c6c3c764 BUG: KASAN: slab-out-of-bounds in native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 at addr ffff8801c6c3c764 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Freed: [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:187 [inline] [] _raw_write_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:303 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 PID = 21577 Call Trace: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ^ ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: 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 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 [] 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: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== ffff8801c6c3c680: 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 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ^ >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Call Trace: [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Memory state around the buggy address: Call Trace: [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 Read of size 4 by task syz-executor1/21577 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Memory state around the buggy address: [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c680: 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== ================================================================== ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] 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-executor1/21577 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c680: 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 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 Allocated: ^ Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 Memory state around the buggy address: ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 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 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 entry_SYSCALL_64_fastpath+0x23/0xc6 ^ ^ ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: 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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: [] entry_SYSCALL_64_fastpath+0x23/0xc6 ^ ^ ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ioctl_fioasync fs/ioctl.c:534 [inline] do_vfs_ioctl+0x2d8/0x1140 fs/ioctl.c:639 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 __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 [] __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 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 __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 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ^ ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_readv+0xe6/0x250 fs/read_write.c:924 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] queued_write_lock include/asm-generic/qrwlock.h:134 [inline] [] do_raw_write_lock+0xc7/0x1d0 kernel/locking/spinlock_debug.c:203 Call Trace: [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 Allocated: ^ Allocated: ================================================================== [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c600: 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 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_readv+0xe6/0x250 fs/read_write.c:924 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] __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 ================================================================== ffff8801c6c3c680: 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ================================================================== ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Read of size 4 by task syz-executor1/21577 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Freed: [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] 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 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ^ [] do_readv+0xe6/0x250 fs/read_write.c:924 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] __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 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] __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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] 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 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 Call Trace: [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 ================================================================== ^ >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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_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 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 ^ fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] do_readv+0xe6/0x250 fs/read_write.c:924 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_readv+0xe6/0x250 fs/read_write.c:924 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_readv+0xe6/0x250 fs/read_write.c:924 Allocated: ================================================================== [] entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== ^ ^ ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] do_readv+0xe6/0x250 fs/read_write.c:924 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_readv+0xe6/0x250 fs/read_write.c:924 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] do_readv+0xe6/0x250 fs/read_write.c:924 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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_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 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Allocated: ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] __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 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 Call Trace: [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Allocated: ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ^ ^ ^ ffff8801c6c3c800: 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 [] 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 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 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 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] 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 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Memory state around the buggy address: [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] do_readv+0xe6/0x250 fs/read_write.c:924 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ^ ffff8801c6c3c780: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc __do_softirq+0x206/0x951 kernel/softirq.c:284 ^ ^ ffff8801c6c3c800: 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 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 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 Call Trace: ffff8801c6c3c600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] 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: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc sg_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 [] 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 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 PID = 21577 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] virt_spin_lock arch/x86/include/asm/qspinlock.h:56 [inline] [] native_queued_spin_lock_slowpath+0x6a1/0x6c0 kernel/locking/qspinlock.c:421 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 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_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 Call Trace: [] vfs_readv+0x84/0xc0 fs/read_write.c:898 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __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 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc save_stack+0x43/0xd0 mm/kasan/kasan.c:495 ================================================================== ^ ^ ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc SYSC_ioctl fs/ioctl.c:694 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 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 [] kasan_report mm/kasan/report.c:329 [inline] [] __asan_report_load4_noabort+0x29/0x30 mm/kasan/report.c:329 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 Read of size 4 by task syz-executor1/21577 PID = 4768 ================================================================== [] entry_SYSCALL_64_fastpath+0x23/0xc6 ffff8801c6c3c680: 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 [] 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 ffff8801c6c3c800: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801c6c3c680: 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 [] sg_remove_request+0x70/0x120 drivers/scsi/sg.c:2122 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 Object at ffff8801c6c3c700, in cache fasync_cache size: 96 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 CPU: 0 PID: 21577 Comm: syz-executor1 Tainted: G B 4.9.67-gf26d3c7 #106 ffffffff8153a2cc ffffed0038d878ec ffff8801d7811c80 0000000000000000 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] entry_SYSCALL_64_fastpath+0x23/0xc6 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c6c3c600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1838 [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 Memory state around the buggy address: [] sg_read+0xa1c/0x1440 drivers/scsi/sg.c:527 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 fasync_free_rcu+0x1d/0x20 fs/fcntl.c:563 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 fasync_alloc fs/fcntl.c:604 [inline] fasync_add_entry fs/fcntl.c:662 [inline] fasync_helper+0x37/0xb0 fs/fcntl.c:691 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 [] do_readv+0xe6/0x250 fs/read_write.c:924 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 [] __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_fasync+0x86/0xb0 drivers/scsi/sg.c:1203 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc __do_softirq+0x206/0x951 kernel/softirq.c:284 >ffff8801c6c3c700: 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 ffff8801a6d078b0 ffffffff81d906e9 ffff8801d7811c80 ffff8801c6c3c700 ffff8801c6c3c760 ffffed0038d878ec ffff8801c6c3c764 ffff8801a6d078d8 >ffff8801c6c3c700: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ffff8801c6c3c680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc