Hay
Date
June 2, 2025, 2:10 p.m.

Environment
qemu-arm64
qemu-x86_64

[   26.928507] ==================================================================
[   26.929147] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   26.929147] 
[   26.929875] Corrupted memory at 0x000000009a522b7a [ ! . . . . . . . . . . . . . . . ] (in kfence-#114):
[   26.932819]  test_corruption+0x278/0x378
[   26.933220]  kunit_try_run_case+0x170/0x3f0
[   26.933747]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.934190]  kthread+0x24c/0x2d0
[   26.934582]  ret_from_fork+0x10/0x20
[   26.934958] 
[   26.935224] kfence-#114: 0x00000000bb5bd880-0x000000003f047300, size=32, cache=kmalloc-32
[   26.935224] 
[   26.936132] allocated by task 290 on cpu 0 at 26.928007s (0.008112s ago):
[   26.936742]  test_alloc+0x29c/0x628
[   26.937223]  test_corruption+0xdc/0x378
[   26.937609]  kunit_try_run_case+0x170/0x3f0
[   26.937960]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.938544]  kthread+0x24c/0x2d0
[   26.938908]  ret_from_fork+0x10/0x20
[   26.939386] 
[   26.939650] freed by task 290 on cpu 0 at 26.928178s (0.011461s ago):
[   26.940122]  test_corruption+0x278/0x378
[   26.940619]  kunit_try_run_case+0x170/0x3f0
[   26.941069]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.941567]  kthread+0x24c/0x2d0
[   26.941942]  ret_from_fork+0x10/0x20
[   26.942344] 
[   26.942607] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   26.943340] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.943806] Hardware name: linux,dummy-virt (DT)
[   26.944256] ==================================================================
[   27.136393] ==================================================================
[   27.137035] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   27.137035] 
[   27.137676] Corrupted memory at 0x0000000002259677 [ ! ] (in kfence-#116):
[   27.138524]  test_corruption+0x284/0x378
[   27.139030]  kunit_try_run_case+0x170/0x3f0
[   27.139690]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.140400]  kthread+0x24c/0x2d0
[   27.140874]  ret_from_fork+0x10/0x20
[   27.141228] 
[   27.141555] kfence-#116: 0x0000000073aef4e3-0x000000003bad5c25, size=32, cache=kmalloc-32
[   27.141555] 
[   27.142341] allocated by task 290 on cpu 0 at 27.135898s (0.006432s ago):
[   27.143038]  test_alloc+0x29c/0x628
[   27.143547]  test_corruption+0x198/0x378
[   27.144050]  kunit_try_run_case+0x170/0x3f0
[   27.144451]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.144895]  kthread+0x24c/0x2d0
[   27.145212]  ret_from_fork+0x10/0x20
[   27.145587] 
[   27.145830] freed by task 290 on cpu 0 at 27.136073s (0.009747s ago):
[   27.146424]  test_corruption+0x284/0x378
[   27.146764]  kunit_try_run_case+0x170/0x3f0
[   27.147108]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.147722]  kthread+0x24c/0x2d0
[   27.148165]  ret_from_fork+0x10/0x20
[   27.148659] 
[   27.149012] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   27.149882] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.150300] Hardware name: linux,dummy-virt (DT)
[   27.150675] ==================================================================
[   27.448129] ==================================================================
[   27.448779] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   27.448779] 
[   27.449355] Corrupted memory at 0x00000000a5fe1565 [ ! ] (in kfence-#119):
[   27.450045]  test_corruption+0x1d8/0x378
[   27.450546]  kunit_try_run_case+0x170/0x3f0
[   27.451003]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.451636]  kthread+0x24c/0x2d0
[   27.452067]  ret_from_fork+0x10/0x20
[   27.452543] 
[   27.452833] kfence-#119: 0x00000000cd452ccd-0x000000000102bb01, size=32, cache=test
[   27.452833] 
[   27.453466] allocated by task 292 on cpu 0 at 27.447875s (0.005579s ago):
[   27.454065]  test_alloc+0x230/0x628
[   27.454534]  test_corruption+0x198/0x378
[   27.455013]  kunit_try_run_case+0x170/0x3f0
[   27.455523]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.456021]  kthread+0x24c/0x2d0
[   27.456456]  ret_from_fork+0x10/0x20
[   27.456845] 
[   27.457049] freed by task 292 on cpu 0 at 27.447973s (0.009066s ago):
[   27.457669]  test_corruption+0x1d8/0x378
[   27.458064]  kunit_try_run_case+0x170/0x3f0
[   27.458452]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.458861]  kthread+0x24c/0x2d0
[   27.459289]  ret_from_fork+0x10/0x20
[   27.459740] 
[   27.460035] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   27.460895] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.461286] Hardware name: linux,dummy-virt (DT)
[   27.461730] ==================================================================
[   27.344207] ==================================================================
[   27.344959] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   27.344959] 
[   27.345635] Corrupted memory at 0x000000007fd83cb5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#118):
[   27.347455]  test_corruption+0x120/0x378
[   27.347896]  kunit_try_run_case+0x170/0x3f0
[   27.348412]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.348996]  kthread+0x24c/0x2d0
[   27.349407]  ret_from_fork+0x10/0x20
[   27.349884] 
[   27.350162] kfence-#118: 0x0000000003eac2cd-0x00000000f1bb26fe, size=32, cache=test
[   27.350162] 
[   27.350909] allocated by task 292 on cpu 0 at 27.343945s (0.006951s ago):
[   27.351689]  test_alloc+0x230/0x628
[   27.352083]  test_corruption+0xdc/0x378
[   27.352610]  kunit_try_run_case+0x170/0x3f0
[   27.353017]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.353624]  kthread+0x24c/0x2d0
[   27.354026]  ret_from_fork+0x10/0x20
[   27.354480] 
[   27.354759] freed by task 292 on cpu 0 at 27.344042s (0.010706s ago):
[   27.355485]  test_corruption+0x120/0x378
[   27.355910]  kunit_try_run_case+0x170/0x3f0
[   27.356345]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.356959]  kthread+0x24c/0x2d0
[   27.357399]  ret_from_fork+0x10/0x20
[   27.357804] 
[   27.358125] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   27.358964] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.359445] Hardware name: linux,dummy-virt (DT)
[   27.359897] ==================================================================

