Hay
Date
June 8, 2025, 11:09 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   76.943680] ==================================================================
[   76.943822] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   76.943822] 
[   76.943969] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#196):
[   76.947655]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   76.952862]  kunit_try_run_case+0x170/0x3f0
[   76.957028]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   76.962497]  kthread+0x328/0x630
[   76.965709]  ret_from_fork+0x10/0x20
[   76.969267] 
[   76.970746] kfence-#196: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   76.970746] 
[   76.980382] allocated by task 372 on cpu 0 at 76.943604s (0.036776s ago):
[   76.987166]  test_alloc+0x29c/0x628
[   76.990621]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   76.995743]  kunit_try_run_case+0x170/0x3f0
[   76.999909]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   77.005378]  kthread+0x328/0x630
[   77.008590]  ret_from_fork+0x10/0x20
[   77.012149] 
[   77.013627] freed by task 372 on cpu 0 at 76.943621s (0.070002s ago):
[   77.020065]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   77.025256]  kunit_try_run_case+0x170/0x3f0
[   77.029423]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   77.034891]  kthread+0x328/0x630
[   77.038103]  ret_from_fork+0x10/0x20
[   77.041664] 
[   77.043149] CPU: 0 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   77.053046] Tainted: [B]=BAD_PAGE, [N]=TEST
[   77.057203] Hardware name: WinLink E850-96 board (DT)
[   77.062238] ==================================================================

[   37.796275] ==================================================================
[   37.796430] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   37.796430] 
[   37.796516] Corrupted memory at 0x00000000b97ebba3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#178):
[   37.796879]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   37.796979]  kunit_try_run_case+0x170/0x3f0
[   37.797048]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.797105]  kthread+0x328/0x630
[   37.797160]  ret_from_fork+0x10/0x20
[   37.797210] 
[   37.797240] kfence-#178: 0x0000000032987e51-0x00000000cf879059, size=73, cache=kmalloc-96
[   37.797240] 
[   37.797310] allocated by task 325 on cpu 0 at 37.795836s (0.001470s ago):
[   37.797389]  test_alloc+0x29c/0x628
[   37.797443]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   37.797501]  kunit_try_run_case+0x170/0x3f0
[   37.797555]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.797612]  kthread+0x328/0x630
[   37.797660]  ret_from_fork+0x10/0x20
[   37.797709] 
[   37.797737] freed by task 325 on cpu 0 at 37.796090s (0.001643s ago):
[   37.797815]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   37.797872]  kunit_try_run_case+0x170/0x3f0
[   37.797926]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.798004]  kthread+0x328/0x630
[   37.798050]  ret_from_fork+0x10/0x20
[   37.798100] 
[   37.798151] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   37.798248] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.798286] Hardware name: linux,dummy-virt (DT)
[   37.798327] ==================================================================

[   40.326439] ==================================================================
[   40.326569] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   40.326569] 
[   40.326657] Corrupted memory at 0x0000000098f8fe0a [ ! . . . . . . . . . . . . . . . ] (in kfence-#203):
[   40.327078]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   40.327149]  kunit_try_run_case+0x170/0x3f0
[   40.327209]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.327270]  kthread+0x328/0x630
[   40.327322]  ret_from_fork+0x10/0x20
[   40.327376] 
[   40.327405] kfence-#203: 0x000000004a7ee7be-0x000000002c774027, size=73, cache=kmalloc-96
[   40.327405] 
[   40.327475] allocated by task 325 on cpu 1 at 40.326064s (0.001406s ago):
[   40.327557]  test_alloc+0x29c/0x628
[   40.327610]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   40.327669]  kunit_try_run_case+0x170/0x3f0
[   40.327724]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.327794]  kthread+0x328/0x630
[   40.327859]  ret_from_fork+0x10/0x20
[   40.327913] 
[   40.327946] freed by task 325 on cpu 1 at 40.326277s (0.001663s ago):
[   40.328027]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   40.328084]  kunit_try_run_case+0x170/0x3f0
[   40.328139]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.328199]  kthread+0x328/0x630
[   40.328247]  ret_from_fork+0x10/0x20
[   40.328296] 
[   40.328350] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   40.328448] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.328484] Hardware name: linux,dummy-virt (DT)
[   40.328528] ==================================================================

