Date
May 12, 2025, 11:48 a.m.
Environment | |
---|---|
qemu-armv7 |
--- cut here --- [ 226.230382] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 226.230557] [00000000] *pgd=80000040204003, *pmd=00000000 [ 226.231368] Internal error: Oops: a05 [#1] SMP ARM [ 226.232077] Modules linked in: test_vmalloc(+) nfnetlink ip_tables x_tables [ 226.232713] CPU: 1 UID: 0 PID: 1168 Comm: vmalloc_test/0 Tainted: G W 6.15.0-rc6-next-20250512 #1 NONE [ 226.232953] Tainted: [W]=WARN [ 226.233037] Hardware name: Generic DT based system [ 226.233171] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc] [ 226.233389] LR is at vm_map_ram+0x14c/0xa80 [ 226.233534] pc : [<bf018bd8>] lr : [<c06a6934>] psr: 200a0013 [ 226.233877] sp : fa195ef0 ip : f1880000 fp : 00000034 [ 226.234192] r10: aae814c0 r9 : bf01a004 r8 : 00000001 [ 226.234569] r7 : 00000061 r6 : 00000000 r5 : c45d7540 r4 : 00000001 [ 226.234989] r3 : 600a0013 r2 : 00004013 r1 : 00000001 r0 : 00000000 [ 226.235574] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 226.236204] Control: 30c5387d Table: 43e85140 DAC: 00000000 [ 226.236719] Register r0 information: NULL pointer [ 226.237350] Register r1 information: non-paged memory [ 226.237732] Register r2 information: non-paged memory [ 226.238082] Register r3 information: non-paged memory [ 226.238447] Register r4 information: non-paged memory [ 226.238887] Register r5 information: slab kmalloc-64 start c45d7540 pointer offset 0 size 64 [ 226.239793] Register r6 information: NULL pointer [ 226.239969] Register r7 information: non-paged memory [ 226.240140] Register r8 information: non-paged memory [ 226.240306] Register r9 information: 1-page vmalloc region starting at 0xbf01a000 allocated at load_module+0xcf8/0x19b8 [ 226.240672] Register r10 information: non-paged memory [ 226.240846] Register r11 information: non-paged memory [ 226.241022] Register r12 information: 1-page vmalloc region starting at 0xf187f000 allocated at kvfree_rcu_1_arg_vmalloc_test+0x2c/0x6c [test_vmalloc] [ 226.241430] Process vmalloc_test/0 (pid: 1168, stack limit = 0x6e473001) [ 226.242399] Stack: (0xfa195ef0 to 0xfa196000) [ 226.242752] 5ee0: c45d7540 bf0186b0 bf018b40 c3e1a488 [ 226.243314] 5f00: 00000000 c3e1a48c 0000000a bf01a000 00000034 bf01837c c4136f00 c3e1a480 [ 226.243944] 5f20: 8d4fdf3b 83126e97 c3e1a490 00000007 3e8bc8af 00000007 00000005 00000001 [ 226.244667] 5f40: 00000004 00000006 00000008 00000002 0000000a 00000009 00000000 00000003 [ 226.245303] 5f60: 4884e390 c4130000 c2979580 c2979580 fa15db38 bf018100 c3e1a480 00000000 [ 226.245893] 5f80: 00000000 c0493328 00000000 00000000 c3d0a740 c0493234 00000000 00000000 [ 226.246572] 5fa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000 [ 226.247141] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 226.247705] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 226.248279] Call trace: [ 226.248501] vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc] [ 226.249322] test_func [test_vmalloc] from kthread+0xf4/0x2d4 [ 226.249892] kthread from ret_from_fork+0x14/0x38 [ 226.250273] Exception stack(0xfa195fb0 to 0xfa195ff8) [ 226.250625] 5fa0: 00000000 00000000 00000000 00000000 [ 226.250865] systemd-journald[85]: Failed to sync system journal, ignoring: Resource temporarily unavailable [ 226.251892] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 226.252098] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 226.252442] Code: e1a01004 e3e02000 eb5a3704 e1a01004 (e5c07000) [ 226.253645] ---[ end trace 0000000000000000 ]---