[   18.678875] ==================================================================
[   18.679379] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   18.679379] 
[   18.679651] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#88):
[   18.680164]  test_corruption+0x217/0x3e0
[   18.680454]  kunit_try_run_case+0x1a6/0x480
[   18.680617]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.681087]  kthread+0x257/0x310
[   18.681460]  ret_from_fork+0x41/0x80
[   18.681695]  ret_from_fork_asm+0x1a/0x30
[   18.681905] 
[   18.682057] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.682057] 
[   18.682736] allocated by task 310 on cpu 0 at 18.678643s (0.004080s ago):
[   18.683174]  test_alloc+0x2a7/0x10f0
[   18.683367]  test_corruption+0x1cc/0x3e0
[   18.683694]  kunit_try_run_case+0x1a6/0x480
[   18.683924]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.684414]  kthread+0x257/0x310
[   18.684733]  ret_from_fork+0x41/0x80
[   18.685043]  ret_from_fork_asm+0x1a/0x30
[   18.685316] 
[   18.685501] freed by task 310 on cpu 0 at 18.678745s (0.006751s ago):
[   18.685817]  test_corruption+0x217/0x3e0
[   18.686078]  kunit_try_run_case+0x1a6/0x480
[   18.686541]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.687011]  kthread+0x257/0x310
[   18.687337]  ret_from_fork+0x41/0x80
[   18.687666]  ret_from_fork_asm+0x1a/0x30
[   18.687963] 
[   18.688106] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   18.688457] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.688628] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.689198] ==================================================================
[   18.055116] ==================================================================
[   18.055533] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   18.055533] 
[   18.055800] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   18.056986]  test_corruption+0x2d4/0x3e0
[   18.057263]  kunit_try_run_case+0x1a6/0x480
[   18.057437]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.057703]  kthread+0x257/0x310
[   18.057983]  ret_from_fork+0x41/0x80
[   18.058372]  ret_from_fork_asm+0x1a/0x30
[   18.058660] 
[   18.058790] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.058790] 
[   18.059378] allocated by task 308 on cpu 0 at 18.054746s (0.004627s ago):
[   18.059624]  test_alloc+0x365/0x10f0
[   18.059921]  test_corruption+0xe7/0x3e0
[   18.060214]  kunit_try_run_case+0x1a6/0x480
[   18.060535]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.060788]  kthread+0x257/0x310
[   18.060946]  ret_from_fork+0x41/0x80
[   18.061187]  ret_from_fork_asm+0x1a/0x30
[   18.061451] 
[   18.061592] freed by task 308 on cpu 0 at 18.054875s (0.006712s ago):
[   18.062005]  test_corruption+0x2d4/0x3e0
[   18.062185]  kunit_try_run_case+0x1a6/0x480
[   18.062521]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.062897]  kthread+0x257/0x310
[   18.063138]  ret_from_fork+0x41/0x80
[   18.063375]  ret_from_fork_asm+0x1a/0x30
[   18.063596] 
[   18.063742] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   18.064222] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.064500] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.065045] ==================================================================
[   18.367097] ==================================================================
[   18.367477] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   18.367477] 
[   18.367707] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   18.368312]  test_corruption+0x2e1/0x3e0
[   18.368566]  kunit_try_run_case+0x1a6/0x480
[   18.368922]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.369176]  kthread+0x257/0x310
[   18.369343]  ret_from_fork+0x41/0x80
[   18.369500]  ret_from_fork_asm+0x1a/0x30
[   18.369661] 
[   18.369772] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.369772] 
[   18.370578] allocated by task 308 on cpu 0 at 18.366732s (0.003839s ago):
[   18.371106]  test_alloc+0x365/0x10f0
[   18.371433]  test_corruption+0x1cc/0x3e0
[   18.371791]  kunit_try_run_case+0x1a6/0x480
[   18.372189]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.372606]  kthread+0x257/0x310
[   18.372911]  ret_from_fork+0x41/0x80
[   18.373073]  ret_from_fork_asm+0x1a/0x30
[   18.373343] 
[   18.373484] freed by task 308 on cpu 0 at 18.366870s (0.006609s ago):
[   18.373926]  test_corruption+0x2e1/0x3e0
[   18.374261]  kunit_try_run_case+0x1a6/0x480
[   18.374474]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.374882]  kthread+0x257/0x310
[   18.375111]  ret_from_fork+0x41/0x80
[   18.375371]  ret_from_fork_asm+0x1a/0x30
[   18.375547] 
[   18.375692] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   18.376285] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.376679] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.377066] ==================================================================
[   18.470975] ==================================================================
[   18.471392] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   18.471392] 
[   18.471629] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#86):
[   18.472905]  test_corruption+0x132/0x3e0
[   18.473156]  kunit_try_run_case+0x1a6/0x480
[   18.473516]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.473793]  kthread+0x257/0x310
[   18.474096]  ret_from_fork+0x41/0x80
[   18.474357]  ret_from_fork_asm+0x1a/0x30
[   18.474546] 
[   18.474656] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.474656] 
[   18.475374] allocated by task 310 on cpu 0 at 18.470758s (0.004611s ago):
[   18.476013]  test_alloc+0x2a7/0x10f0
[   18.476444]  test_corruption+0xe7/0x3e0
[   18.476770]  kunit_try_run_case+0x1a6/0x480
[   18.477094]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.477315]  kthread+0x257/0x310
[   18.477476]  ret_from_fork+0x41/0x80
[   18.477901]  ret_from_fork_asm+0x1a/0x30
[   18.478372] 
[   18.478617] freed by task 310 on cpu 0 at 18.470851s (0.007761s ago):
[   18.479183]  test_corruption+0x132/0x3e0
[   18.479405]  kunit_try_run_case+0x1a6/0x480
[   18.479587]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.480000]  kthread+0x257/0x310
[   18.480194]  ret_from_fork+0x41/0x80
[   18.480439]  ret_from_fork_asm+0x1a/0x30
[   18.481156] 
[   18.481356] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   18.481704] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.482019] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.482779] ==================================================================