random: sshd: uninitialized urandom read (32 bytes read, 106 bits of entropy available) ================================================================== 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 ffff8801d1a58140 by task syzkaller252492/3313 CPU: 0 PID: 3313 Comm: syzkaller252492 Not tainted 4.4.112-gca0ebb4 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 6915d7946e213a80 ffff8801d0d3fab0 ffffffff81d056fd ffffea0007469600 ffff8801d1a58140 0000000000000000 ffff8801d1a58140 ffff8801d0f14438 ffff8801d0d3fae8 ffffffff814fd953 ffff8801d1a58140 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 [] entry_SYSCALL_64_fastpath+0x16/0x92 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8801d1a58100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d1a58100, ffff8801d1a58160) The buggy address belongs to the page: ------------[ cut here ]------------ WARNING: CPU: 1 PID: 0 at kernel/bpf/core.c:724 __bpf_prog_run+0x423c/0x5290 kernel/bpf/core.c:724() unknown opcode 00 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.112-gca0ebb4 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 8edfa441c485c877 ffff8801db306dd0 ffffffff81d056fd ffffffff83843200 ffff8801db306ea8 ffffffff83896fa0 0000000000000009 00000000000002d4 ffff8801db306e98 ffffffff81419dca 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 [] __bpf_prog_run+0x423c/0x5290 kernel/bpf/core.c:724 [] bpf_prog_run_save_cb include/linux/filter.h:368 [inline] [] sk_filter_trim_cap+0x249/0x6d0 net/core/filter.c:87 [] sk_filter include/linux/filter.h:427 [inline] [] sock_queue_rcv_skb+0xa7/0xb70 net/core/sock.c:459 [] packet_rcv_spkt+0x3b3/0x4c0 net/packet/af_packet.c:1832 [] dev_queue_xmit_nit net/core/dev.c:1913 [inline] [] xmit_one net/core/dev.c:2748 [inline] [] dev_hard_start_xmit+0x62b/0x1220 net/core/dev.c:2768 [] sch_direct_xmit+0x2c1/0x760 net/sched/sch_generic.c:165 [] __dev_xmit_skb net/core/dev.c:2939 [inline] [] __dev_queue_xmit+0x1368/0x1a70 net/core/dev.c:3157 [] dev_queue_xmit+0x17/0x20 net/core/dev.c:3223 [] neigh_hh_output include/net/neighbour.h:468 [inline] [] dst_neigh_output include/net/dst.h:459 [inline] [] ip_finish_output2+0xbe8/0x1060 net/ipv4/ip_output.c:213 [] ip_finish_output+0x784/0xb00 net/ipv4/ip_output.c:288 [] NF_HOOK_COND include/linux/netfilter.h:240 [inline] [] ip_output+0x1cf/0x4c0 net/ipv4/ip_output.c:362 [] dst_output include/net/dst.h:498 [inline] [] ip_local_out+0x95/0x170 net/ipv4/ip_output.c:119 [] ip_queue_xmit+0x87b/0x16c0 net/ipv4/ip_output.c:461 [] tcp_transmit_skb+0x17a8/0x2ce0 net/ipv4/tcp_output.c:1029 [] __tcp_retransmit_skb+0x47f/0x17b0 net/ipv4/tcp_output.c:2647 [] tcp_retransmit_skb+0x23/0x2c0 net/ipv4/tcp_output.c:2664 [] tcp_retransmit_timer+0xa60/0x1f10 net/ipv4/tcp_timer.c:446 [] tcp_write_timer_handler+0x21e/0x6d0 net/ipv4/tcp_timer.c:528 [] tcp_write_timer+0xa1/0xd0 net/ipv4/tcp_timer.c:546 [] call_timer_fn+0x18b/0x860 kernel/time/timer.c:1178 [] __run_timers kernel/time/timer.c:1254 [inline] [] run_timer_softirq+0x604/0xbb0 kernel/time/timer.c:1437 [] __do_softirq+0x24d/0xa59 kernel/softirq.c:273 [] invoke_softirq kernel/softirq.c:350 [inline] [] irq_exit+0x119/0x140 kernel/softirq.c:391 [] exiting_irq arch/x86/include/asm/apic.h:653 [inline] [] smp_apic_timer_interrupt+0x7b/0xa0 arch/x86/kernel/apic/apic.c:926 [] apic_timer_interrupt+0xa0/0xb0 arch/x86/entry/entry_64.S:725 [] ? native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49 [] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline] [] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:291 [] arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:282 [] default_idle_call+0x48/0x70 kernel/sched/idle.c:93 [] cpuidle_idle_call kernel/sched/idle.c:157 [inline] [] cpu_idle_loop kernel/sched/idle.c:253 [inline] [] cpu_startup_entry+0x605/0x820 kernel/sched/idle.c:301 [] start_secondary+0x304/0x3e0 arch/x86/kernel/smpboot.c:242 PANIC: double fault, error_code: 0x0 CPU: 0 PID: 3313 Comm: syzkaller252492 Not tainted 4.4.112-gca0ebb4 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b51fc740 task.stack: ffff8801d0d38000 RIP: 0010:[] [] dump_page_badflags+0x8/0x250 mm/debug.c:84 RSP: 0018:ffff880100000000 EFLAGS: 00010046 RAX: ffff8800b51fc740 RBX: ffffea0007469600 RCX: ffffffff8148fea0 RDX: 0000000000000000 RSI: ffffffff838a8620 RDI: ffffea0007469600 RBP: ffff880100000010 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: fffffbfff0ad7a1e R12: 0000000000000000 R13: ffffffff838a8620 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000a75880(0063) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8800fffffff8 CR3: 00000001d1a40000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: Call Trace: Code: 00 e9 83 fd ff ff e8 a8 e2 06 00 e9 50 fd ff ff e8 9e e2 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 11 01 Shutting down cpus with NMI Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..