audit: type=1804 audit(1642124439.183:1102): pid=23999 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.1" name="/root/syzkaller-testdir384835417/syzkaller.oMyxVk/254/bus" dev="sda1" ino=15154 res=1 loop_reread_partitions: partition scan of loop0 () failed (rc=-5) kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 23967 Comm: syz-executor.5 Not tainted 4.14.262-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888054044500 task.stack: ffff88804f738000 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RIP: 0010:scatterwalk_copychunks+0x4a3/0x680 crypto/scatterwalk.c:55 RSP: 0018:ffff88804f73f520 EFLAGS: 00010202 audit: type=1804 audit(1642124439.253:1103): pid=23980 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir384835417/syzkaller.oMyxVk/254/bus" dev="sda1" ino=15154 res=1 RAX: dffffc0000000000 RBX: 000000000000401d RCX: ffffc900062b3000 RDX: 0000000000000002 RSI: ffffffff8316e3c4 RDI: ffff8880a340cc98 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1012d7f803 R10: ffff888096bfc01c R11: 0000000000000000 R12: 000000000000401d R13: ffff88804f73f5d8 R14: 0000000000001000 R15: ffff8880a340cca4 FS: 00007fbc9e687700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff2d8e3e718 CR3: 000000009ed82000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip_tables: iptables: counters copy to user failed while replacing table scatterwalk_map_and_copy crypto/scatterwalk.c:72 [inline] scatterwalk_map_and_copy+0x100/0x1a0 crypto/scatterwalk.c:60 gcmaes_encrypt.constprop.0+0x6cd/0xc00 arch/x86/crypto/aesni-intel_glue.c:802 Code: fc ff df 80 3c 02 00 0f 85 d9 01 00 00 48 8d 45 10 49 89 6d 00 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 81 01 00 00 48 b8 00 00 00 RIP: scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RSP: ffff88804f73f520 RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff88804f73f520 RIP: scatterwalk_copychunks+0x4a3/0x680 crypto/scatterwalk.c:55 RSP: ffff88804f73f520 audit: type=1800 audit(1642124439.283:1104): pid=24000 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="file1" dev="sda1" ino=14724 res=0 loop0: unable to read partition table audit: type=1800 audit(1642124439.723:1105): pid=24031 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="file1" dev="sda1" ino=15137 res=0 ---[ end trace c7653ae8324c8a22 ]--- ---------------- Code disassembly (best guess), 2 bytes skipped: 0: df 80 3c 02 00 0f filds 0xf00023c(%rax) 6: 85 d9 test %ebx,%ecx 8: 01 00 add %eax,(%rax) a: 00 48 8d add %cl,-0x73(%rax) d: 45 10 49 89 adc %r9b,-0x77(%r9) 11: 6d insl (%dx),%es:(%rdi) 12: 00 48 89 add %cl,-0x77(%rax) 15: c2 48 89 retq $0x8948 18: 44 24 18 rex.R and $0x18,%al 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 74 08 je 0x39 31: 3c 03 cmp $0x3,%al 33: 0f 8e 81 01 00 00 jle 0x1ba 39: 48 rex.W 3a: b8 .byte 0xb8 3b: 00 00 add %al,(%rax)