Hay
Date
July 19, 2025, 11:11 a.m.

Environment
qemu-arm64
qemu-x86_64

[   20.658318] ==================================================================
[   20.658406] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   20.658406] 
[   20.658480] Corrupted memory at 0x00000000b9d5a5b1 [ ! . . . . . . . . . . . . . . . ] (in kfence-#96):
[   20.658811]  test_corruption+0x120/0x378
[   20.658859]  kunit_try_run_case+0x170/0x3f0
[   20.658903]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.658948]  kthread+0x328/0x630
[   20.658986]  ret_from_fork+0x10/0x20
[   20.659027] 
[   20.659051] kfence-#96: 0x00000000c6b5ab31-0x000000002f879a7c, size=32, cache=test
[   20.659051] 
[   20.659105] allocated by task 314 on cpu 0 at 20.658174s (0.000927s ago):
[   20.659166]  test_alloc+0x230/0x628
[   20.659208]  test_corruption+0xdc/0x378
[   20.659249]  kunit_try_run_case+0x170/0x3f0
[   20.659289]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.659333]  kthread+0x328/0x630
[   20.659369]  ret_from_fork+0x10/0x20
[   20.659407] 
[   20.659431] freed by task 314 on cpu 0 at 20.658233s (0.001195s ago):
[   20.659492]  test_corruption+0x120/0x378
[   20.659541]  kunit_try_run_case+0x170/0x3f0
[   20.659581]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.659624]  kthread+0x328/0x630
[   20.659660]  ret_from_fork+0x10/0x20
[   20.659699] 
[   20.659742] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.659816] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.659845] Hardware name: linux,dummy-virt (DT)
[   20.659878] ==================================================================
[   20.762315] ==================================================================
[   20.762404] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   20.762404] 
[   20.762471] Corrupted memory at 0x000000007853c843 [ ! ] (in kfence-#97):
[   20.762603]  test_corruption+0x1d8/0x378
[   20.762648]  kunit_try_run_case+0x170/0x3f0
[   20.762692]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.762735]  kthread+0x328/0x630
[   20.762774]  ret_from_fork+0x10/0x20
[   20.762814] 
[   20.762839] kfence-#97: 0x000000004bb6e412-0x00000000621556ae, size=32, cache=test
[   20.762839] 
[   20.762891] allocated by task 314 on cpu 0 at 20.762175s (0.000713s ago):
[   20.762952]  test_alloc+0x230/0x628
[   20.762991]  test_corruption+0x198/0x378
[   20.763031]  kunit_try_run_case+0x170/0x3f0
[   20.763071]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.763112]  kthread+0x328/0x630
[   20.763149]  ret_from_fork+0x10/0x20
[   20.763186] 
[   20.763209] freed by task 314 on cpu 0 at 20.762232s (0.000973s ago):
[   20.763269]  test_corruption+0x1d8/0x378
[   20.763309]  kunit_try_run_case+0x170/0x3f0
[   20.763347]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.763390]  kthread+0x328/0x630
[   20.763425]  ret_from_fork+0x10/0x20
[   20.763464] 
[   20.763505] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.763592] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.763622] Hardware name: linux,dummy-virt (DT)
[   20.763656] ==================================================================
[   20.450517] ==================================================================
[   20.450624] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   20.450624] 
[   20.450683] Corrupted memory at 0x000000002b926d20 [ ! ] (in kfence-#94):
[   20.450815]  test_corruption+0x284/0x378
[   20.450861]  kunit_try_run_case+0x170/0x3f0
[   20.450906]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.450949]  kthread+0x328/0x630
[   20.450988]  ret_from_fork+0x10/0x20
[   20.451028] 
[   20.451052] kfence-#94: 0x000000005c73a7da-0x00000000506e67ca, size=32, cache=kmalloc-32
[   20.451052] 
[   20.451107] allocated by task 312 on cpu 0 at 20.450201s (0.000902s ago):
[   20.451168]  test_alloc+0x29c/0x628
[   20.451208]  test_corruption+0x198/0x378
[   20.451247]  kunit_try_run_case+0x170/0x3f0
[   20.451286]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.451328]  kthread+0x328/0x630
[   20.451364]  ret_from_fork+0x10/0x20
[   20.451402] 
[   20.451426] freed by task 312 on cpu 0 at 20.450336s (0.001086s ago):
[   20.451486]  test_corruption+0x284/0x378
[   20.451525]  kunit_try_run_case+0x170/0x3f0
[   20.451577]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.451619]  kthread+0x328/0x630
[   20.451655]  ret_from_fork+0x10/0x20
[   20.451694] 
[   20.451733] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.451806] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.451837] Hardware name: linux,dummy-virt (DT)
[   20.451869] ==================================================================
[   20.346443] ==================================================================
[   20.346577] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   20.346577] 
[   20.346650] Corrupted memory at 0x000000006b639477 [ ! . . . . . . . . . . . . . . . ] (in kfence-#93):
[   20.347758]  test_corruption+0x278/0x378
[   20.347808]  kunit_try_run_case+0x170/0x3f0
[   20.347854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.347899]  kthread+0x328/0x630
[   20.347941]  ret_from_fork+0x10/0x20
[   20.347981] 
[   20.348006] kfence-#93: 0x000000000c5542d0-0x000000004a2a869a, size=32, cache=kmalloc-32
[   20.348006] 
[   20.348062] allocated by task 312 on cpu 0 at 20.346128s (0.001930s ago):
[   20.348126]  test_alloc+0x29c/0x628
[   20.348170]  test_corruption+0xdc/0x378
[   20.348210]  kunit_try_run_case+0x170/0x3f0
[   20.348249]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.348293]  kthread+0x328/0x630
[   20.348328]  ret_from_fork+0x10/0x20
[   20.348367] 
[   20.348390] freed by task 312 on cpu 0 at 20.346254s (0.002132s ago):
[   20.348450]  test_corruption+0x278/0x378
[   20.348490]  kunit_try_run_case+0x170/0x3f0
[   20.348539]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.348583]  kthread+0x328/0x630
[   20.348620]  ret_from_fork+0x10/0x20
[   20.348659] 
[   20.348706] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.348784] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.348814] Hardware name: linux,dummy-virt (DT)
[   20.348850] ==================================================================

