Hay
Date
June 5, 2025, 7:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   34.318199] ==================================================================
[   34.318382] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   34.318382] 
[   34.318939] Corrupted memory at 0x0000000089028fa8 [ ! ] (in kfence-#146):
[   34.319531]  test_corruption+0x1d8/0x378
[   34.319644]  kunit_try_run_case+0x170/0x3f0
[   34.319749]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.320083]  kthread+0x328/0x630
[   34.320406]  ret_from_fork+0x10/0x20
[   34.320523] 
[   34.320592] kfence-#146: 0x00000000c12ea180-0x000000004f79a524, size=32, cache=test
[   34.320592] 
[   34.320738] allocated by task 313 on cpu 0 at 34.317760s (0.002968s ago):
[   34.321030]  test_alloc+0x230/0x628
[   34.321149]  test_corruption+0x198/0x378
[   34.321536]  kunit_try_run_case+0x170/0x3f0
[   34.321650]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.321770]  kthread+0x328/0x630
[   34.321885]  ret_from_fork+0x10/0x20
[   34.322105] 
[   34.322174] freed by task 313 on cpu 0 at 34.318025s (0.004139s ago):
[   34.322734]  test_corruption+0x1d8/0x378
[   34.323008]  kunit_try_run_case+0x170/0x3f0
[   34.323145]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.323270]  kthread+0x328/0x630
[   34.323435]  ret_from_fork+0x10/0x20
[   34.323834] 
[   34.324093] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT 
[   34.324372] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.324586] Hardware name: linux,dummy-virt (DT)
[   34.324903] ==================================================================
[   33.902887] ==================================================================
[   33.903027] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   33.903027] 
[   33.903164] Corrupted memory at 0x000000009159547a [ ! . . . . . . . . . . . . . . . ] (in kfence-#142):
[   33.903961]  test_corruption+0x120/0x378
[   33.904552]  kunit_try_run_case+0x170/0x3f0
[   33.904979]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.905164]  kthread+0x328/0x630
[   33.906960]  ret_from_fork+0x10/0x20
[   33.907095] 
[   33.907161] kfence-#142: 0x00000000ed7a644e-0x00000000d777a3ac, size=32, cache=test
[   33.907161] 
[   33.907299] allocated by task 313 on cpu 0 at 33.901109s (0.006182s ago):
[   33.907484]  test_alloc+0x230/0x628
[   33.907577]  test_corruption+0xdc/0x378
[   33.907671]  kunit_try_run_case+0x170/0x3f0
[   33.907767]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.907932]  kthread+0x328/0x630
[   33.908068]  ret_from_fork+0x10/0x20
[   33.908160] 
[   33.908214] freed by task 313 on cpu 0 at 33.902722s (0.005485s ago):
[   33.908380]  test_corruption+0x120/0x378
[   33.909142]  kunit_try_run_case+0x170/0x3f0
[   33.909263]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.909416]  kthread+0x328/0x630
[   33.909507]  ret_from_fork+0x10/0x20
[   33.909629] 
[   33.909828] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT 
[   33.910175] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.910364] Hardware name: linux,dummy-virt (DT)
[   33.910453] ==================================================================
[   33.481027] ==================================================================
[   33.481163] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   33.481163] 
[   33.481344] Corrupted memory at 0x00000000035e21f0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#138):
[   33.484069]  test_corruption+0x278/0x378
[   33.484222]  kunit_try_run_case+0x170/0x3f0
[   33.484594]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.484751]  kthread+0x328/0x630
[   33.484878]  ret_from_fork+0x10/0x20
[   33.485074] 
[   33.485136] kfence-#138: 0x00000000ad8f681c-0x000000006b352bfd, size=32, cache=kmalloc-32
[   33.485136] 
[   33.485414] allocated by task 311 on cpu 0 at 33.479898s (0.005504s ago):
[   33.485587]  test_alloc+0x29c/0x628
[   33.485695]  test_corruption+0xdc/0x378
[   33.486024]  kunit_try_run_case+0x170/0x3f0
[   33.486175]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.486450]  kthread+0x328/0x630
[   33.486673]  ret_from_fork+0x10/0x20
[   33.486784] 
[   33.486934] freed by task 311 on cpu 0 at 33.480633s (0.006291s ago):
[   33.487087]  test_corruption+0x278/0x378
[   33.487186]  kunit_try_run_case+0x170/0x3f0
[   33.487284]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.487412]  kthread+0x328/0x630
[   33.487504]  ret_from_fork+0x10/0x20
[   33.487600] 
[   33.487696] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT 
[   33.488175] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.488263] Hardware name: linux,dummy-virt (DT)
[   33.488381] ==================================================================
[   33.794872] ==================================================================
[   33.795012] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   33.795012] 
[   33.795135] Corrupted memory at 0x00000000138b3509 [ ! ] (in kfence-#141):
[   33.799850]  test_corruption+0x284/0x378
[   33.800069]  kunit_try_run_case+0x170/0x3f0
[   33.800219]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.800625]  kthread+0x328/0x630
[   33.801360]  ret_from_fork+0x10/0x20
[   33.801467] 
[   33.801525] kfence-#141: 0x000000006be5454f-0x00000000631527fb, size=32, cache=kmalloc-32
[   33.801525] 
[   33.803018] allocated by task 311 on cpu 0 at 33.794427s (0.008565s ago):
[   33.803187]  test_alloc+0x29c/0x628
[   33.803495]  test_corruption+0x198/0x378
[   33.803625]  kunit_try_run_case+0x170/0x3f0
[   33.803953]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.804070]  kthread+0x328/0x630
[   33.804198]  ret_from_fork+0x10/0x20
[   33.804457] 
[   33.804516] freed by task 311 on cpu 0 at 33.794581s (0.009927s ago):
[   33.804676]  test_corruption+0x284/0x378
[   33.804777]  kunit_try_run_case+0x170/0x3f0
[   33.804925]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.805098]  kthread+0x328/0x630
[   33.805366]  ret_from_fork+0x10/0x20
[   33.805480] 
[   33.805687] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT 
[   33.806112] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.806204] Hardware name: linux,dummy-virt (DT)
[   33.806378] ==================================================================


