Hay
Date
June 20, 2025, 12:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   39.898226] ==================================================================
[   39.898353] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   39.898353] 
[   39.898435] Corrupted memory at 0x00000000c5fb41ce [ ! ] (in kfence-#154):
[   39.898594]  test_corruption+0x284/0x378
[   39.898686]  kunit_try_run_case+0x170/0x3f0
[   39.898739]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.898789]  kthread+0x328/0x630
[   39.898834]  ret_from_fork+0x10/0x20
[   39.898879] 
[   39.898908] kfence-#154: 0x0000000005a0c077-0x00000000694aef21, size=32, cache=kmalloc-32
[   39.898908] 
[   39.898976] allocated by task 322 on cpu 0 at 39.897757s (0.001214s ago):
[   39.899051]  test_alloc+0x29c/0x628
[   39.899099]  test_corruption+0x198/0x378
[   39.899144]  kunit_try_run_case+0x170/0x3f0
[   39.899190]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.899239]  kthread+0x328/0x630
[   39.899281]  ret_from_fork+0x10/0x20
[   39.899324] 
[   39.899351] freed by task 322 on cpu 0 at 39.897933s (0.001414s ago):
[   39.899431]  test_corruption+0x284/0x378
[   39.899484]  kunit_try_run_case+0x170/0x3f0
[   39.899531]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.899582]  kthread+0x328/0x630
[   39.899638]  ret_from_fork+0x10/0x20
[   39.899687] 
[   39.899738] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   39.899832] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.899868] Hardware name: linux,dummy-virt (DT)
[   39.899908] ==================================================================
[   40.313543] ==================================================================
[   40.313792] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   40.313792] 
[   40.313935] Corrupted memory at 0x000000008df178e9 [ ! ] (in kfence-#158):
[   40.314118]  test_corruption+0x1d8/0x378
[   40.314179]  kunit_try_run_case+0x170/0x3f0
[   40.314231]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.314285]  kthread+0x328/0x630
[   40.314327]  ret_from_fork+0x10/0x20
[   40.314372] 
[   40.314401] kfence-#158: 0x000000009d326810-0x0000000012aac743, size=32, cache=test
[   40.314401] 
[   40.314469] allocated by task 324 on cpu 0 at 40.313275s (0.001189s ago):
[   40.314548]  test_alloc+0x230/0x628
[   40.314597]  test_corruption+0x198/0x378
[   40.314678]  kunit_try_run_case+0x170/0x3f0
[   40.314726]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.314776]  kthread+0x328/0x630
[   40.314818]  ret_from_fork+0x10/0x20
[   40.314864] 
[   40.314891] freed by task 324 on cpu 0 at 40.313376s (0.001511s ago):
[   40.314965]  test_corruption+0x1d8/0x378
[   40.315015]  kunit_try_run_case+0x170/0x3f0
[   40.315059]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.315110]  kthread+0x328/0x630
[   40.315151]  ret_from_fork+0x10/0x20
[   40.315197] 
[   40.315253] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   40.315347] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.315383] Hardware name: linux,dummy-virt (DT)
[   40.315464] ==================================================================
[   40.105434] ==================================================================
[   40.105564] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   40.105564] 
[   40.105672] Corrupted memory at 0x000000001a4ed9f2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#156):
[   40.106043]  test_corruption+0x120/0x378
[   40.106107]  kunit_try_run_case+0x170/0x3f0
[   40.106163]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.106218]  kthread+0x328/0x630
[   40.106262]  ret_from_fork+0x10/0x20
[   40.106309] 
[   40.106341] kfence-#156: 0x000000007fc521a9-0x0000000050adceef, size=32, cache=test
[   40.106341] 
[   40.106411] allocated by task 324 on cpu 0 at 40.105245s (0.001161s ago):
[   40.106515]  test_alloc+0x230/0x628
[   40.106567]  test_corruption+0xdc/0x378
[   40.106628]  kunit_try_run_case+0x170/0x3f0
[   40.106678]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.106731]  kthread+0x328/0x630
[   40.106774]  ret_from_fork+0x10/0x20
[   40.106821] 
[   40.106849] freed by task 324 on cpu 0 at 40.105319s (0.001526s ago):
[   40.106922]  test_corruption+0x120/0x378
[   40.106969]  kunit_try_run_case+0x170/0x3f0
[   40.107016]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.107067]  kthread+0x328/0x630
[   40.107109]  ret_from_fork+0x10/0x20
[   40.107155] 
[   40.107208] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   40.107302] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.107339] Hardware name: linux,dummy-virt (DT)
[   40.107381] ==================================================================
[   39.587636] ==================================================================
[   39.587799] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   39.587799] 
[   39.587939] Corrupted memory at 0x000000009f349d14 [ ! . . . . . . . . . . . . . . . ] (in kfence-#151):
[   39.590535]  test_corruption+0x278/0x378
[   39.590718]  kunit_try_run_case+0x170/0x3f0
[   39.591212]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.591670]  kthread+0x328/0x630
[   39.591789]  ret_from_fork+0x10/0x20
[   39.591897] 
[   39.591963] kfence-#151: 0x00000000d1853e9d-0x00000000929361b7, size=32, cache=kmalloc-32
[   39.591963] 
[   39.592111] allocated by task 322 on cpu 0 at 39.586844s (0.005258s ago):
[   39.592707]  test_alloc+0x29c/0x628
[   39.592896]  test_corruption+0xdc/0x378
[   39.593104]  kunit_try_run_case+0x170/0x3f0
[   39.593309]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.593505]  kthread+0x328/0x630
[   39.593706]  ret_from_fork+0x10/0x20
[   39.593808] 
[   39.594055] freed by task 322 on cpu 0 at 39.587413s (0.006632s ago):
[   39.594359]  test_corruption+0x278/0x378
[   39.594478]  kunit_try_run_case+0x170/0x3f0
[   39.594586]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.595168]  kthread+0x328/0x630
[   39.595438]  ret_from_fork+0x10/0x20
[   39.595672] 
[   39.595799] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   39.596432] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.596514] Hardware name: linux,dummy-virt (DT)
[   39.596717] ==================================================================

