syzkaller login: [ 138.732097][ T2921] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 138.781751][ T2921] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 138.829161][ T2921] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 138.868583][ T2921] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. Warning: Permanently added '[localhost]:25985' (ECDSA) to the list of known hosts. 1970/01/01 00:02:38 fuzzer started 1970/01/01 00:02:42 connecting to host at localhost:43729 1970/01/01 00:02:43 checking machine... 1970/01/01 00:02:43 checking revisions... executing program 1970/01/01 00:02:46 testing simple program... executing program executing program executing program executing program executing program [ 182.208886][ T3096] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000d40 [ 182.210635][ T3096] Oops [#1] [ 182.211061][ T3096] Modules linked in: [ 182.211667][ T3096] CPU: 0 PID: 3096 Comm: modprobe Not tainted 5.14.0-syzkaller #0 [ 182.213829][ T3096] Hardware name: riscv-virtio,qemu (DT) [ 182.215160][ T3096] epc : __kmalloc+0xce/0x388 [ 182.216747][ T3096] ra : __kmalloc+0x6e/0x388 [ 182.217364][ T3096] epc : ffffffff803e3568 ra : ffffffff803e3508 sp : ffffffe00bcffa40 [ 182.218161][ T3096] gp : ffffffff83f967d8 tp : ffffffe00df62f80 t0 : ffffffc401078e00 [ 182.218887][ T3096] t1 : 0000000000000001 t2 : 0000000000000018 s0 : ffffffe00bcffae0 [ 182.219599][ T3096] s1 : ffffffe005601640 a0 : 0000000000000000 a1 : ffffffe00bcffe2c [ 182.220248][ T3096] a2 : 1ffffffff07aa51f a3 : 0000000000000d40 a4 : 0000000000000000 [ 182.220929][ T3096] a5 : ffffffff82e4b2b0 a6 : 0000000000f00000 a7 : ffffffff8038ca52 [ 182.221622][ T3096] s2 : ffffffff83f96adc s3 : 0000000000000d40 s4 : 0000000000000024 [ 182.222316][ T3096] s5 : ffffffff8080a860 s6 : ffffffff83f9a0d0 s7 : 0000000000000000 [ 182.223041][ T3096] s8 : 0000000000000d40 s9 : 0000000000000001 s10: ffffffe009d4ee10 [ 182.223731][ T3096] s11: 000000000000002f t3 : 3a5fee2933c01500 t4 : ffffffc40179ff5f [ 182.224414][ T3096] t5 : ffffffc40179ff61 t6 : ffffffe0083c6ffe [ 182.224988][ T3096] status: 0000000000000120 badaddr: 0000000000000d40 cause: 000000000000000d [ 182.225751][ T3096] [] __kmalloc+0xce/0x388 [ 182.226554][ T3096] [] tomoyo_encode2.part.0+0xf0/0x262 [ 182.227346][ T3096] [] tomoyo_realpath_from_path+0x14c/0x3f4 [ 182.228119][ T3096] [] tomoyo_path_perm+0x11e/0x2d8 [ 182.228829][ T3096] [] tomoyo_inode_getattr+0x1e/0x28 [ 182.229586][ T3096] [] security_inode_getattr+0x82/0xc6 [ 182.230331][ T3096] [] vfs_fstat+0x54/0xc8 [ 182.231069][ T3096] [] __do_sys_newfstat+0x34/0x88 [ 182.231797][ T3096] [] sys_newfstat+0x22/0x2e [ 182.232543][ T3096] [] ret_from_syscall+0x0/0x2 [ 182.234431][ T3096] ---[ end trace 80e7fcba3e66641f ]--- [ 182.235345][ T3096] Kernel panic - not syncing: Fatal exception [ 182.236546][ T3096] SMP: stopping secondary CPUs [ 182.237651][ T3096] Rebooting in 86400 seconds.. VM DIAGNOSIS: 21:29:37 Registers: info registers vcpu 0 pc ffffffff80c840a8 mhartid 0000000000000000 mstatus 00000000000001a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005004 mepc ffffffff801fbf38 sepc ffffffff803e3568 mcause 8000000000000003 scause 000000000000000d mtval 0000000000000000 stval 0000000000000d40 x0/zero 0000000000000000 x1/ra ffffffff80c840a8 x2/sp ffffffe00bcff3b0 x3/gp ffffffff83f967d8 x4/tp ffffffe00df62f80 x5/t0 ffffffff852b2bc7 x6/t1 ffffffc7f0a56578 x7/t2 0000000000000000 x8/s0 ffffffe00bcff3e0 x9/s1 ffffffff8552e4d8 x10/a0 ffffffff8552e520 x11/a1 ffffffd010695000 x12/a2 1ffffffff0aa5ca4 x13/a3 ffffffff80c840a8 x14/a4 0000000000000000 x15/a5 ffffffff8552e520 x16/a6 0000000000f00000 x17/a7 ffffffff852b2bc6 x18/s2 ffffffd010695000 x19/s3 000000000000006d x20/s4 0000000000000057 x21/s5 ffffffff80c833de x22/s6 ffffffff8552e4d8 x23/s7 ffffffff8552e530 x24/s8 0000000000000001 x25/s9 ffffffff83f9a0d0 x26/s10 ffffffff8552e760 x27/s11 ffffffff8552e528 x28/t3 0000000000000043 x29/t4 ffffffc7f0a56576 x30/t5 ffffffc7f0a56579 x31/t6 ffffffff852b2bc7 f0/ft0 0000000000000000 f1/ft1 0000000000000000 f2/ft2 0000000000000000 f3/ft3 0000000000000000 f4/ft4 0000000000000000 f5/ft5 0000000000000000 f6/ft6 0000000000000000 f7/ft7 0000000000000000 f8/fs0 0000000000000000 f9/fs1 0000000000000000 f10/fa0 0000000000000000 f11/fa1 0000000000000000 f12/fa2 0000000000000000 f13/fa3 0000000000000000 f14/fa4 0000000000000000 f15/fa5 0000000000000000 f16/fa6 0000000000000000 f17/fa7 0000000000000000 f18/fs2 0000000000000000 f19/fs3 0000000000000000 f20/fs4 0000000000000000 f21/fs5 0000000000000000 f22/fs6 0000000000000000 f23/fs7 0000000000000000 f24/fs8 0000000000000000 f25/fs9 0000000000000000 f26/fs10 0000000000000000 f27/fs11 0000000000000000 f28/ft8 0000000000000000 f29/ft9 0000000000000000 f30/ft10 0000000000000000 f31/ft11 0000000000000000 info registers vcpu 1 pc ffffffff8000533a mhartid 0000000000000001 mstatus 00000000000000a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005004 mepc ffffffff8000e836 sepc ffffffff8000533e mcause 0000000000000009 scause 8000000000000005 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra ffffffff80005336 x2/sp ffffffe005847f40 x3/gp ffffffff83f967d8 x4/tp ffffffe005810000 x5/t0 ffffffe008b9f7d8 x6/t1 ffffffc40b5beb29 x7/t2 0000000000000001 x8/s0 ffffffe005847f50 x9/s1 ffffffe005810000 x10/a0 0000000000000001 x11/a1 00000000000f0000 x12/a2 0000000000000002 x13/a3 ffffffff80005336 x14/a4 ffffffe005811000 x15/a5 0000000000000000 x16/a6 0000000000f00000 x17/a7 ffffffe05adf594b x18/s2 0000000000000001 x19/s3 0000000000000002 x20/s4 0000000000000007 x21/s5 ffffffff83f9a3b8 x22/s6 ffffffe005810000 x23/s7 fffffffffffffffd x24/s8 00000000800130f0 x25/s9 0000000000000000 x26/s10 0000000000000000 x27/s11 0000000000000000 x28/t3 3a5fee2933c01500 x29/t4 ffffffc40b5beb29 x30/t5 ffffffc40b5beb2a x31/t6 0000000000000005 f0/ft0 0000000000000000 f1/ft1 0000000000000000 f2/ft2 4120000000000000 f3/ft3 40d61035e179eb33 f4/ft4 4125442000000000 f5/ft5 4037759d4f80cba8 f6/ft6 0000000000000000 f7/ft7 0000000000000000 f8/fs0 0000000000000000 f9/fs1 0000000000000000 f10/fa0 0000000000000000 f11/fa1 0000000000000000 f12/fa2 0000000000000000 f13/fa3 0000000000000000 f14/fa4 0000000000000000 f15/fa5 0000000000000000 f16/fa6 0000000000000000 f17/fa7 0000000000000000 f18/fs2 0000000000000000 f19/fs3 0000000000000000 f20/fs4 0000000000000000 f21/fs5 0000000000000000 f22/fs6 0000000000000000 f23/fs7 0000000000000000 f24/fs8 0000000000000000 f25/fs9 0000000000000000 f26/fs10 0000000000000000 f27/fs11 0000000000000000 f28/ft8 0000000000000000 f29/ft9 0000000000000000 f30/ft10 0000000000000000 f31/ft11 0000000000000000