Date
June 16, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 251.942721] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 251.942864] [00000000] *pgd=80000040204003, *pmd=00000000 [ 251.943613] Internal error: Oops: a05 [#1] SMP ARM [ 251.945718] Modules linked in: test_vmalloc(+) nfnetlink ip_tables x_tables [ 251.946794] CPU: 0 UID: 0 PID: 1222 Comm: vmalloc_test/0 Tainted: G W 6.16.0-rc2-next-20250616 #1 NONE [ 251.947655] Tainted: [W]=WARN [ 251.947917] Hardware name: Generic DT based system [ 251.948307] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc] [ 251.948826] LR is at vm_map_ram+0x14c/0xa80 [ 251.949202] pc : [<bf018bd8>] lr : [<c06ab80c>] psr: 200e0013 [ 251.949688] sp : fa1e9ef0 ip : f1a80000 fp : 0000003a [ 251.950103] r10: a6ed7e50 r9 : bf01a01c r8 : 00000001 [ 251.950324] r7 : 00000061 r6 : 00000000 r5 : c48d6800 r4 : 00000001 [ 251.950940] r3 : 600e0013 r2 : 000031fd r1 : 00000001 r0 : 00000000 [ 251.951582] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 251.952211] Control: 30c5387d Table: 44210e00 DAC: fffffffd [ 251.952509] Register r0 information: NULL pointer [ 251.953001] Register r1 information: non-paged memory [ 251.953220] Register r2 information: non-paged memory [ 251.953639] Register r3 information: non-paged memory [ 251.954135] Register r4 information: non-paged memory [ 251.954594] Register r5 information: slab kmalloc-64 start c48d6800 pointer offset 0 size 64 [ 251.956116] Register r6 information: NULL pointer [ 251.956662] Register r7 information: non-paged memory [ 251.957118] Register r8 information: non-paged memory [ 251.957636] Register r9 information: 1-page vmalloc region starting at 0xbf01a000 allocated at load_module+0xcf8/0x19c4 [ 251.958647] Register r10 information: non-paged memory [ 251.959104] Register r11 information: non-paged memory [ 251.959535] Register r12 information: 2-page vmalloc region starting at 0xf1a80000 allocated at copy_process+0x168/0xdb0 [ 251.960404] Process vmalloc_test/0 (pid: 1222, stack limit = 0xe37150ab) [ 251.961362] Stack: (0xfa1e9ef0 to 0xfa1ea000) [ 251.961563] 9ee0: c48d6800 bf018588 bf018b40 c408ea88 [ 251.961855] 9f00: 00000000 c408ea8c 0000000a bf01a018 0000003a bf01837c c42de5c0 c408ea80 [ 251.962292] 9f20: 8d4fdf3b 83126e97 c408ea90 00000008 8958764f 00000002 00000009 00000005 [ 251.962950] 9f40: 00000007 00000003 00000004 00000001 00000008 0000000a 00000000 00000006 [ 251.963734] 9f60: 0d165db8 c40e6ad0 c4221380 c4221380 fa205b38 bf018100 c408ea80 00000000 [ 251.964589] 9f80: 00000000 c049325c 00000000 00000000 c4205900 c0493164 00000000 00000000 [ 251.965314] 9fa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000 [ 251.966072] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 251.966719] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 251.967440] Call trace: [ 251.967688] vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc] [ 251.968450] test_func [test_vmalloc] from kthread+0xf8/0x2d8 [ 251.968984] kthread from ret_from_fork+0x14/0x38 [ 251.969449] Exception stack(0xfa1e9fb0 to 0xfa1e9ff8) [ 251.969858] 9fa0: 00000000 00000000 00000000 00000000 [ 251.970137] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 251.970806] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 251.971560] Code: e1a01004 e3e02000 eb5a4aba e1a01004 (e5c07000) [ 251.973087] ---[ end trace 0000000000000000 ]---
--- cut here --- [ 243.868723] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 243.868807] [00000000] *pgd=80000040204003, *pmd=00000000 [ 243.869676] Internal error: Oops: a05 [#1] SMP ARM [ 243.900727] Modules linked in: test_vmalloc(+) fuse [ 243.901929] CPU: 1 UID: 0 PID: 1221 Comm: vmalloc_test/0 Tainted: G W 6.16.0-rc2-next-20250616 #1 NONE [ 243.902859] Tainted: [W]=WARN [ 243.903687] Hardware name: Generic DT based system [ 243.904719] PC is at vm_map_ram_test+0xcc/0xf0 [test_vmalloc] [ 243.905156] LR is at 0xfa3b9e60 [ 243.905565] pc : [<bf02d5c8>] lr : [<fa3b9e60>] psr: 60000013 [ 243.906584] sp : fa3b9ee8 ip : edbeae50 fp : c441e520 [ 243.906999] r10: c68dc860 r9 : 00000061 r8 : c2b615c0 [ 243.907711] r7 : 00000001 r6 : bf02f000 r5 : 00000001 r4 : 00000001 [ 243.908879] r3 : c44757c0 r2 : 00000000 r1 : 00000001 r0 : 00000000 [ 243.909883] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 243.910666] Control: 30c5387d Table: 444ccac0 DAC: 00000000 [ 243.911072] Register r0 information: NULL pointer [ 243.911625] Register r1 information: non-paged memory [ 243.911934] Register r2 information: NULL pointer [ 243.912194] Register r3 information: slab task_struct start c44757c0 pointer offset 0 size 2496 [ 243.913822] Register r4 information: non-paged memory [ 243.914246] Register r5 information: non-paged memory [ 243.914646] Register r6 information: 1-page vmalloc region starting at 0xbf02f000 allocated at load_module+0x7b0/0x1d5c [ 243.915536] Register r7 information: non-paged memory [ 243.917036] Register r8 information: slab kmalloc-64 start c2b615c0 pointer offset 0 size 64 [ 243.917691] Register r9 information: non-paged memory [ 243.918557] Register r10 information: non-slab/vmalloc memory [ 243.919431] Register r11 information: slab kmalloc-192 start c441e480 pointer offset 160 size 192 [ 243.921140] Register r12 information: non-slab/vmalloc memory [ 243.922269] Process vmalloc_test/0 (pid: 1221, stack limit = 0x9ae428f9) [ 243.924193] Stack: (0xfa3b9ee8 to 0xfa3ba000) [ 243.924699] 9ee0: c2b615c0 c051b428 bf02d308 bf02d4fc 0000000a bf02f000 [ 243.925951] 9f00: fa3b9f58 fa3b9f5c 00000000 bf02d6ec 00032380 00000000 c441e480 00000038 [ 243.926652] 9f20: bf031238 bf02f400 c248b4a0 460473d6 00000008 00000002 00000007 00000009 [ 243.927349] 9f40: 00000003 00000004 00000005 00000006 00000001 0000000a 00000000 4da347b3 [ 243.928238] 9f60: c441e480 00000001 c440bf00 c44757c0 c440bf00 bf02d5ec c441e480 00000000 [ 243.929437] 9f80: 00000000 c048c488 00000000 4da347b3 c3d9cb40 c048c374 00000000 00000000 [ 243.929879] 9fa0: 00000000 00000000 00000000 c0400254 00000000 00000000 00000000 00000000 [ 243.930718] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 243.931313] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 243.932298] Call trace: [ 243.932793] vm_map_ram_test [test_vmalloc] from test_func+0x100/0x2d8 [test_vmalloc] [ 243.933709] test_func [test_vmalloc] from kthread+0x114/0x240 [ 243.934084] kthread from ret_from_fork+0x14/0x20 [ 243.934332] Exception stack(0xfa3b9fb0 to 0xfa3b9ff8) [ 243.934573] 9fa0: 00000000 00000000 00000000 00000000 [ 243.935003] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 243.935575] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 243.936245] Code: e1a00008 e2844001 eb5a39df e1a01005 (e5c09000) [ 243.938753] ---[ end trace 0000000000000000 ]---