Hay
Date
June 19, 2025, 12:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   37.270832] ==================================================================
[   37.271012] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   37.271012] 
[   37.271170] Corrupted memory at 0x00000000aa7106d1 [ ! ] (in kfence-#132):
[   37.271551]  test_corruption+0x284/0x378
[   37.271712]  kunit_try_run_case+0x170/0x3f0
[   37.271855]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.271964]  kthread+0x328/0x630
[   37.272056]  ret_from_fork+0x10/0x20
[   37.272141] 
[   37.272190] kfence-#132: 0x00000000d169010f-0x00000000b3668f8f, size=32, cache=kmalloc-32
[   37.272190] 
[   37.272317] allocated by task 322 on cpu 0 at 37.270328s (0.001980s ago):
[   37.272495]  test_alloc+0x29c/0x628
[   37.272626]  test_corruption+0x198/0x378
[   37.272752]  kunit_try_run_case+0x170/0x3f0
[   37.272887]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.273001]  kthread+0x328/0x630
[   37.273085]  ret_from_fork+0x10/0x20
[   37.273174] 
[   37.273227] freed by task 322 on cpu 0 at 37.270503s (0.002716s ago):
[   37.273368]  test_corruption+0x284/0x378
[   37.273510]  kunit_try_run_case+0x170/0x3f0
[   37.273619]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.273743]  kthread+0x328/0x630
[   37.273882]  ret_from_fork+0x10/0x20
[   37.273981] 
[   37.274076] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   37.274283] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.274386] Hardware name: linux,dummy-virt (DT)
[   37.274508] ==================================================================
[   37.480855] ==================================================================
[   37.481035] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   37.481035] 
[   37.481170] Corrupted memory at 0x000000002b2033b3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#134):
[   37.483458]  test_corruption+0x120/0x378
[   37.484222]  kunit_try_run_case+0x170/0x3f0
[   37.484484]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.484604]  kthread+0x328/0x630
[   37.485042]  ret_from_fork+0x10/0x20
[   37.485246] 
[   37.485308] kfence-#134: 0x00000000352b5138-0x00000000de195ed9, size=32, cache=test
[   37.485308] 
[   37.485984] allocated by task 324 on cpu 0 at 37.479723s (0.006241s ago):
[   37.486170]  test_alloc+0x230/0x628
[   37.486257]  test_corruption+0xdc/0x378
[   37.486352]  kunit_try_run_case+0x170/0x3f0
[   37.486781]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.487217]  kthread+0x328/0x630
[   37.487341]  ret_from_fork+0x10/0x20
[   37.487444] 
[   37.487502] freed by task 324 on cpu 0 at 37.480513s (0.006980s ago):
[   37.487661]  test_corruption+0x120/0x378
[   37.487757]  kunit_try_run_case+0x170/0x3f0
[   37.487855]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.487970]  kthread+0x328/0x630
[   37.488064]  ret_from_fork+0x10/0x20
[   37.490085] 
[   37.490340] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   37.490780] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.490998] Hardware name: linux,dummy-virt (DT)
[   37.491385] ==================================================================
[   37.587295] ==================================================================
[   37.587485] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   37.587485] 
[   37.587653] Corrupted memory at 0x000000000b9ed6b8 [ ! ] (in kfence-#135):
[   37.588028]  test_corruption+0x1d8/0x378
[   37.588162]  kunit_try_run_case+0x170/0x3f0
[   37.588287]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.588401]  kthread+0x328/0x630
[   37.588487]  ret_from_fork+0x10/0x20
[   37.588581] 
[   37.588638] kfence-#135: 0x0000000018132f0e-0x00000000113ff915, size=32, cache=test
[   37.588638] 
[   37.588771] allocated by task 324 on cpu 0 at 37.586891s (0.001871s ago):
[   37.588920]  test_alloc+0x230/0x628
[   37.589014]  test_corruption+0x198/0x378
[   37.589135]  kunit_try_run_case+0x170/0x3f0
[   37.589257]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.589557]  kthread+0x328/0x630
[   37.589800]  ret_from_fork+0x10/0x20
[   37.590064] 
[   37.590288] freed by task 324 on cpu 0 at 37.587053s (0.003202s ago):
[   37.591099]  test_corruption+0x1d8/0x378
[   37.591312]  kunit_try_run_case+0x170/0x3f0
[   37.591436]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.591639]  kthread+0x328/0x630
[   37.591847]  ret_from_fork+0x10/0x20
[   37.592014] 
[   37.592114] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   37.592370] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.592438] Hardware name: linux,dummy-virt (DT)
[   37.592540] ==================================================================
[   37.060089] ==================================================================
[   37.060510] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   37.060510] 
[   37.060822] Corrupted memory at 0x00000000dc47881c [ ! . . . . . . . . . . . . . . . ] (in kfence-#130):
[   37.064163]  test_corruption+0x278/0x378
[   37.064387]  kunit_try_run_case+0x170/0x3f0
[   37.064506]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.064642]  kthread+0x328/0x630
[   37.064744]  ret_from_fork+0x10/0x20
[   37.064848] 
[   37.064917] kfence-#130: 0x00000000cfc820e6-0x00000000620de20f, size=32, cache=kmalloc-32
[   37.064917] 
[   37.065057] allocated by task 322 on cpu 0 at 37.058739s (0.006308s ago):
[   37.065301]  test_alloc+0x29c/0x628
[   37.065406]  test_corruption+0xdc/0x378
[   37.065541]  kunit_try_run_case+0x170/0x3f0
[   37.065657]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.065762]  kthread+0x328/0x630
[   37.066193]  ret_from_fork+0x10/0x20
[   37.066341] 
[   37.066404] freed by task 322 on cpu 0 at 37.059051s (0.007344s ago):
[   37.066844]  test_corruption+0x278/0x378
[   37.066961]  kunit_try_run_case+0x170/0x3f0
[   37.067046]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.067507]  kthread+0x328/0x630
[   37.067632]  ret_from_fork+0x10/0x20
[   37.067733] 
[   37.067841] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   37.068062] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.068235] Hardware name: linux,dummy-virt (DT)
[   37.068481] ==================================================================

