Hay
Date
June 6, 2025, 6:11 a.m.

Environment
x15

--- cut here ---
[   54.751739] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when write
[   54.760864] [00000000] *pgd=80000080204003, *pmd=00000000
[   54.766326] Internal error: Oops: a05 [#1] SMP ARM
[   54.771148] Modules linked in: test_vmalloc(+) etnaviv snd_soc_simple_card omapdrm gpu_sched snd_soc_simple_card_utils onboard_usb_dev ahci_dwc snd_soc_davinci_mcasp snd_soc_ti_sdma snd_soc_ti_udma snd_soc_ti_edma snd_soc_tlv320aic3x_i2c snd_soc_tlv320aic3x snd_soc_core ac97_bus snd_pcm_dmaengine snd_pcm snd_timer snd soundcore ti_tpd12s015 display_connector omap_remoteproc nfnetlink ip_tables x_tables
[   54.807037] CPU: 0 UID: 0 PID: 1265 Comm: vmalloc_test/0 Tainted: G        W           6.15.0-next-20250606 #1 NONE 
[   54.817626] Tainted: [W]=WARN
[   54.820587] Hardware name: Generic DRA74X (Flattened Device Tree)
[   54.826721] PC is at vm_map_ram_test+0x98/0x4c0 [test_vmalloc]
[   54.832580] LR is at vm_map_ram+0x14c/0xa80
[   54.836791] pc : [<bf0dabd8>]    lr : [<c06a8e88>]    psr: 200a0013
[   54.843078] sp : f2b39ef0  ip : f1400000  fp : 0000000c
[   54.848327] r10: be6d8c96  r9 : bf0dc004  r8 : 00000001
[   54.853576] r7 : 00000061  r6 : 00000000  r5 : c7328d00  r4 : 00000001
[   54.860137] r3 : 600a0013  r2 : 000035a8  r1 : 00000001  r0 : 00000000
[   54.866699] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   54.873870] Control: 30c5387d  Table: 852c8f80  DAC: fffffffd
[   54.879638] Register r0 information: NULL pointer
[   54.884368] Register r1 information: non-paged memory
[   54.889434] Register r2 information: non-paged memory
[   54.894500] Register r3 information: non-paged memory
[   54.899597] Register r4 information: non-paged memory
[   54.904663] Register r5 information: slab kmalloc-64 start c7328d00 pointer offset 0 size 64
[   54.913146] Register r6 information: NULL pointer
[   54.917877] Register r7 information: non-paged memory
[   54.922943] Register r8 information: non-paged memory
[   54.928039] Register r9 information: 1-page vmalloc region starting at 0xbf0dc000 allocated at load_module+0xcf8/0x19c4
[   54.938873] Register r10 information: non-paged memory
[   54.944030] Register r11 information: non-paged memory
[   54.949188] Register r12 information: 0-page vmalloc region starting at 0xf1400000 allocated at __devm_ioremap_resource+0x180/0x1f0
[   54.961090] Process vmalloc_test/0 (pid: 1265, stack limit = 0x86c7381b)
[   54.967803] Stack: (0xf2b39ef0 to 0xf2b3a000)
[   54.972198] 9ee0:                                     c7328d00 bf0dc004 bf0dab40 c532bb48
[   54.980407] 9f00: 00000000 c532bb4c 0000000a bf0dc000 0000000c bf0da37c c57fca00 c532bb40
[   54.988616] 9f20: 8d4fdf3b 83126e97 c532bb50 00000007 00000000 00000005 00000008 00000006
[   54.996826] 9f40: 00000007 00000003 00000004 00000000 0000000a 00000002 00000001 00000009
[   55.005065] 9f60: e23d5438 c57d5850 c4521200 c4521200 f2b2db38 bf0da100 c532bb40 00000000
[   55.013275] 9f80: 00000000 c0493350 00000000 00000000 c5892cc0 c0493258 00000000 00000000
[   55.021484] 9fa0: 00000000 00000000 00000000 c040029c 00000000 00000000 00000000 00000000
[   55.029693] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   55.037902] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   55.046112] Call trace: 
[   55.046142]  vm_map_ram_test [test_vmalloc] from test_func+0x27c/0x3c4 [test_vmalloc]
[   55.056549]  test_func [test_vmalloc] from kthread+0xf8/0x2d8
[   55.062316]  kthread from ret_from_fork+0x14/0x38
[   55.067047] Exception stack(0xf2b39fb0 to 0xf2b39ff8)
[   55.072113] 9fa0:                                     00000000 00000000 00000000 00000000
[   55.080352] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   55.088562] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   55.095214] Code: e1a01004 e3e02000 eb573859 e1a01004 (e5c07000) 
[   55.101440] ---[ end trace 0000000000000000 ]---