Date
May 12, 2025, 11:48 a.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 159.134668] Unab [ 159.134668] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 159.134783] [00000000] *pgd=80000040204003, *pmd=00000000 [ 159.135594] Internal error: Oops: a05 [#1] SMP ARM [ 159.137708] Modules linked in: test_vmalloc(+) fuse [ 159.138415] CPU: 0 UID: 0 PID: 1183 Comm: vmalloc_test/0 Tainted: G W 6.15.0-rc6-next-20250512 #1 NONE [ 159.139257] Tainted: [W]=WARN [ 159.139536] Hardware name: Generic DT based system [ 159.139882] PC is at vm_map_ram_test+0xcc/0xf0 [test_vmalloc] [ 159.140427] LR is at 0xfa331e60 [ 159.140659] pc : [<bf02d5c8>] lr : [<fa331e60>] psr: 600f0013 [ 159.141063] sp : fa331ee8 ip : edbd7e10 fp : c3f188e0 [ 159.141542] r10: 0c2fd450 r9 : 00000061 r8 : c445dac0 [ 159.141774] r7 : 00000001 r6 : bf02f014 r5 : 00000001 r4 : 00000001 [ 159.142282] r3 : c4154e00 r2 : 00000000 r1 : 00000001 r0 : 00000000 [ 159.142763] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 159.143456] Control: 30c5387d Table: 43efe1c0 DAC: fffffffd [ 159.143955] Register r0 information: NULL pointer [ 159.144505] Register r1 information: non-paged memory [ 159.144703] Register r2 information: NULL pointer [ 159.145344] Register r3 information: slab task_struct start c4154e00 pointer offset 0 size 2496 [ 159.146571] Register r4 information: non-paged memory [ 159.146948] Register r5 information: non-paged memory [ 159.147582] Register r6 information: 1-page vmalloc region starting at 0xbf02f000 allocated at load_module+0x7b0/0x1d00 [ 159.148318] Register r7 information: non-paged memory [ 159.148474] Register r8 information: slab kmalloc-64 start c445dac0 pointer offset 0 size 64 [ 159.148719] Register r9 information: non-paged memory [ 159.148872] Register r10 information: non-paged memory [ 159.149016] Register r11 information: slab kmalloc-192 start c3f18840 pointer offset 160 size 192 [ 159.149270] Register r12 information: non-slab/vmalloc memory [ 159.149471] Process vmalloc_test/0 (pid: 1183, stack limit = 0x4d6fbf69) [ 159.150016] Stack: (0xfa331ee8 to 0xfa332000) [ 159.150799] 1ee0: c445dac0 c051a6d8 bf02d058 bf02d4fc 0000000a bf02f014 [ 159.151638] 1f00: fa331f50 fa331f5c 00000000 bf02d6ec 313fbb20 00000000 c3f18840 00000025 [ 159.152506] 1f20: bf031238 bf02f000 c248b980 a255718f 00000006 00000004 00000009 00000005 [ 159.153371] 1f40: 00000000 00000002 00000008 0000000a 00000003 00000007 00000001 bdb53fc0 [ 159.154029] 1f60: c3f18840 00000001 c42b1600 c4154e00 c42b1600 bf02d5ec c3f18840 00000000 [ 159.154668] 1f80: 00000000 c048c56c 00000000 bdb53fc0 c4287440 c048c458 00000000 00000000 [ 159.155624] 1fa0: 00000000 00000000 00000000 c0400254 00000000 00000000 00000000 00000000 [ 159.156706] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 159.157170] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 159.157474] Call trace: [ 159.157607] vm_map_ram_test [test_vmalloc] from test_func+0x100/0x2d8 [test_vmalloc] [ 159.158475] test_func [test_vmalloc] from kthread+0x114/0x240 [ 159.158970] kthread from ret_from_fork+0x14/0x20 [ 159.159357] Exception stack(0xfa331fb0 to 0xfa331ff8) [ 159.159749] 1fa0: 00000000 00000000 00000000 00000000 [ 159.159971] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 159.160930] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 159.161672] Code: e1a00008 e2844001 eb5a2aa0 e1a01005 (e5c09000) [ 159.162700] ---[ end trace 0000000000000000 ]---