================================================================== ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5263 at kernel/locking/lockdep.c:3190 __lock_acquire+0x23b3/0x4b50 kernel/locking/lockdep.c:3190() DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS) Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 5263 Comm: syz-executor1 Not tainted 4.4.106-g1700518 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 af5676d3b516d57b ffff8801c90e7680 ffffffff81d02f7d ffffffff838429a0 ffff8801c90e7758 ffffffff83854820 0000000000000009 0000000000000c76 ffff8801c90e7748 ffffffff8141654a 0000000041b58ab3 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] panic+0x1aa/0x388 kernel/panic.c:112 [] warn_slowpath_common+0x125/0x140 kernel/panic.c:455 [] warn_slowpath_fmt+0xc1/0x110 kernel/panic.c:471 [] __lock_acquire+0x23b3/0x4b50 kernel/locking/lockdep.c:3190 [] lock_acquire+0x15e/0x460 kernel/locking/lockdep.c:3592 [] __raw_write_lock_irqsave include/linux/rwlock_api_smp.h:186 [inline] [] _raw_write_lock_irqsave+0x4e/0x70 kernel/locking/spinlock.c:303 [] sg_remove_request+0x69/0x110 drivers/scsi/sg.c:2132 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1848 [] sg_read+0xa21/0x1490 drivers/scsi/sg.c:538 [] __vfs_read+0x103/0x440 fs/read_write.c:432 [] vfs_read+0x123/0x3a0 fs/read_write.c:454 [] SYSC_read fs/read_write.c:569 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:562 [] do_syscall_32_irqs_on arch/x86/entry/common.c:390 [inline] [] do_fast_syscall_32+0x314/0x890 arch/x86/entry/common.c:457 [] sysenter_flags_fixed+0xd/0x17 BUG: KASAN: slab-out-of-bounds in list_empty include/linux/list.h:189 [inline] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 drivers/scsi/sg.c:2130 Read of size 8 at addr ffff8800b5eaf240 by task syz-executor7/5261 CPU: 0 PID: 5261 Comm: syz-executor7 Not tainted 4.4.106-g1700518 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 22849a7624f2ef4f ffff8801d1cb7a40 ffffffff81d02f7d ffffea0002d7abc0 ffff8800b5eaf240 0000000000000000 ffff8800b5eaf240 ffff8801d1c0c438 ffff8801d1cb7a78 ffffffff814fa843 ffff8800b5eaf240 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] print_address_description+0x73/0x260 mm/kasan/report.c:252 [] kasan_report_error mm/kasan/report.c:351 [inline] [] kasan_report+0x285/0x370 mm/kasan/report.c:408 [] __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:429 [] list_empty include/linux/list.h:189 [inline] [] sg_remove_request+0xf9/0x110 drivers/scsi/sg.c:2130 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1848 [] sg_read+0xa21/0x1490 drivers/scsi/sg.c:538 [] __vfs_read+0x103/0x440 fs/read_write.c:432 [] vfs_read+0x123/0x3a0 fs/read_write.c:454 [] SYSC_read fs/read_write.c:569 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:562 [] do_syscall_32_irqs_on arch/x86/entry/common.c:390 [inline] [] do_fast_syscall_32+0x314/0x890 arch/x86/entry/common.c:457 [] sysenter_flags_fixed+0xd/0x17 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8800b5eaf200 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8800b5eaf200, ffff8800b5eaf260) The buggy address belongs to the page: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [< (null)>] (null) PGD 1d1df3067 PUD 1d2786067 PMD 0 Thread overran stack, or stack corrupted Oops: 0010 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 5263 Comm: syz-executor1 Not tainted 4.4.106-g1700518 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d44b17c0 task.stack: ffff8801c90e0000 RIP: 0010:[<0000000000000000>] [< (null)>] (null) RSP: 0018:ffff8801c90e7648 EFLAGS: 00010082 RAX: 0000000080000002 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000004 RSI: ffffc9000125a000 RDI: ffffffff856ed600 RBP: ffffea0002d7abc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: fffffbfff0ad6fc0 R12: ffff8801c90e7660 R13: ffffffff8148d2e1 R14: fffffbfff08fc717 R15: 000000000006d556 FS: 0000000000000000(0000) GS:ffff8801db500000(0063) knlGS:00000000f6f81b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001d5984000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff838a7e20 0000000000000000 0000000000000000 ffff8801c90e76a0 ffffffff8148d2e1 0000000000000009 ffffea0002d7abc0 0000000000000000 ffffffff838a7e20 0000000000000000 0000000000000000 ffff8801c90e76e0 Call Trace: Code: Bad RIP value. RIP [< (null)>] (null) RSP CR2: 0000000000000000 ---[ end trace e97f42cdd706dac7 ]--- PANIC: double fault, error_code: 0x0 CPU: 0 PID: 5261 Comm: syz-executor7 Tainted: G D 4.4.106-g1700518 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d5b7df00 task.stack: ffff8801d1cb0000 RIP: 0010:[] [] dump_page_badflags+0x12/0x250 mm/debug.c:84 RSP: 0018:ffff880100000000 EFLAGS: 00010046 RAX: 0000000000010000 RBX: ffffea0002d7abc0 RCX: ffffffff8148d2d0 RDX: 0000000000000000 RSI: ffffffff838a7e20 RDI: ffffea0002d7abc0 RBP: ffff880100000020 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: fffffbfff0ad581e R12: 0000000000000000 R13: ffffffff838a7e20 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db400000(0063) knlGS:00000000f6f8fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff8800fffffff8 CR3: 00000001d580f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: Call Trace: Code: 00 e9 50 fd ff ff e8 5e dd 06 00 e9 1d fd ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 49 89 f5 41 54 49 89 d4 <53> 48 89 fb 48 83 ec 08 e8 51 f8 ec ff 48 8d 7b 10 48 b8 00 00