[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 16.204135] random: sshd: uninitialized urandom read (32 bytes read, 32 bits of entropy available) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.362477] random: sshd: uninitialized urandom read (32 bytes read, 38 bits of entropy available) [ 21.753366] random: sshd: uninitialized urandom read (32 bytes read, 38 bits of entropy available) [ 22.570835] random: sshd: uninitialized urandom read (32 bytes read, 106 bits of entropy available) [ 22.736537] random: sshd: uninitialized urandom read (32 bytes read, 110 bits of entropy available) Warning: Permanently added 'ci-android-44-kasan-gce-386-2,10.128.0.56' (ECDSA) to the list of known hosts. [ 28.127026] random: sshd: uninitialized urandom read (32 bytes read, 118 bits of entropy available) executing program executing program executing program executing program executing program executing program executing program executing program [ 28.257543] ================================================================== [ 28.257946] kasan: CONFIG_KASAN_INLINE enabled [ 28.257953] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 28.257958] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 28.257963] Dumping ftrace buffer: [ 28.257967] (ftrace buffer empty) [ 28.257970] Modules linked in: [ 28.257978] CPU: 1 PID: 3343 Comm: syzkaller423073 Not tainted 4.4.107-g79f138a #3 [ 28.257981] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.257986] task: ffff8801d1e40000 task.stack: ffff8801d1de0000 [ 28.258003] RIP: 0010:[] [] __lock_acquire+0x61f/0x4b50 [ 28.258007] RSP: 0018:ffff8801d1de77b0 EFLAGS: 00010086 [ 28.258011] RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffffff81237ade [ 28.258014] RDX: 1ffff1003a1c8420 RSI: 0000000000000008 RDI: ffff8801d0e42100 [ 28.258018] RBP: ffff8801d1de7950 R08: 0000000000000001 R09: 0000000000000001 [ 28.258021] R10: 0000000000000001 R11: 1ffff1003a3bcf08 R12: 0000000000000000 [ 28.258024] R13: ffff8801d1e40000 R14: ffff8801d0e420f8 R15: 0000000000000000 [ 28.258030] FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000f6792b40 [ 28.258033] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 28.258037] CR2: 0000000020a00000 CR3: 00000000b6b23000 CR4: 00000000001406e0 [ 28.258042] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 28.258045] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 28.258046] Stack: [ 28.258054] ffff8800b56fd828 ffff8800b0c307c0 ffff8801d1de7930 ffffffff8149e232 [ 28.258061] ffff8801d1de77e0 ffffffff00000000 ffff8801d1e40000 ffff8801d1e40870 [ 28.258068] 0000000000000286 ffff8801d1e40000 0000000000000002 0000000000000002 [ 28.258069] Call Trace: [ 28.258081] [] ? handle_mm_fault+0x3f2/0x3190 [ 28.258089] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 28.258098] [] ? __do_page_fault+0x380/0xa00 [ 28.258104] [] lock_acquire+0x15e/0x460 [ 28.258114] [] ? sg_remove_request+0x69/0x110 [ 28.258122] [] _raw_write_lock_irqsave+0x4e/0x70 [ 28.258128] [] ? sg_remove_request+0x69/0x110 [ 28.258134] [] sg_remove_request+0x69/0x110 [ 28.258141] [] sg_finish_rem_req+0x295/0x340 [ 28.258147] [] sg_read+0xa21/0x1490 [ 28.258153] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 28.258160] [] ? fsnotify+0xee0/0xee0 [ 28.258168] [] ? avc_policy_seqno+0x9/0x20 [ 28.258176] [] do_loop_readv_writev+0x141/0x1e0 [ 28.258183] [] ? security_file_permission+0x89/0x1e0 [ 28.258189] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 28.258195] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 28.258202] [] compat_do_readv_writev+0x5df/0x6e0 [ 28.258208] [] ? vfs_writev+0xb0/0xb0 [ 28.258215] [] ? __fget+0x20b/0x3b0 [ 28.258220] [] ? __fget+0x232/0x3b0 [ 28.258225] [] ? __fget+0x47/0x3b0 [ 28.258232] [] compat_readv+0xd9/0x140 [ 28.258237] [] compat_SyS_readv+0xd8/0x1b0 [ 28.258243] [] ? SyS_pwritev+0x230/0x230 [ 28.258249] [] ? vmacache_update+0xfe/0x130 [ 28.258258] [] ? do_fast_syscall_32+0xd7/0x890 [ 28.258263] [] ? SyS_pwritev+0x230/0x230 [ 28.258268] [] do_fast_syscall_32+0x314/0x890 [ 28.258276] [] sysenter_flags_fixed+0xd/0x17 [ 28.258362] Code: 00 fc ff df 44 89 e3 49 8d 7c de 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b6 37 00 00 49 8b 5c de 08 48 85 db 0f 84 28 fb ff ff ff 83 98 01 00 00 49 8d 85 68 08 00 00 48 89 c2 48 89 44 24 [ 28.258368] RIP [] __lock_acquire+0x61f/0x4b50 [ 28.258370] RSP [ 28.258376] ---[ end trace 239785570b8a9738 ]--- [ 28.258379] Kernel panic - not syncing: Fatal exception [ 28.647063] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 [ 28.654044] Read of size 8 at addr ffff8800b40f91c0 by task syzkaller423073/3340 [ 28.661543] [ 28.663142] CPU: 0 PID: 3340 Comm: syzkaller423073 Tainted: G D 4.4.107-g79f138a #3 [ 28.672032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.681351] 0000000000000000 86f046b455ab8def ffff8801d06ef970 ffffffff81d0457d [ 28.689314] ffffea0002d03e40 ffff8800b40f91c0 0000000000000000 ffff8800b40f91c0 [ 28.697283] ffff8800b401c438 ffff8801d06ef9a8 ffffffff814fbb23 ffff8800b40f91c0 [ 28.705249] Call Trace: [ 28.707806] [] dump_stack+0xc1/0x124 [ 28.713136] [] print_address_description+0x73/0x260 [ 28.719767] [] kasan_report+0x285/0x370 [ 28.725357] [] ? sg_remove_request+0xf9/0x110 [ 28.731470] [] __asan_report_load8_noabort+0x14/0x20 [ 28.738188] [] sg_remove_request+0xf9/0x110 [ 28.744126] [] sg_finish_rem_req+0x295/0x340 [ 28.750152] [] sg_read+0xa21/0x1490 [ 28.755399] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 28.762032] [] ? fsnotify+0xee0/0xee0 [ 28.767450] [] ? avc_policy_seqno+0x9/0x20 [ 28.773305] [] do_loop_readv_writev+0x141/0x1e0 [ 28.779590] [] ? security_file_permission+0x89/0x1e0 [ 28.786309] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 28.792940] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 28.799576] [] compat_do_readv_writev+0x5df/0x6e0 [ 28.806037] [] ? vfs_writev+0xb0/0xb0 [ 28.811455] [] ? __fget+0x20b/0x3b0 [ 28.816701] [] ? __fget+0x232/0x3b0 [ 28.821955] [] ? __fget+0x47/0x3b0 [ 28.827112] [] compat_readv+0xd9/0x140 [ 28.832614] [] compat_SyS_readv+0xd8/0x1b0 [ 28.838463] [] ? SyS_pwritev+0x230/0x230 [ 28.844139] [] ? vmacache_update+0xfe/0x130 [ 28.850080] [] ? do_fast_syscall_32+0xd7/0x890 [ 28.856276] [] ? SyS_pwritev+0x230/0x230 [ 28.861956] [] do_fast_syscall_32+0x314/0x890 [ 28.868071] [] sysenter_flags_fixed+0xd/0x17 [ 28.874091] [ 28.875689] Allocated by task 0: [ 28.879017] (stack is not available) [ 28.882693] [ 28.884287] Freed by task 0: [ 28.887272] (stack is not available) [ 28.890952] [ 28.892549] The buggy address belongs to the object at ffff8800b40f9180 [ 28.892549] which belongs to the cache fasync_cache of size 96 [ 28.905170] The buggy address is located 64 bytes inside of [ 28.905170] 96-byte region [ffff8800b40f9180, ffff8800b40f91e0) [ 28.916835] The buggy address belongs to the page: [ 29.378620] Shutting down cpus with NMI [ 29.383089] Dumping ftrace buffer: [ 29.386603] (ftrace buffer empty) [ 29.390279] Kernel Offset: disabled [ 29.393880] Rebooting in 86400 seconds..