Date
June 25, 2025, 8:08 a.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 103.159697] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 103.159756] [00000000] *pgd=80000040204003, *pmd=00000000 [ 103.160220] Internal error: Oops: a05 [#1] SMP ARM [ 103.187951] Modules linked in: test_vmalloc(+) nfnetlink ip_tables x_tables [ 103.188662] CPU: 1 UID: 0 PID: 1227 Comm: vmalloc_test/0 Tainted: G W 6.16.0-rc3-next-20250625 #1 NONE [ 103.189652] Tainted: [W]=WARN [ 103.190074] Hardware name: Generic DT based system [ 103.190518] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc] [ 103.190994] LR is at vm_map_ram+0x14c/0xa80 [ 103.191676] pc : [<bf018bd8>] lr : [<c06ab850>] psr: 200f0013 [ 103.191874] sp : fa0d5ef0 ip : f1a80000 fp : 00000018 [ 103.192597] r10: 04291b50 r9 : bf01a01c r8 : 00000001 [ 103.193230] r7 : 00000061 r6 : 00000000 r5 : c50b0140 r4 : 00000001 [ 103.193893] r3 : 600f0013 r2 : 00003161 r1 : 00000001 r0 : 00000000 [ 103.194643] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 103.195138] Control: 30c5387d Table: 44243ac0 DAC: 00000000 [ 103.195733] Register r0 information: NULL pointer [ 103.196398] Register r1 information: non-paged memory [ 103.196574] Register r2 information: non-paged memory [ 103.196743] Register r3 information: non-paged memory [ 103.197458] Register r4 information: non-paged memory [ 103.198216] Register r5 information: slab kmalloc-64 start c50b0140 pointer offset 0 size 64 [ 103.199473] Register r6 information: NULL pointer [ 103.199922] Register r7 information: non-paged memory [ 103.200352] Register r8 information: non-paged memory [ 103.200827] Register r9 information: 1-page vmalloc region starting at 0xbf01a000 allocated at load_module+0xcf8/0x19c4 [ 103.201821] Register r10 information: non-paged memory [ 103.202034] Register r11 information: non-paged memory [ 103.202752] Register r12 information: 1-page vmalloc region starting at 0xf1a7f000 allocated at kvfree_rcu_2_arg_vmalloc_test+0x28/0x5c [test_vmalloc] [ 103.203865] Process vmalloc_test/0 (pid: 1227, stack limit = 0xba01c96d) [ 103.204656] Stack: (0xfa0d5ef0 to 0xfa0d6000) [ 103.205205] 5ee0: c50b0140 bf0189b0 bf018b40 c45c23c8 [ 103.206218] 5f00: 00000000 c45c23cc 0000000a bf01a018 00000018 bf01837c c2fcb780 c45c23c0 [ 103.207089] 5f20: 8d4fdf3b 83126e97 c45c23d0 00000004 80cab270 00000009 00000008 00000006 [ 103.207780] 5f40: 00000007 0000000a 00000001 00000000 00000004 00000003 00000005 00000002 [ 103.208308] 5f60: 25706299 c2fcaa10 c42e1100 c42e1100 fa0d1b38 bf018100 c45c23c0 00000000 [ 103.208898] 5f80: 00000000 c0493390 00000000 00000000 c41642c0 c0493298 00000000 00000000 [ 103.209500] 5fa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000 [ 103.210232] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 103.210731] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 103.211737] Call trace: [ 103.211997] vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc] [ 103.212847] test_func [test_vmalloc] from kthread+0xf8/0x2d8 [ 103.213383] kthread from ret_from_fork+0x14/0x38 [ 103.213562] Exception stack(0xfa0d5fb0 to 0xfa0d5ff8) [ 103.214291] 5fa0: 00000000 00000000 00000000 00000000 [ 103.215011] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 103.215738] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 103.216333] Code: e1a01004 e3e02000 eb5a4acb e1a01004 (e5c07000) [ 103.217744] ---[ end trace 0000000000000000 ]---
--- cut here --- [ 188.702822] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 188.702873] [00000000] *pgd=80000040204003, *pmd=00000000 [ 188.705137] Internal error: Oops: a05 [#1] SMP ARM [ 188.713542] Modules linked in: test_vmalloc(+) fuse [ 188.714681] CPU: 0 UID: 0 PID: 1225 Comm: vmalloc_test/0 Tainted: G W 6.16.0-rc3-next-20250625 #1 NONE [ 188.715623] Tainted: [W]=WARN [ 188.715921] Hardware name: Generic DT based system [ 188.716290] PC is at vm_map_ram_test+0xcc/0xf0 [test_vmalloc] [ 188.716788] LR is at 0xfa2bde60 [ 188.717253] pc : [<bf02d5c8>] lr : [<fa2bde60>] psr: 60010013 [ 188.717808] sp : fa2bdee8 ip : edbd7e50 fp : c47f3220 [ 188.718256] r10: edf50de0 r9 : 00000061 r8 : c492b900 [ 188.718561] r7 : 00000001 r6 : bf02f000 r5 : 00000001 r4 : 00000001 [ 188.718762] r3 : c3937500 r2 : 00000000 r1 : 00000001 r0 : 00000000 [ 188.718922] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 188.719080] Control: 30c5387d Table: 442b7240 DAC: fffffffd [ 188.719205] Register r0 information: NULL pointer [ 188.719484] Register r1 information: non-paged memory [ 188.719584] Register r2 information: NULL pointer [ 188.719666] Register r3 information: slab task_struct start c3937500 pointer offset 0 size 2496 [ 188.720953] Register r4 information: non-paged memory [ 188.721272] Register r5 information: non-paged memory [ 188.721610] Register r6 information: 1-page vmalloc region starting at 0xbf02f000 allocated at load_module+0x7b0/0x1d5c [ 188.722803] Register r7 information: non-paged memory [ 188.723275] Register r8 information: slab kmalloc-64 start c492b900 pointer offset 0 size 64 [ 188.723793] Register r9 information: non-paged memory [ 188.723885] Register r10 information: non-slab/vmalloc memory [ 188.724020] Register r11 information: slab kmalloc-192 start c47f3180 pointer offset 160 size 192 [ 188.724177] Register r12 information: non-slab/vmalloc memory [ 188.724280] Process vmalloc_test/0 (pid: 1225, stack limit = 0x609a765c) [ 188.724578] Stack: (0xfa2bdee8 to 0xfa2be000) [ 188.724660] dee0: c492b900 c051b688 bf02d000 bf02d4fc 0000000a bf02f000 [ 188.725422] df00: fa2bdf48 fa2bdf5c 00000000 bf02d6ec 00029280 00000000 c47f3180 0000002b [ 188.726027] df20: bf031238 bf02f400 c248ad60 ba6344f1 00000008 00000000 00000005 00000004 [ 188.726599] df40: 00000009 0000000a 00000001 00000006 00000002 00000007 00000003 43d6b38d [ 188.727370] df60: c47f3180 00000001 c443f580 c3937500 c443f580 bf02d5ec c47f3180 00000000 [ 188.727812] df80: 00000000 c048c388 00000000 43d6b38d c47c0bc0 c048c274 00000000 00000000 [ 188.728394] dfa0: 00000000 00000000 00000000 c0400254 00000000 00000000 00000000 00000000 [ 188.728797] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 188.729248] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 188.729646] Call trace: [ 188.729804] vm_map_ram_test [test_vmalloc] from test_func+0x100/0x2d8 [test_vmalloc] [ 188.730190] test_func [test_vmalloc] from kthread+0x114/0x240 [ 188.730455] kthread from ret_from_fork+0x14/0x20 [ 188.730546] Exception stack(0xfa2bdfb0 to 0xfa2bdff8) [ 188.730632] dfa0: 00000000 00000000 00000000 00000000 [ 188.730955] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 188.731275] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 188.731493] Code: e1a00008 e2844001 eb5a39ec e1a01005 (e5c09000) [ 188.732043] ---[ end trace 0000000000000000 ]---