[   34.267615] ==================================================================
[   34.268084] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340
[   34.268084] 
[   34.269453] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#174):
[   34.271011]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   34.271474]  kunit_try_run_case+0x1a5/0x480
[   34.272269]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.272809]  kthread+0x337/0x6f0
[   34.273188]  ret_from_fork+0x116/0x1d0
[   34.273711]  ret_from_fork_asm+0x1a/0x30
[   34.274145] 
[   34.274438] kfence-#174: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   34.274438] 
[   34.275391] allocated by task 343 on cpu 0 at 34.267168s (0.008217s ago):
[   34.275966]  test_alloc+0x364/0x10f0
[   34.276461]  test_kmalloc_aligned_oob_write+0xc8/0x340
[   34.277018]  kunit_try_run_case+0x1a5/0x480
[   34.277559]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.278118]  kthread+0x337/0x6f0
[   34.278544]  ret_from_fork+0x116/0x1d0
[   34.278938]  ret_from_fork_asm+0x1a/0x30
[   34.279409] 
[   34.279678] freed by task 343 on cpu 0 at 34.267418s (0.012254s ago):
[   34.280252]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   34.280802]  kunit_try_run_case+0x1a5/0x480
[   34.281154]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.281666]  kthread+0x337/0x6f0
[   34.282100]  ret_from_fork+0x116/0x1d0
[   34.282602]  ret_from_fork_asm+0x1a/0x30
[   34.283064] 
[   34.283449] CPU: 0 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   34.284415] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.284881] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.285513] ==================================================================

[   33.387189] ==================================================================
[   33.387777] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340
[   33.387777] 
[   33.388562] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#168):
[   33.389887]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   33.390662]  kunit_try_run_case+0x1a5/0x480
[   33.391111]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.391572]  kthread+0x337/0x6f0
[   33.391997]  ret_from_fork+0x116/0x1d0
[   33.392429]  ret_from_fork_asm+0x1a/0x30
[   33.392865] 
[   33.393125] kfence-#168: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   33.393125] 
[   33.393749] allocated by task 343 on cpu 0 at 33.386828s (0.006915s ago):
[   33.394521]  test_alloc+0x364/0x10f0
[   33.394852]  test_kmalloc_aligned_oob_write+0xc8/0x340
[   33.395568]  kunit_try_run_case+0x1a5/0x480
[   33.395993]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.396425]  kthread+0x337/0x6f0
[   33.396861]  ret_from_fork+0x116/0x1d0
[   33.397414]  ret_from_fork_asm+0x1a/0x30
[   33.397823] 
[   33.398082] freed by task 343 on cpu 0 at 33.387034s (0.011042s ago):
[   33.398564]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   33.399038]  kunit_try_run_case+0x1a5/0x480
[   33.399529]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.400068]  kthread+0x337/0x6f0
[   33.400464]  ret_from_fork+0x116/0x1d0
[   33.400816]  ret_from_fork_asm+0x1a/0x30
[   33.401349] 
[   33.401613] CPU: 0 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   33.402544] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.402944] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.403683] ==================================================================

[   31.668600] ==================================================================
[   31.669270] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   31.669270] 
[   31.670116] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#165):
[   31.671015]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   31.671484]  kunit_try_run_case+0x170/0x3f0
[   31.671865]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.672356]  kthread+0x328/0x630
[   31.672650]  ret_from_fork+0x10/0x20
[   31.672975] 
[   31.673113] kfence-#165: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   31.673113] 
[   31.673963] allocated by task 378 on cpu 4 at 31.668538s (0.005424s ago):
[   31.674569]  test_alloc+0x29c/0x628
[   31.674884]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   31.675344]  kunit_try_run_case+0x170/0x3f0
[   31.675719]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.676208]  kthread+0x328/0x630
[   31.676499]  ret_from_fork+0x10/0x20
[   31.676820] 
[   31.676958] freed by task 378 on cpu 4 at 31.668547s (0.008410s ago):
[   31.677534]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   31.678000]  kunit_try_run_case+0x170/0x3f0
[   31.678375]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.678866]  kthread+0x328/0x630
[   31.679156]  ret_from_fork+0x10/0x20
[   31.679479] 
[   31.679622] CPU: 4 UID: 0 PID: 378 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   31.680501] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.680875] Hardware name: Radxa ROCK Pi 4B (DT)
[   31.681286] ==================================================================