[   32.932608] ==================================================================
[   32.933065] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   32.933065] 
[   32.933427] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#111):
[   32.934187]  test_corruption+0x2df/0x3e0
[   32.934628]  kunit_try_run_case+0x1a5/0x480
[   32.934866]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.935121]  kthread+0x337/0x6f0
[   32.935457]  ret_from_fork+0x116/0x1d0
[   32.935807]  ret_from_fork_asm+0x1a/0x30
[   32.936363] 
[   32.936497] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.936497] 
[   32.937237] allocated by task 340 on cpu 0 at 32.932197s (0.005034s ago):
[   32.937707]  test_alloc+0x364/0x10f0
[   32.937957]  test_corruption+0x1cb/0x3e0
[   32.938383]  kunit_try_run_case+0x1a5/0x480
[   32.938696]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.939162]  kthread+0x337/0x6f0
[   32.939431]  ret_from_fork+0x116/0x1d0
[   32.939724]  ret_from_fork_asm+0x1a/0x30
[   32.939966] 
[   32.940097] freed by task 340 on cpu 0 at 32.932334s (0.007758s ago):
[   32.940696]  test_corruption+0x2df/0x3e0
[   32.941186]  kunit_try_run_case+0x1a5/0x480
[   32.941668]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.941975]  kthread+0x337/0x6f0
[   32.942341]  ret_from_fork+0x116/0x1d0
[   32.942607]  ret_from_fork_asm+0x1a/0x30
[   32.942860] 
[   32.943121] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   32.943863] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.944113] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.944759] ==================================================================
[   33.244398] ==================================================================
[   33.244918] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   33.244918] 
[   33.245227] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#114):
[   33.245868]  test_corruption+0x216/0x3e0
[   33.246115]  kunit_try_run_case+0x1a5/0x480
[   33.246292]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.246785]  kthread+0x337/0x6f0
[   33.247072]  ret_from_fork+0x116/0x1d0
[   33.247389]  ret_from_fork_asm+0x1a/0x30
[   33.247705] 
[   33.247821] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.247821] 
[   33.248412] allocated by task 342 on cpu 1 at 33.244181s (0.004227s ago):
[   33.249003]  test_alloc+0x2a6/0x10f0
[   33.249302]  test_corruption+0x1cb/0x3e0
[   33.249587]  kunit_try_run_case+0x1a5/0x480
[   33.249800]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.250253]  kthread+0x337/0x6f0
[   33.250622]  ret_from_fork+0x116/0x1d0
[   33.250859]  ret_from_fork_asm+0x1a/0x30
[   33.251056] 
[   33.251163] freed by task 342 on cpu 1 at 33.244276s (0.006882s ago):
[   33.251599]  test_corruption+0x216/0x3e0
[   33.251952]  kunit_try_run_case+0x1a5/0x480
[   33.252605]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.252871]  kthread+0x337/0x6f0
[   33.253223]  ret_from_fork+0x116/0x1d0
[   33.253529]  ret_from_fork_asm+0x1a/0x30
[   33.253852] 
[   33.254017] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   33.254656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.255057] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.256286] ==================================================================
[   32.828521] ==================================================================
[   32.828964] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   32.828964] 
[   32.829236] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#110):
[   32.830411]  test_corruption+0x2d2/0x3e0
[   32.830716]  kunit_try_run_case+0x1a5/0x480
[   32.831026]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.831370]  kthread+0x337/0x6f0
[   32.831791]  ret_from_fork+0x116/0x1d0
[   32.831978]  ret_from_fork_asm+0x1a/0x30
[   32.832295] 
[   32.832481] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.832481] 
[   32.833068] allocated by task 340 on cpu 0 at 32.828216s (0.004846s ago):
[   32.833979]  test_alloc+0x364/0x10f0
[   32.834354]  test_corruption+0xe6/0x3e0
[   32.834712]  kunit_try_run_case+0x1a5/0x480
[   32.834899]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.835116]  kthread+0x337/0x6f0
[   32.835287]  ret_from_fork+0x116/0x1d0
[   32.835682]  ret_from_fork_asm+0x1a/0x30
[   32.836036] 
[   32.836259] freed by task 340 on cpu 0 at 32.828380s (0.007873s ago):
[   32.836694]  test_corruption+0x2d2/0x3e0
[   32.836930]  kunit_try_run_case+0x1a5/0x480
[   32.837219]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.837666]  kthread+0x337/0x6f0
[   32.837949]  ret_from_fork+0x116/0x1d0
[   32.838317]  ret_from_fork_asm+0x1a/0x30
[   32.838672] 
[   32.838930] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   32.839560] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.839752] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.840189] ==================================================================
[   33.140393] ==================================================================
[   33.140879] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   33.140879] 
[   33.141175] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#113):
[   33.141904]  test_corruption+0x131/0x3e0
[   33.142117]  kunit_try_run_case+0x1a5/0x480
[   33.142357]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.142738]  kthread+0x337/0x6f0
[   33.142948]  ret_from_fork+0x116/0x1d0
[   33.143186]  ret_from_fork_asm+0x1a/0x30
[   33.143420] 
[   33.143575] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.143575] 
[   33.144165] allocated by task 342 on cpu 1 at 33.140237s (0.003926s ago):
[   33.144598]  test_alloc+0x2a6/0x10f0
[   33.144835]  test_corruption+0xe6/0x3e0
[   33.145088]  kunit_try_run_case+0x1a5/0x480
[   33.145388]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.145728]  kthread+0x337/0x6f0
[   33.145947]  ret_from_fork+0x116/0x1d0
[   33.146194]  ret_from_fork_asm+0x1a/0x30
[   33.146347] 
[   33.146410] freed by task 342 on cpu 1 at 33.140301s (0.006106s ago):
[   33.146765]  test_corruption+0x131/0x3e0
[   33.147039]  kunit_try_run_case+0x1a5/0x480
[   33.147198]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.147502]  kthread+0x337/0x6f0
[   33.147599]  ret_from_fork+0x116/0x1d0
[   33.147902]  ret_from_fork_asm+0x1a/0x30
[   33.148066] 
[   33.148179] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   33.148824] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.149051] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.149465] ==================================================================