Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   30.088251] ==================================================================
[   30.089004] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   30.089004] 
[   30.089814] Corrupted memory at 0x000000007272b330 [ ! ] (in kfence-#132):
[   30.090878]  test_corruption+0x1d8/0x378
[   30.091364]  kunit_try_run_case+0x170/0x3f0
[   30.091941]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.092635]  kthread+0x24c/0x2d0
[   30.093209]  ret_from_fork+0x10/0x20
[   30.093675] 
[   30.094003] kfence-#132: 0x000000008a69b099-0x00000000e6f880c8, size=32, cache=test
[   30.094003] 
[   30.094899] allocated by task 293 on cpu 0 at 30.088068s (0.006819s ago):
[   30.095817]  test_alloc+0x230/0x628
[   30.096337]  test_corruption+0x198/0x378
[   30.096845]  kunit_try_run_case+0x170/0x3f0
[   30.097456]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.098119]  kthread+0x24c/0x2d0
[   30.098598]  ret_from_fork+0x10/0x20
[   30.099101] 
[   30.099427] freed by task 293 on cpu 0 at 30.088144s (0.011270s ago):
[   30.100276]  test_corruption+0x1d8/0x378
[   30.100816]  kunit_try_run_case+0x170/0x3f0
[   30.101347]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.102033]  kthread+0x24c/0x2d0
[   30.102530]  ret_from_fork+0x10/0x20
[   30.102980] 
[   30.103336] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   30.104284] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.104818] Hardware name: linux,dummy-virt (DT)
[   30.105403] ==================================================================
[   29.984137] ==================================================================
[   29.984799] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   29.984799] 
[   29.985612] Corrupted memory at 0x00000000a9aeeb8c [ ! . . . . . . . . . . . . . . . ] (in kfence-#131):
[   29.987921]  test_corruption+0x120/0x378
[   29.988436]  kunit_try_run_case+0x170/0x3f0
[   29.989004]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.989688]  kthread+0x24c/0x2d0
[   29.990155]  ret_from_fork+0x10/0x20
[   29.990629] 
[   29.990974] kfence-#131: 0x00000000588180a2-0x00000000a6c8ee9b, size=32, cache=test
[   29.990974] 
[   29.991819] allocated by task 293 on cpu 0 at 29.983937s (0.007869s ago):
[   29.992698]  test_alloc+0x230/0x628
[   29.993162]  test_corruption+0xdc/0x378
[   29.993714]  kunit_try_run_case+0x170/0x3f0
[   29.994263]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.994893]  kthread+0x24c/0x2d0
[   29.995435]  ret_from_fork+0x10/0x20
[   29.995951] 
[   29.996264] freed by task 293 on cpu 0 at 29.984029s (0.012222s ago):
[   29.997069]  test_corruption+0x120/0x378
[   29.997596]  kunit_try_run_case+0x170/0x3f0
[   29.998155]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.998784]  kthread+0x24c/0x2d0
[   29.999286]  ret_from_fork+0x10/0x20
[   29.999787] 
[   30.000159] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   30.001023] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.001564] Hardware name: linux,dummy-virt (DT)
[   30.002049] ==================================================================
[   29.776380] ==================================================================
[   29.777094] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   29.777094] 
[   29.777912] Corrupted memory at 0x00000000c504de6d [ ! . . . . . . . . . . . . . . . ] (in kfence-#129):
[   29.781063]  test_corruption+0x278/0x378
[   29.781629]  kunit_try_run_case+0x170/0x3f0
[   29.782251]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.782896]  kthread+0x24c/0x2d0
[   29.783460]  ret_from_fork+0x10/0x20
[   29.784031] 
[   29.784420] kfence-#129: 0x00000000221fb4b9-0x000000001a23840d, size=32, cache=kmalloc-32
[   29.784420] 
[   29.785451] allocated by task 291 on cpu 0 at 29.775947s (0.009492s ago):
[   29.786291]  test_alloc+0x29c/0x628
[   29.786893]  test_corruption+0xdc/0x378
[   29.787467]  kunit_try_run_case+0x170/0x3f0
[   29.788131]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.788890]  kthread+0x24c/0x2d0
[   29.789431]  ret_from_fork+0x10/0x20
[   29.790053] 
[   29.790397] freed by task 291 on cpu 0 at 29.776108s (0.014276s ago):
[   29.791206]  test_corruption+0x278/0x378
[   29.791816]  kunit_try_run_case+0x170/0x3f0
[   29.792400]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.793092]  kthread+0x24c/0x2d0
[   29.793601]  ret_from_fork+0x10/0x20
[   29.794183] 
[   29.794550] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   29.795577] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.796120] Hardware name: linux,dummy-virt (DT)
[   29.796681] ==================================================================
[   29.880341] ==================================================================
[   29.881004] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   29.881004] 
[   29.881886] Corrupted memory at 0x00000000ca89be67 [ ! ] (in kfence-#130):
[   29.883139]  test_corruption+0x284/0x378
[   29.883842]  kunit_try_run_case+0x170/0x3f0
[   29.884469]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.885237]  kthread+0x24c/0x2d0
[   29.885747]  ret_from_fork+0x10/0x20
[   29.886203] 
[   29.886560] kfence-#130: 0x000000007ef76b08-0x000000003317d2f3, size=32, cache=kmalloc-32
[   29.886560] 
[   29.887492] allocated by task 291 on cpu 0 at 29.879994s (0.007486s ago):
[   29.888224]  test_alloc+0x29c/0x628
[   29.888829]  test_corruption+0x198/0x378
[   29.889441]  kunit_try_run_case+0x170/0x3f0
[   29.890114]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.890776]  kthread+0x24c/0x2d0
[   29.891331]  ret_from_fork+0x10/0x20
[   29.891890] 
[   29.892262] freed by task 291 on cpu 0 at 29.880105s (0.012145s ago):
[   29.893098]  test_corruption+0x284/0x378
[   29.893698]  kunit_try_run_case+0x170/0x3f0
[   29.894329]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.895013]  kthread+0x24c/0x2d0
[   29.895549]  ret_from_fork+0x10/0x20
[   29.896127] 
[   29.896465] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   29.897507] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.898072] Hardware name: linux,dummy-virt (DT)
[   29.898654] ==================================================================

