Date
May 26, 2025, 9:10 a.m.
Environment | |
---|---|
qemu-armv7 | |
x15 |
--- cut here --- [ 138.292766] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 138.292804] [00000000] *pgd=80000040204003, *pmd=00000000 [ 138.295731] Internal error: Oops: a05 [#1] SMP ARM [ 138.301326] Modules linked in: test_vmalloc(+) nfnetlink ip_tables x_tables [ 138.302194] CPU: 1 UID: 0 PID: 1171 Comm: vmalloc_test/0 Tainted: G W 6.15.0-rc7-next-20250526 #1 NONE [ 138.302591] Tainted: [W]=WARN [ 138.302711] Hardware name: Generic DT based system [ 138.302890] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc] [ 138.303556] LR is at vm_map_ram+0x14c/0xa80 [ 138.303749] pc : [<bf018bd8>] lr : [<c06a8c90>] psr: 200a0013 [ 138.303980] sp : fa1d9ef0 ip : f1a80000 fp : 00000020 [ 138.304110] r10: 31f090e0 r9 : bf01a004 r8 : 00000001 [ 138.304187] r7 : 00000061 r6 : 00000000 r5 : c4537400 r4 : 00000001 [ 138.304276] r3 : 600a0013 r2 : 000022d2 r1 : 00000001 r0 : 00000000 [ 138.304413] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 138.304526] Control: 30c5387d Table: 440717c0 DAC: 00000000 [ 138.304629] Register r0 information: NULL pointer [ 138.304815] Register r1 information: non-paged memory [ 138.304932] Register r2 information: non-paged memory [ 138.305008] Register r3 information: non-paged memory [ 138.305083] Register r4 information: non-paged memory [ 138.305156] Register r5 information: slab kmalloc-64 start c4537400 pointer offset 0 size 64 [ 138.306425] Register r6 information: NULL pointer [ 138.306853] Register r7 information: non-paged memory [ 138.307137] Register r8 information: non-paged memory [ 138.307485] Register r9 information: 1-page vmalloc region starting at 0xbf01a000 allocated at load_module+0xcf8/0x19c4 [ 138.308015] Register r10 information: non-paged memory [ 138.308231] Register r11 information: non-paged memory [ 138.308451] Register r12 information: 1-page vmalloc region starting at 0xf1a7f000 allocated at bpf_prog_alloc_no_stats+0x28/0x148 [ 138.309272] Process vmalloc_test/0 (pid: 1171, stack limit = 0xc4ff74d7) [ 138.310078] Stack: (0xfa1d9ef0 to 0xfa1da000) [ 138.310518] 9ee0: c4537400 bf0189b0 bf018b40 c3e85e48 [ 138.310829] 9f00: 00000000 c3e85e4c 0000000a bf01a000 00000020 bf01837c c40240c0 c3e85e40 [ 138.310964] 9f20: 8d4fdf3b 83126e97 c3e85e50 00000009 ff89826a 00000008 00000002 00000006 [ 138.311300] 9f40: 00000009 00000001 00000004 00000000 00000003 00000007 0000000a 00000005 [ 138.311644] 9f60: 1231d786 c4088000 c3ed5400 c3ed5400 fa1cdb38 bf018100 c3e85e40 00000000 [ 138.311847] 9f80: 00000000 c049332c 00000000 00000000 c3d32a80 c0493238 00000000 00000000 [ 138.312039] 9fa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000 [ 138.312231] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.312442] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 138.312658] Call trace: [ 138.312806] vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc] [ 138.313273] test_func [test_vmalloc] from kthread+0xf4/0x2d4 [ 138.313883] kthread from ret_from_fork+0x14/0x38 [ 138.314387] Exception stack(0xfa1d9fb0 to 0xfa1d9ff8) [ 138.315022] 9fa0: 00000000 00000000 00000000 00000000 [ 138.315544] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 138.315943] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 138.316633] Code: e1a01004 e3e02000 eb5a3fdb e1a01004 (e5c07000) [ 138.317590] ---[ end trace 0000000000000000 ]---
--- cut here --- [ 55.221588] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write [ 55.230712] [00000000] *pgd=80000080204003, *pmd=00000000 [ 55.236145] Internal error: Oops: a05 [#1] SMP ARM [ 55.240966] Modules linked in: test_vmalloc(+) etnaviv snd_soc_simple_card gpu_sched snd_soc_simple_card_utils onboard_usb_dev omapdrm ahci_dwc snd_soc_tlv320aic3x_i2c snd_soc_tlv320aic3x snd_soc_davinci_mcasp snd_soc_ti_sdma snd_soc_ti_udma snd_soc_ti_edma snd_soc_core ac97_bus snd_pcm_dmaengine snd_pcm snd_timer snd soundcore ti_tpd12s015 omap_remoteproc display_connector nfnetlink ip_tables x_tables [ 55.276855] CPU: 1 UID: 0 PID: 1262 Comm: vmalloc_test/0 Tainted: G W 6.15.0-rc7-next-20250526 #1 NONE [ 55.287780] Tainted: [W]=WARN [ 55.290771] Hardware name: Generic DRA74X (Flattened Device Tree) [ 55.296905] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc] [ 55.302764] LR is at vm_map_ram+0x14c/0xa80 [ 55.306976] pc : [<bf064bd8>] lr : [<c06a8c90>] psr: 20000013 [ 55.313262] sp : f2be5ef0 ip : f0380000 fp : 0000000c [ 55.318511] r10: da710cb6 r9 : bf066004 r8 : 00000001 [ 55.323760] r7 : 00000061 r6 : 00000000 r5 : c657c700 r4 : 00000001 [ 55.330322] r3 : 60000013 r2 : 00004872 r1 : 00000001 r0 : 00000000 [ 55.336883] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 55.344024] Control: 30c5387d Table: 85ec6000 DAC: 55555555 [ 55.349822] Register r0 information: NULL pointer [ 55.354553] Register r1 information: non-paged memory [ 55.359619] Register r2 information: non-paged memory [ 55.364685] Register r3 information: non-paged memory [ 55.369781] Register r4 information: non-paged memory [ 55.374847] Register r5 information: slab kmalloc-64 start c657c700 pointer offset 0 size 64 [ 55.383331] Register r6 information: NULL pointer [ 55.388061] Register r7 information: non-paged memory [ 55.393127] Register r8 information: non-paged memory [ 55.398223] Register r9 information: 1-page vmalloc region starting at 0xbf066000 allocated at load_module+0xcf8/0x19c4 [ 55.409057] Register r10 information: non-slab/vmalloc memory [ 55.414825] Register r11 information: non-paged memory [ 55.419982] Register r12 information: 0-page vmalloc region starting at 0xf0380000 allocated at __devm_ioremap_resource+0x118/0x1f0 [ 55.431884] Process vmalloc_test/0 (pid: 1262, stack limit = 0x13e7d40a) [ 55.438629] Stack: (0xf2be5ef0 to 0xf2be6000) [ 55.442993] 5ee0: c657c700 bf064588 bf064b40 c53a3f08 [ 55.451202] 5f00: 00000000 c53a3f0c 0000000a bf066000 0000000c bf06437c c5839bc0 c53a3f00 [ 55.459442] 5f20: 8d4fdf3b 83126e97 c53a3f10 00000003 00000000 00000004 00000008 00000001 [ 55.467651] 5f40: 0000000a 00000002 00000006 00000003 00000005 00000007 00000000 00000009 [ 55.475860] 5f60: 7c7ee467 c5818940 c53adf80 c53adf80 f2bd1b38 bf064100 c53a3f00 00000000 [ 55.484069] 5f80: 00000000 c049332c 00000000 00000000 c5c08b40 c0493238 00000000 00000000 [ 55.492279] 5fa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000 [ 55.500518] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 55.508728] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 55.516937] Call trace: [ 55.516937] vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc] [ 55.527343] test_func [test_vmalloc] from kthread+0xf4/0x2d4 [ 55.533142] kthread from ret_from_fork+0x14/0x38 [ 55.537872] Exception stack(0xf2be5fb0 to 0xf2be5ff8) [ 55.542938] 5fa0: 00000000 00000000 00000000 00000000 [ 55.551147] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 55.559356] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 55.566009] Code: e1a01004 e3e02000 eb590fdb e1a01004 (e5c07000) [ 55.572174] ---[ end trace 0000000000000000 ]---