Date
May 15, 2025, 10:38 a.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 207.019987] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 207.022459] [00000000] *pgd=80000040204003, *pmd=00000000 [ 207.023262] Internal error: Oops: a05 [#1] SMP ARM [ 207.037268] Modules linked in: test_vmalloc(+) nfnetlink ip_tables x_tables [ 207.038199] CPU: 1 UID: 0 PID: 1169 Comm: vmalloc_test/0 Tainted: G W 6.15.0-rc6-next-20250515 #1 NONE [ 207.039170] Tainted: [W]=WARN [ 207.039420] Hardware name: Generic DT based system [ 207.039891] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc] [ 207.041412] LR is at vm_map_ram+0x14c/0xa80 [ 207.041621] pc : [<bf018bd8>] lr : [<c06a6934>] psr: 20000013 [ 207.042249] sp : fa1edef0 ip : c218b308 fp : 00000030 [ 207.042810] r10: 31c66a50 r9 : bf01a004 r8 : 00000001 [ 207.043003] r7 : 00000061 r6 : 00000000 r5 : c4888f00 r4 : 00000001 [ 207.043489] r3 : 60000013 r2 : 00004887 r1 : 00000001 r0 : 00000000 [ 207.045216] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 207.045586] Control: 30c5387d Table: 43b2be40 DAC: 00000000 [ 207.045788] Register r0 information: NULL pointer [ 207.047069] Register r1 information: non-paged memory [ 207.047276] Register r2 information: non-paged memory [ 207.047427] Register r3 information: non-paged memory [ 207.047600] Register r4 information: non-paged memory [ 207.047990] Register r5 information: slab kmalloc-64 start c4888f00 pointer offset 0 size 64 [ 207.049071] Register r6 information: NULL pointer [ 207.049471] Register r7 information: non-paged memory [ 207.049866] Register r8 information: non-paged memory [ 207.050493] Register r9 information: 1-page vmalloc region starting at 0xbf01a000 allocated at load_module+0xcf8/0x19b8 [ 207.051067] Register r10 information: non-paged memory [ 207.051301] Register r11 information: non-paged memory [ 207.051949] Register r12 information: non-slab/vmalloc memory [ 207.052884] Process vmalloc_test/0 (pid: 1169, stack limit = 0x69b5b918) [ 207.053775] Stack: (0xfa1edef0 to 0xfa1ee000) [ 207.054142] dee0: c4888f00 ffffffff bf018b40 c3e79008 [ 207.054459] df00: 00000000 c3e7900c 0000000a bf01a000 00000030 bf01837c c2a11280 c3e79000 [ 207.054673] df20: 8d4fdf3b 83126e97 c3e79010 00000004 b3c9e4c2 00000004 00000000 00000007 [ 207.054925] df40: 00000009 0000000a 00000003 00000002 00000005 00000001 00000008 00000006 [ 207.055681] df60: 472f951d c2a12e40 c3f6bb00 c3f6bb00 fa1e9b38 bf018100 c3e79000 00000000 [ 207.056394] df80: 00000000 c049332c 00000000 00000000 c3db7240 c0493238 00000000 00000000 [ 207.057039] dfa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000 [ 207.057683] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 207.058211] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 207.058908] Call trace: [ 207.059154] vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc] [ 207.059831] test_func [test_vmalloc] from kthread+0xf4/0x2d4 [ 207.060346] kthread from ret_from_fork+0x14/0x38 [ 207.060528] Exception stack(0xfa1edfb0 to 0xfa1edff8) [ 207.060879] dfa0: 00000000 00000000 00000000 00000000 [ 207.061536] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 207.062253] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 207.062946] Code: e1a01004 e3e02000 eb5a3704 e1a01004 (e5c07000) [ 207.064395] ---[ end trace 0000000000000000 ]---