Date
May 13, 2025, 12:07 p.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 112.136494] Unabl [ 112.136494] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 112.136620] [00000000] *pgd=80000040204003, *pmd=00000000 [ 112.137108] Internal error: Oops: a05 [#1] SMP ARM [ 112.138690] Modules linked in: test_vmalloc(+) fuse [ 112.139130] CPU: 1 UID: 0 PID: 1170 Comm: vmalloc_test/0 Tainted: G W 6.15.0-rc6-next-20250513 #1 NONE [ 112.139519] Tainted: [W]=WARN [ 112.139607] Hardware name: Generic DT based system [ 112.139774] PC is at vm_map_ram_test+0xcc/0xf0 [test_vmalloc] [ 112.140042] LR is at 0xfa3b1e60 [ 112.140257] pc : [<bf02d5c8>] lr : [<fa3b1e60>] psr: 600a0013 [ 112.140524] sp : fa3b1ee8 ip : edbeae10 fp : c40dae20 [ 112.140716] r10: 1a93a4b0 r9 : 00000061 r8 : c44bedc0 [ 112.140866] r7 : 00000001 r6 : bf02f014 r5 : 00000001 r4 : 00000001 [ 112.141121] r3 : c42f0000 r2 : 00000000 r1 : 00000001 r0 : 00000000 [ 112.141480] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 112.141692] Control: 30c5387d Table: 4410f540 DAC: 00000000 [ 112.142150] Register r0 information: NULL pointer [ 112.142842] Register r1 information: non-paged memory [ 112.143146] Register r2 information: NULL pointer [ 112.143279] Register r3 information: slab task_struct start c42f0000 pointer offset 0 size 2496 [ 112.143873] Register r4 information: non-paged memory [ 112.144094] Register r5 information: non-paged memory [ 112.144261] Register r6 information: 1-page vmalloc region starting at 0xbf02f000 allocated at load_module+0x7b0/0x1d00 [ 112.145374] Register r7 information: non-paged memory [ 112.145590] Register r8 information: slab kmalloc-64 start c44bedc0 pointer offset 0 size 64 [ 112.146111] Register r9 information: non-paged memory [ 112.146390] Register r10 information: non-paged memory [ 112.146600] Register r11 information: slab kmalloc-192 start c40dad80 pointer offset 160 size 192 [ 112.147118] Register r12 information: non-slab/vmalloc memory [ 112.147339] Process vmalloc_test/0 (pid: 1170, stack limit = 0x23dd86d9) [ 112.147916] Stack: (0xfa3b1ee8 to 0xfa3b2000) [ 112.148116] 1ee0: c44bedc0 c051a6d8 bf02d058 bf02d4fc 0000000a bf02f014 [ 112.148457] 1f00: fa3b1f3c fa3b1f5c 00000000 bf02d6ec 0390b210 00000000 c40dad80 0000001a [ 112.148758] 1f20: bf031238 bf02f000 c248b9c0 a3515c70 00000006 00000008 0000000a 00000005 [ 112.149409] 1f40: 00000000 00000002 00000001 00000004 00000003 00000007 00000009 099c8a24 [ 112.149868] 1f60: c40dad80 00000001 c409e480 c42f0000 c409e480 bf02d5ec c40dad80 00000000 [ 112.150223] 1f80: 00000000 c048c56c 00000000 099c8a24 c3f37b00 c048c458 00000000 00000000 [ 112.150680] 1fa0: 00000000 00000000 00000000 c0400254 00000000 00000000 00000000 00000000 [ 112.150966] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 112.151412] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 112.151752] Call trace: [ 112.152126] vm_map_ram_test [test_vmalloc] from test_func+0x100/0x2d8 [test_vmalloc] [ 112.152622] test_func [test_vmalloc] from kthread+0x114/0x240 [ 112.152899] kthread from ret_from_fork+0x14/0x20 [ 112.153076] Exception stack(0xfa3b1fb0 to 0xfa3b1ff8) [ 112.153292] 1fa0: 00000000 00000000 00000000 00000000 [ 112.153844] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 112.154159] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 112.154535] Code: e1a00008 e2844001 eb5a2aa0 e1a01005 (e5c09000) [ 112.155196] ---[ end trace 0000000000000000 ]---