Date
June 24, 2025, 11:37 a.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 168.071797] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 168.071865] [00000000] *pgd=80000040204003, *pmd=00000000 [ 168.072349] Internal error: Oops: a05 [#1] SMP ARM [ 168.093886] Modules linked in: test_vmalloc(+) fuse [ 168.094656] CPU: 1 UID: 0 PID: 1225 Comm: vmalloc_test/0 Tainted: G W 6.16.0-rc3-next-20250624 #1 NONE [ 168.095613] Tainted: [W]=WARN [ 168.095707] Hardware name: Generic DT based system [ 168.095848] PC is at vm_map_ram_test+0xcc/0xf0 [test_vmalloc] [ 168.096021] LR is at 0xfa235e60 [ 168.096189] pc : [<bf02d5c8>] lr : [<fa235e60>] psr: 60070013 [ 168.097400] sp : fa235ee8 ip : edbeae50 fp : c4312e20 [ 168.098379] r10: 211819e0 r9 : 00000061 r8 : c4404600 [ 168.099164] r7 : 00000001 r6 : bf02f000 r5 : 00000001 r4 : 00000001 [ 168.100277] r3 : c39d30c0 r2 : 00000000 r1 : 00000001 r0 : 00000000 [ 168.100974] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 168.101592] Control: 30c5387d Table: 4440b380 DAC: 00000000 [ 168.101787] Register r0 information: NULL pointer [ 168.102095] Register r1 information: non-paged memory [ 168.102240] Register r2 information: NULL pointer [ 168.102381] Register r3 information: slab task_struct start c39d30c0 pointer offset 0 size 2496 [ 168.104490] Register r4 information: non-paged memory [ 168.105239] Register r5 information: non-paged memory [ 168.105779] Register r6 information: 1-page vmalloc region starting at 0xbf02f000 allocated at load_module+0x7b0/0x1d5c [ 168.106919] Register r7 information: non-paged memory [ 168.107473] Register r8 information: slab kmalloc-64 start c4404600 pointer offset 0 size 64 [ 168.108425] Register r9 information: non-paged memory [ 168.108915] Register r10 information: non-paged memory [ 168.109262] Register r11 information: slab kmalloc-192 start c4312d80 pointer offset 160 size 192 [ 168.109799] Register r12 information: non-slab/vmalloc memory [ 168.110581] Process vmalloc_test/0 (pid: 1225, stack limit = 0x1b8d2320) [ 168.111159] Stack: (0xfa235ee8 to 0xfa236000) [ 168.111624] 5ee0: c4404600 c051b608 bf02d1f4 bf02d4fc 0000000a bf02f000 [ 168.112472] 5f00: fa235f50 fa235f5c 00000000 bf02d6ec 0001cde0 00000000 c4312d80 00000027 [ 168.113267] 5f20: bf031238 bf02f400 c248ad60 bff2c92d 00000003 00000009 00000000 00000006 [ 168.114175] 5f40: 00000007 00000001 00000005 0000000a 00000004 00000008 00000002 eeee72c0 [ 168.114969] 5f60: c4312d80 00000001 c4550200 c39d30c0 c4550200 bf02d5ec c4312d80 00000000 [ 168.115770] 5f80: 00000000 c048c388 00000000 eeee72c0 c3fd3640 c048c274 00000000 00000000 [ 168.116580] 5fa0: 00000000 00000000 00000000 c0400254 00000000 00000000 00000000 00000000 [ 168.117478] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 168.118171] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 168.118799] Call trace: [ 168.118935] vm_map_ram_test [test_vmalloc] from test_func+0x100/0x2d8 [test_vmalloc] [ 168.119238] test_func [test_vmalloc] from kthread+0x114/0x240 [ 168.119426] kthread from ret_from_fork+0x14/0x20 [ 168.119562] Exception stack(0xfa235fb0 to 0xfa235ff8) [ 168.119700] 5fa0: 00000000 00000000 00000000 00000000 [ 168.119908] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 168.120114] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 168.120698] Code: e1a00008 e2844001 eb5a39ca e1a01005 (e5c09000) [ 168.122128] ---[ end trace 0000000000000000 ]---