[   33.452932] ==================================================================
[   33.453356] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   33.453356] 
[   33.453610] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#120):
[   33.455069]  test_corruption+0x2d2/0x3e0
[   33.455362]  kunit_try_run_case+0x1a5/0x480
[   33.455659]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.456024]  kthread+0x337/0x6f0
[   33.456295]  ret_from_fork+0x116/0x1d0
[   33.456483]  ret_from_fork_asm+0x1a/0x30
[   33.456674] 
[   33.456777] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.456777] 
[   33.457564] allocated by task 340 on cpu 0 at 33.452652s (0.004907s ago):
[   33.458244]  test_alloc+0x364/0x10f0
[   33.458421]  test_corruption+0xe6/0x3e0
[   33.459456]  kunit_try_run_case+0x1a5/0x480
[   33.459742]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.460129]  kthread+0x337/0x6f0
[   33.460800]  ret_from_fork+0x116/0x1d0
[   33.461387]  ret_from_fork_asm+0x1a/0x30
[   33.461641] 
[   33.461780] freed by task 340 on cpu 0 at 33.452798s (0.008979s ago):
[   33.462474]  test_corruption+0x2d2/0x3e0
[   33.462744]  kunit_try_run_case+0x1a5/0x480
[   33.463458]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.463747]  kthread+0x337/0x6f0
[   33.464243]  ret_from_fork+0x116/0x1d0
[   33.464493]  ret_from_fork_asm+0x1a/0x30
[   33.464710] 
[   33.464859] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   33.465624] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.465860] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.466604] ==================================================================
[   34.180857] ==================================================================
[   34.181341] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   34.181341] 
[   34.181634] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#127):
[   34.182747]  test_corruption+0x131/0x3e0
[   34.183119]  kunit_try_run_case+0x1a5/0x480
[   34.183415]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.183704]  kthread+0x337/0x6f0
[   34.183886]  ret_from_fork+0x116/0x1d0
[   34.184312]  ret_from_fork_asm+0x1a/0x30
[   34.184675] 
[   34.184847] kfence-#127: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.184847] 
[   34.185366] allocated by task 342 on cpu 0 at 34.180619s (0.004742s ago):
[   34.185770]  test_alloc+0x2a6/0x10f0
[   34.186081]  test_corruption+0xe6/0x3e0
[   34.186428]  kunit_try_run_case+0x1a5/0x480
[   34.186697]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.186931]  kthread+0x337/0x6f0
[   34.187119]  ret_from_fork+0x116/0x1d0
[   34.187464]  ret_from_fork_asm+0x1a/0x30
[   34.187908] 
[   34.188174] freed by task 342 on cpu 0 at 34.180718s (0.007451s ago):
[   34.188708]  test_corruption+0x131/0x3e0
[   34.189059]  kunit_try_run_case+0x1a5/0x480
[   34.189394]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.189678]  kthread+0x337/0x6f0
[   34.190019]  ret_from_fork+0x116/0x1d0
[   34.190231]  ret_from_fork_asm+0x1a/0x30
[   34.190500] 
[   34.190731] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   34.191296] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.191661] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.192430] ==================================================================
[   33.557197] ==================================================================
[   33.557716] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   33.557716] 
[   33.558148] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#121):
[   33.558818]  test_corruption+0x2df/0x3e0
[   33.558998]  kunit_try_run_case+0x1a5/0x480
[   33.559410]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.559825]  kthread+0x337/0x6f0
[   33.560020]  ret_from_fork+0x116/0x1d0
[   33.560495]  ret_from_fork_asm+0x1a/0x30
[   33.560780] 
[   33.560938] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.560938] 
[   33.561364] allocated by task 340 on cpu 0 at 33.556668s (0.004691s ago):
[   33.561833]  test_alloc+0x364/0x10f0
[   33.562222]  test_corruption+0x1cb/0x3e0
[   33.562541]  kunit_try_run_case+0x1a5/0x480
[   33.562752]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.562981]  kthread+0x337/0x6f0
[   33.563349]  ret_from_fork+0x116/0x1d0
[   33.563665]  ret_from_fork_asm+0x1a/0x30
[   33.564023] 
[   33.564268] freed by task 340 on cpu 0 at 33.556833s (0.007430s ago):
[   33.564810]  test_corruption+0x2df/0x3e0
[   33.565226]  kunit_try_run_case+0x1a5/0x480
[   33.565439]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.565817]  kthread+0x337/0x6f0
[   33.566152]  ret_from_fork+0x116/0x1d0
[   33.566422]  ret_from_fork_asm+0x1a/0x30
[   33.566683] 
[   33.566855] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   33.567565] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.567777] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.568145] ==================================================================
[   34.492833] ==================================================================
[   34.493505] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   34.493505] 
[   34.494200] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#130):
[   34.494548]  test_corruption+0x216/0x3e0
[   34.494738]  kunit_try_run_case+0x1a5/0x480
[   34.494949]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.495158]  kthread+0x337/0x6f0
[   34.495333]  ret_from_fork+0x116/0x1d0
[   34.495484]  ret_from_fork_asm+0x1a/0x30
[   34.495597] 
[   34.495656] kfence-#130: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.495656] 
[   34.495849] allocated by task 342 on cpu 0 at 34.492610s (0.003237s ago):
[   34.496007]  test_alloc+0x2a6/0x10f0
[   34.496184]  test_corruption+0x1cb/0x3e0
[   34.496514]  kunit_try_run_case+0x1a5/0x480
[   34.496939]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.497418]  kthread+0x337/0x6f0
[   34.497723]  ret_from_fork+0x116/0x1d0
[   34.498121]  ret_from_fork_asm+0x1a/0x30
[   34.498506] 
[   34.498691] freed by task 342 on cpu 0 at 34.492693s (0.005992s ago):
[   34.499297]  test_corruption+0x216/0x3e0
[   34.499645]  kunit_try_run_case+0x1a5/0x480
[   34.500060]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.500556]  kthread+0x337/0x6f0
[   34.500879]  ret_from_fork+0x116/0x1d0
[   34.501252]  ret_from_fork_asm+0x1a/0x30
[   34.501617] 
[   34.501863] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   34.503234] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.503416] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.504021] ==================================================================