[   27.239440] ==================================================================
[   27.240124] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   27.240124] 
[   27.241203] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#111):
[   27.242205]  test_corruption+0x2e1/0x3e0
[   27.242751]  kunit_try_run_case+0x1a6/0x480
[   27.243293]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.243753]  kthread+0x257/0x310
[   27.244153]  ret_from_fork+0x41/0x80
[   27.244574]  ret_from_fork_asm+0x1a/0x30
[   27.245010] 
[   27.245266] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.245266] 
[   27.246009] allocated by task 308 on cpu 1 at 27.239066s (0.006936s ago):
[   27.246544]  test_alloc+0x365/0x10f0
[   27.246997]  test_corruption+0x1cc/0x3e0
[   27.247440]  kunit_try_run_case+0x1a6/0x480
[   27.247839]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.248387]  kthread+0x257/0x310
[   27.248710]  ret_from_fork+0x41/0x80
[   27.249104]  ret_from_fork_asm+0x1a/0x30
[   27.249581] 
[   27.249857] freed by task 308 on cpu 1 at 27.239214s (0.010599s ago):
[   27.250442]  test_corruption+0x2e1/0x3e0
[   27.250857]  kunit_try_run_case+0x1a6/0x480
[   27.251357]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.251793]  kthread+0x257/0x310
[   27.252182]  ret_from_fork+0x41/0x80
[   27.252618]  ret_from_fork_asm+0x1a/0x30
[   27.253109] 
[   27.253409] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.254149] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.254546] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.255305] ==================================================================
[   27.551335] ==================================================================
[   27.551936] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   27.551936] 
[   27.552912] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#114):
[   27.554316]  test_corruption+0x217/0x3e0
[   27.554664]  kunit_try_run_case+0x1a6/0x480
[   27.555223]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.555742]  kthread+0x257/0x310
[   27.556350]  ret_from_fork+0x41/0x80
[   27.556883]  ret_from_fork_asm+0x1a/0x30
[   27.557610] 
[   27.557809] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.557809] 
[   27.558541] allocated by task 310 on cpu 0 at 27.551087s (0.007448s ago):
[   27.559137]  test_alloc+0x2a7/0x10f0
[   27.559541]  test_corruption+0x1cc/0x3e0
[   27.560510]  kunit_try_run_case+0x1a6/0x480
[   27.560905]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.561113]  kthread+0x257/0x310
[   27.561305]  ret_from_fork+0x41/0x80
[   27.561623]  ret_from_fork_asm+0x1a/0x30
[   27.562046] 
[   27.562330] freed by task 310 on cpu 0 at 27.551171s (0.011152s ago):
[   27.562879]  test_corruption+0x217/0x3e0
[   27.563196]  kunit_try_run_case+0x1a6/0x480
[   27.563648]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.564254]  kthread+0x257/0x310
[   27.564640]  ret_from_fork+0x41/0x80
[   27.564914]  ret_from_fork_asm+0x1a/0x30
[   27.565197] 
[   27.565418] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.565924] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.566205] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.566858] ==================================================================
[   26.615431] ==================================================================
[   26.616067] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   26.616067] 
[   26.617324] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#105):
[   26.618998]  test_corruption+0x2d4/0x3e0
[   26.619434]  kunit_try_run_case+0x1a6/0x480
[   26.619888]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.620797]  kthread+0x257/0x310
[   26.621263]  ret_from_fork+0x41/0x80
[   26.622044]  ret_from_fork_asm+0x1a/0x30
[   26.622591] 
[   26.622809] kfence-#105: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.622809] 
[   26.623608] allocated by task 308 on cpu 1 at 26.615066s (0.008537s ago):
[   26.624731]  test_alloc+0x365/0x10f0
[   26.625365]  test_corruption+0xe7/0x3e0
[   26.625688]  kunit_try_run_case+0x1a6/0x480
[   26.626453]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.627076]  kthread+0x257/0x310
[   26.627556]  ret_from_fork+0x41/0x80
[   26.627915]  ret_from_fork_asm+0x1a/0x30
[   26.628387] 
[   26.628602] freed by task 308 on cpu 1 at 26.615182s (0.013413s ago):
[   26.629556]  test_corruption+0x2d4/0x3e0
[   26.630149]  kunit_try_run_case+0x1a6/0x480
[   26.630707]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.631396]  kthread+0x257/0x310
[   26.631901]  ret_from_fork+0x41/0x80
[   26.632421]  ret_from_fork_asm+0x1a/0x30
[   26.632788] 
[   26.633449] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   26.634173] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.634591] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.635493] ==================================================================
[   27.447467] ==================================================================
[   27.448048] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   27.448048] 
[   27.448928] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#113):
[   27.451386]  test_corruption+0x132/0x3e0
[   27.452596]  kunit_try_run_case+0x1a6/0x480
[   27.453436]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.454662]  kthread+0x257/0x310
[   27.455135]  ret_from_fork+0x41/0x80
[   27.456139]  ret_from_fork_asm+0x1a/0x30
[   27.457124] 
[   27.457579] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.457579] 
[   27.459070] allocated by task 310 on cpu 0 at 27.447164s (0.011901s ago):
[   27.460401]  test_alloc+0x2a7/0x10f0
[   27.460686]  test_corruption+0xe7/0x3e0
[   27.460965]  kunit_try_run_case+0x1a6/0x480
[   27.461876]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.462961]  kthread+0x257/0x310
[   27.463792]  ret_from_fork+0x41/0x80
[   27.464605]  ret_from_fork_asm+0x1a/0x30
[   27.465209] 
[   27.465449] freed by task 310 on cpu 0 at 27.447334s (0.018111s ago):
[   27.465912]  test_corruption+0x132/0x3e0
[   27.466746]  kunit_try_run_case+0x1a6/0x480
[   27.467128]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.467770]  kthread+0x257/0x310
[   27.468285]  ret_from_fork+0x41/0x80
[   27.468784]  ret_from_fork_asm+0x1a/0x30
[   27.469341] 
[   27.469548] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.470653] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.471169] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.471883] ==================================================================