[   18.180254] ==================================================================
[   18.180647] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.180647] 
[   18.180970] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   18.181367]  test_corruption+0x216/0x3e0
[   18.181586]  kunit_try_run_case+0x1a5/0x480
[   18.182232]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.182481]  kthread+0x337/0x6f0
[   18.182943]  ret_from_fork+0x116/0x1d0
[   18.183143]  ret_from_fork_asm+0x1a/0x30
[   18.183339] 
[   18.183540] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.183540] 
[   18.184006] allocated by task 330 on cpu 1 at 18.180131s (0.003872s ago):
[   18.184314]  test_alloc+0x2a6/0x10f0
[   18.184494]  test_corruption+0x1cb/0x3e0
[   18.184920]  kunit_try_run_case+0x1a5/0x480
[   18.185129]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.185359]  kthread+0x337/0x6f0
[   18.185640]  ret_from_fork+0x116/0x1d0
[   18.185883]  ret_from_fork_asm+0x1a/0x30
[   18.186143] 
[   18.186225] freed by task 330 on cpu 1 at 18.180181s (0.006042s ago):
[   18.186512]  test_corruption+0x216/0x3e0
[   18.186687]  kunit_try_run_case+0x1a5/0x480
[   18.187089]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.187398]  kthread+0x337/0x6f0
[   18.187617]  ret_from_fork+0x116/0x1d0
[   18.187837]  ret_from_fork_asm+0x1a/0x30
[   18.188176] 
[   18.188299] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT(voluntary) 
[   18.188863] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.189153] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.189596] ==================================================================
[   17.764319] ==================================================================
[   17.764715] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.764715] 
[   17.765238] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#77):
[   17.766191]  test_corruption+0x131/0x3e0
[   17.766398]  kunit_try_run_case+0x1a5/0x480
[   17.766569]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.766842]  kthread+0x337/0x6f0
[   17.766999]  ret_from_fork+0x116/0x1d0
[   17.767166]  ret_from_fork_asm+0x1a/0x30
[   17.767349] 
[   17.767447] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.767447] 
[   17.768159] allocated by task 330 on cpu 1 at 17.764211s (0.003946s ago):
[   17.768671]  test_alloc+0x2a6/0x10f0
[   17.768870]  test_corruption+0xe6/0x3e0
[   17.769038]  kunit_try_run_case+0x1a5/0x480
[   17.769391]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.769723]  kthread+0x337/0x6f0
[   17.769973]  ret_from_fork+0x116/0x1d0
[   17.770131]  ret_from_fork_asm+0x1a/0x30
[   17.770408] 
[   17.770607] freed by task 330 on cpu 1 at 17.764257s (0.006348s ago):
[   17.770889]  test_corruption+0x131/0x3e0
[   17.771076]  kunit_try_run_case+0x1a5/0x480
[   17.771254]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.771483]  kthread+0x337/0x6f0
[   17.771635]  ret_from_fork+0x116/0x1d0
[   17.772126]  ret_from_fork_asm+0x1a/0x30
[   17.772278] 
[   17.772402] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT(voluntary) 
[   17.773081] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.773340] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.773795] ==================================================================
[   17.660466] ==================================================================
[   17.660880] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.660880] 
[   17.661192] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#76):
[   17.661572]  test_corruption+0x2df/0x3e0
[   17.661757]  kunit_try_run_case+0x1a5/0x480
[   17.662026]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.662226]  kthread+0x337/0x6f0
[   17.662404]  ret_from_fork+0x116/0x1d0
[   17.662540]  ret_from_fork_asm+0x1a/0x30
[   17.662693] 
[   17.662789] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.662789] 
[   17.663330] allocated by task 328 on cpu 0 at 17.660260s (0.003067s ago):
[   17.663603]  test_alloc+0x364/0x10f0
[   17.663800]  test_corruption+0x1cb/0x3e0
[   17.664009]  kunit_try_run_case+0x1a5/0x480
[   17.664215]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.664403]  kthread+0x337/0x6f0
[   17.664537]  ret_from_fork+0x116/0x1d0
[   17.664725]  ret_from_fork_asm+0x1a/0x30
[   17.665038] 
[   17.665115] freed by task 328 on cpu 0 at 17.660326s (0.004786s ago):
[   17.665322]  test_corruption+0x2df/0x3e0
[   17.665509]  kunit_try_run_case+0x1a5/0x480
[   17.665798]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.666111]  kthread+0x337/0x6f0
[   17.666269]  ret_from_fork+0x116/0x1d0
[   17.666431]  ret_from_fork_asm+0x1a/0x30
[   17.666621] 
[   17.666755] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT(voluntary) 
[   17.667217] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.667358] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.667674] ==================================================================
[   17.556430] ==================================================================
[   17.556854] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.556854] 
[   17.557380] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#75):
[   17.558030]  test_corruption+0x2d2/0x3e0
[   17.558208]  kunit_try_run_case+0x1a5/0x480
[   17.558422]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.558799]  kthread+0x337/0x6f0
[   17.559014]  ret_from_fork+0x116/0x1d0
[   17.559206]  ret_from_fork_asm+0x1a/0x30
[   17.559406] 
[   17.559539] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.559539] 
[   17.559955] allocated by task 328 on cpu 0 at 17.556274s (0.003678s ago):
[   17.560284]  test_alloc+0x364/0x10f0
[   17.560496]  test_corruption+0xe6/0x3e0
[   17.560706]  kunit_try_run_case+0x1a5/0x480
[   17.560982]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.561262]  kthread+0x337/0x6f0
[   17.561443]  ret_from_fork+0x116/0x1d0
[   17.561692]  ret_from_fork_asm+0x1a/0x30
[   17.561900] 
[   17.562227] freed by task 328 on cpu 0 at 17.556365s (0.005859s ago):
[   17.562522]  test_corruption+0x2d2/0x3e0
[   17.562784]  kunit_try_run_case+0x1a5/0x480
[   17.562991]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.563211]  kthread+0x337/0x6f0
[   17.563363]  ret_from_fork+0x116/0x1d0
[   17.563536]  ret_from_fork_asm+0x1a/0x30
[   17.564157] 
[   17.564309] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250605 #1 PREEMPT(voluntary) 
[   17.565147] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.565346] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.565755] ==================================================================