[   18.165666] ==================================================================
[   18.166158] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.166158] 
[   18.166565] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#77):
[   18.167369]  test_corruption+0x2d2/0x3e0
[   18.167615]  kunit_try_run_case+0x1a5/0x480
[   18.167803]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.168055]  kthread+0x337/0x6f0
[   18.168265]  ret_from_fork+0x116/0x1d0
[   18.168455]  ret_from_fork_asm+0x1a/0x30
[   18.168645] 
[   18.168749] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.168749] 
[   18.169154] allocated by task 329 on cpu 1 at 18.165404s (0.003748s ago):
[   18.169484]  test_alloc+0x364/0x10f0
[   18.169676]  test_corruption+0xe6/0x3e0
[   18.169870]  kunit_try_run_case+0x1a5/0x480
[   18.170042]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.170418]  kthread+0x337/0x6f0
[   18.170607]  ret_from_fork+0x116/0x1d0
[   18.170800]  ret_from_fork_asm+0x1a/0x30
[   18.170977] 
[   18.171058] freed by task 329 on cpu 1 at 18.165495s (0.005560s ago):
[   18.171464]  test_corruption+0x2d2/0x3e0
[   18.171651]  kunit_try_run_case+0x1a5/0x480
[   18.171852]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.172097]  kthread+0x337/0x6f0
[   18.172326]  ret_from_fork+0x116/0x1d0
[   18.172534]  ret_from_fork_asm+0x1a/0x30
[   18.172690] 
[   18.172810] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.173331] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.173539] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.173888] ==================================================================
[   18.789510] ==================================================================
[   18.789913] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.789913] 
[   18.790371] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#83):
[   18.790983]  test_corruption+0x131/0x3e0
[   18.791204]  kunit_try_run_case+0x1a5/0x480
[   18.791368]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.791633]  kthread+0x337/0x6f0
[   18.791811]  ret_from_fork+0x116/0x1d0
[   18.791966]  ret_from_fork_asm+0x1a/0x30
[   18.792150] 
[   18.792260] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.792260] 
[   18.792575] allocated by task 331 on cpu 1 at 18.789362s (0.003211s ago):
[   18.792869]  test_alloc+0x2a6/0x10f0
[   18.792999]  test_corruption+0xe6/0x3e0
[   18.793165]  kunit_try_run_case+0x1a5/0x480
[   18.793543]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.793771]  kthread+0x337/0x6f0
[   18.793893]  ret_from_fork+0x116/0x1d0
[   18.794041]  ret_from_fork_asm+0x1a/0x30
[   18.794345] 
[   18.794444] freed by task 331 on cpu 1 at 18.789421s (0.005020s ago):
[   18.794761]  test_corruption+0x131/0x3e0
[   18.794941]  kunit_try_run_case+0x1a5/0x480
[   18.795088]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.795354]  kthread+0x337/0x6f0
[   18.795531]  ret_from_fork+0x116/0x1d0
[   18.795717]  ret_from_fork_asm+0x1a/0x30
[   18.795896] 
[   18.795992] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.796523] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.796727] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.797128] ==================================================================
[   19.101568] ==================================================================
[   19.101958] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.101958] 
[   19.102368] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#86):
[   19.102756]  test_corruption+0x216/0x3e0
[   19.102966]  kunit_try_run_case+0x1a5/0x480
[   19.103150]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.103405]  kthread+0x337/0x6f0
[   19.103543]  ret_from_fork+0x116/0x1d0
[   19.103720]  ret_from_fork_asm+0x1a/0x30
[   19.103936] 
[   19.104030] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.104030] 
[   19.104425] allocated by task 331 on cpu 1 at 19.101423s (0.003000s ago):
[   19.104737]  test_alloc+0x2a6/0x10f0
[   19.104922]  test_corruption+0x1cb/0x3e0
[   19.105108]  kunit_try_run_case+0x1a5/0x480
[   19.105379]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.105646]  kthread+0x337/0x6f0
[   19.105809]  ret_from_fork+0x116/0x1d0
[   19.105990]  ret_from_fork_asm+0x1a/0x30
[   19.106155] 
[   19.106248] freed by task 331 on cpu 1 at 19.101479s (0.004766s ago):
[   19.106470]  test_corruption+0x216/0x3e0
[   19.106663]  kunit_try_run_case+0x1a5/0x480
[   19.106892]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.107143]  kthread+0x337/0x6f0
[   19.107323]  ret_from_fork+0x116/0x1d0
[   19.107459]  ret_from_fork_asm+0x1a/0x30
[   19.107609] 
[   19.107704] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.108196] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.108396] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.108800] ==================================================================
[   18.581628] ==================================================================
[   18.582020] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.582020] 
[   18.582471] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   18.582950]  test_corruption+0x2df/0x3e0
[   18.583148]  kunit_try_run_case+0x1a5/0x480
[   18.583349]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.583536]  kthread+0x337/0x6f0
[   18.583707]  ret_from_fork+0x116/0x1d0
[   18.583923]  ret_from_fork_asm+0x1a/0x30
[   18.584143] 
[   18.584260] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.584260] 
[   18.584678] allocated by task 329 on cpu 1 at 18.581373s (0.003303s ago):
[   18.584969]  test_alloc+0x364/0x10f0
[   18.585167]  test_corruption+0x1cb/0x3e0
[   18.585408]  kunit_try_run_case+0x1a5/0x480
[   18.585647]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.585833]  kthread+0x337/0x6f0
[   18.586026]  ret_from_fork+0x116/0x1d0
[   18.586275]  ret_from_fork_asm+0x1a/0x30
[   18.586457] 
[   18.586565] freed by task 329 on cpu 1 at 18.581452s (0.005110s ago):
[   18.586826]  test_corruption+0x2df/0x3e0
[   18.587040]  kunit_try_run_case+0x1a5/0x480
[   18.587288]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.587567]  kthread+0x337/0x6f0
[   18.587742]  ret_from_fork+0x116/0x1d0
[   18.587914]  ret_from_fork_asm+0x1a/0x30
[   18.588116] 
[   18.588249] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.588669] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.588914] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.589455] ==================================================================