Hay
Date
July 9, 2025, 1:08 p.m.

Environment
qemu-arm64
qemu-x86_64

[   35.028373] ==================================================================
[   35.028461] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   35.028461] 
[   35.028524] Corrupted memory at 0x000000002d46e351 [ ! ] (in kfence-#137):
[   35.028652]  test_corruption+0x284/0x378
[   35.028699]  kunit_try_run_case+0x170/0x3f0
[   35.028744]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.028790]  kthread+0x328/0x630
[   35.028827]  ret_from_fork+0x10/0x20
[   35.028868] 
[   35.028891] kfence-#137: 0x00000000c59d3033-0x00000000b9eec435, size=32, cache=kmalloc-32
[   35.028891] 
[   35.028947] allocated by task 343 on cpu 0 at 35.028082s (0.000861s ago):
[   35.029007]  test_alloc+0x29c/0x628
[   35.029049]  test_corruption+0x198/0x378
[   35.029110]  kunit_try_run_case+0x170/0x3f0
[   35.029152]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.029196]  kthread+0x328/0x630
[   35.029231]  ret_from_fork+0x10/0x20
[   35.029270] 
[   35.029293] freed by task 343 on cpu 0 at 35.028189s (0.001100s ago):
[   35.029355]  test_corruption+0x284/0x378
[   35.029394]  kunit_try_run_case+0x170/0x3f0
[   35.029433]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.029477]  kthread+0x328/0x630
[   35.029513]  ret_from_fork+0x10/0x20
[   35.029550] 
[   35.029593] CPU: 0 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   35.029670] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.029701] Hardware name: linux,dummy-virt (DT)
[   35.029735] ==================================================================
[   35.652123] ==================================================================
[   35.652233] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   35.652233] 
[   35.652297] Corrupted memory at 0x0000000090134b78 [ ! . . . . . . . . . . . . . . . ] (in kfence-#143):
[   35.652614]  test_corruption+0x120/0x378
[   35.652661]  kunit_try_run_case+0x170/0x3f0
[   35.652707]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.652753]  kthread+0x328/0x630
[   35.652792]  ret_from_fork+0x10/0x20
[   35.652833] 
[   35.652857] kfence-#143: 0x000000008d89b55d-0x00000000dde9e133, size=32, cache=test
[   35.652857] 
[   35.652912] allocated by task 345 on cpu 0 at 35.651960s (0.000949s ago):
[   35.652975]  test_alloc+0x230/0x628
[   35.653015]  test_corruption+0xdc/0x378
[   35.653067]  kunit_try_run_case+0x170/0x3f0
[   35.653114]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.653159]  kthread+0x328/0x630
[   35.653196]  ret_from_fork+0x10/0x20
[   35.653234] 
[   35.653258] freed by task 345 on cpu 0 at 35.652018s (0.001236s ago):
[   35.653320]  test_corruption+0x120/0x378
[   35.653361]  kunit_try_run_case+0x170/0x3f0
[   35.653402]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.653446]  kthread+0x328/0x630
[   35.653481]  ret_from_fork+0x10/0x20
[   35.653518] 
[   35.653561] CPU: 0 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   35.653640] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.653670] Hardware name: linux,dummy-virt (DT)
[   35.653704] ==================================================================
[   35.756238] ==================================================================
[   35.756326] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   35.756326] 
[   35.756388] Corrupted memory at 0x00000000a2d54c91 [ ! ] (in kfence-#144):
[   35.756499]  test_corruption+0x1d8/0x378
[   35.756547]  kunit_try_run_case+0x170/0x3f0
[   35.756592]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.756639]  kthread+0x328/0x630
[   35.756675]  ret_from_fork+0x10/0x20
[   35.756717] 
[   35.756743] kfence-#144: 0x000000001de8e573-0x00000000f6a55984, size=32, cache=test
[   35.756743] 
[   35.756800] allocated by task 345 on cpu 0 at 35.756098s (0.000699s ago):
[   35.756861]  test_alloc+0x230/0x628
[   35.756902]  test_corruption+0x198/0x378
[   35.756944]  kunit_try_run_case+0x170/0x3f0
[   35.756985]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.757030]  kthread+0x328/0x630
[   35.757081]  ret_from_fork+0x10/0x20
[   35.757120] 
[   35.757145] freed by task 345 on cpu 0 at 35.756156s (0.000985s ago):
[   35.757207]  test_corruption+0x1d8/0x378
[   35.757247]  kunit_try_run_case+0x170/0x3f0
[   35.757288]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.757333]  kthread+0x328/0x630
[   35.757368]  ret_from_fork+0x10/0x20
[   35.757408] 
[   35.757447] CPU: 0 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   35.757525] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.757555] Hardware name: linux,dummy-virt (DT)
[   35.757589] ==================================================================
[   34.924279] ==================================================================
[   34.924364] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   34.924364] 
[   34.924428] Corrupted memory at 0x000000000c6f6538 [ ! . . . . . . . . . . . . . . . ] (in kfence-#136):
[   34.924768]  test_corruption+0x278/0x378
[   34.924817]  kunit_try_run_case+0x170/0x3f0
[   34.924862]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.924908]  kthread+0x328/0x630
[   34.924947]  ret_from_fork+0x10/0x20
[   34.924989] 
[   34.925013] kfence-#136: 0x0000000087fc5400-0x00000000d4bd72d3, size=32, cache=kmalloc-32
[   34.925013] 
[   34.925091] allocated by task 343 on cpu 0 at 34.924061s (0.001026s ago):
[   34.925156]  test_alloc+0x29c/0x628
[   34.925198]  test_corruption+0xdc/0x378
[   34.925239]  kunit_try_run_case+0x170/0x3f0
[   34.925280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.925325]  kthread+0x328/0x630
[   34.925360]  ret_from_fork+0x10/0x20
[   34.925400] 
[   34.925423] freed by task 343 on cpu 0 at 34.924193s (0.001226s ago):
[   34.925486]  test_corruption+0x278/0x378
[   34.925525]  kunit_try_run_case+0x170/0x3f0
[   34.925564]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.925609]  kthread+0x328/0x630
[   34.925645]  ret_from_fork+0x10/0x20
[   34.925682] 
[   34.925725] CPU: 0 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   34.925803] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.925833] Hardware name: linux,dummy-virt (DT)
[   34.925866] ==================================================================

[   30.500756] ==================================================================
[   30.501137] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   30.501137] 
[   30.501462] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#107):
[   30.501904]  test_corruption+0x2df/0x3e0
[   30.502136]  kunit_try_run_case+0x1a5/0x480
[   30.502321]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.502527]  kthread+0x337/0x6f0
[   30.502729]  ret_from_fork+0x116/0x1d0
[   30.502923]  ret_from_fork_asm+0x1a/0x30
[   30.503378] 
[   30.503473] kfence-#107: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.503473] 
[   30.504315] allocated by task 361 on cpu 0 at 30.500462s (0.003849s ago):
[   30.504630]  test_alloc+0x364/0x10f0
[   30.505141]  test_corruption+0x1cb/0x3e0
[   30.505324]  kunit_try_run_case+0x1a5/0x480
[   30.505617]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.506095]  kthread+0x337/0x6f0
[   30.506285]  ret_from_fork+0x116/0x1d0
[   30.506614]  ret_from_fork_asm+0x1a/0x30
[   30.506876] 
[   30.506946] freed by task 361 on cpu 0 at 30.500556s (0.006387s ago):
[   30.507416]  test_corruption+0x2df/0x3e0
[   30.507609]  kunit_try_run_case+0x1a5/0x480
[   30.507970]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.508329]  kthread+0x337/0x6f0
[   30.508511]  ret_from_fork+0x116/0x1d0
[   30.508871]  ret_from_fork_asm+0x1a/0x30
[   30.509085] 
[   30.509351] CPU: 0 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   30.509976] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.510273] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.510670] ==================================================================
[   30.188500] ==================================================================
[   30.188941] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   30.188941] 
[   30.189220] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#104):
[   30.189846]  test_corruption+0x2d2/0x3e0
[   30.189993]  kunit_try_run_case+0x1a5/0x480
[   30.190415]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.190672]  kthread+0x337/0x6f0
[   30.190917]  ret_from_fork+0x116/0x1d0
[   30.191100]  ret_from_fork_asm+0x1a/0x30
[   30.191298] 
[   30.191385] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.191385] 
[   30.191704] allocated by task 361 on cpu 0 at 30.188248s (0.003454s ago):
[   30.191927]  test_alloc+0x364/0x10f0
[   30.192234]  test_corruption+0xe6/0x3e0
[   30.192451]  kunit_try_run_case+0x1a5/0x480
[   30.192682]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.192948]  kthread+0x337/0x6f0
[   30.193362]  ret_from_fork+0x116/0x1d0
[   30.193645]  ret_from_fork_asm+0x1a/0x30
[   30.194185] 
[   30.194438] freed by task 361 on cpu 0 at 30.188339s (0.006096s ago):
[   30.194742]  test_corruption+0x2d2/0x3e0
[   30.195296]  kunit_try_run_case+0x1a5/0x480
[   30.195594]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.195994]  kthread+0x337/0x6f0
[   30.196155]  ret_from_fork+0x116/0x1d0
[   30.196446]  ret_from_fork_asm+0x1a/0x30
[   30.196660] 
[   30.196964] CPU: 0 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   30.197466] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.197709] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.198014] ==================================================================
[   30.604356] ==================================================================
[   30.604735] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   30.604735] 
[   30.605071] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#108):
[   30.605659]  test_corruption+0x131/0x3e0
[   30.605813]  kunit_try_run_case+0x1a5/0x480
[   30.606020]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.606263]  kthread+0x337/0x6f0
[   30.606382]  ret_from_fork+0x116/0x1d0
[   30.606600]  ret_from_fork_asm+0x1a/0x30
[   30.606849] 
[   30.606956] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.606956] 
[   30.607280] allocated by task 363 on cpu 1 at 30.604232s (0.003046s ago):
[   30.607593]  test_alloc+0x2a6/0x10f0
[   30.607792]  test_corruption+0xe6/0x3e0
[   30.607926]  kunit_try_run_case+0x1a5/0x480
[   30.608063]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.608575]  kthread+0x337/0x6f0
[   30.608739]  ret_from_fork+0x116/0x1d0
[   30.608866]  ret_from_fork_asm+0x1a/0x30
[   30.609000] 
[   30.609065] freed by task 363 on cpu 1 at 30.604275s (0.004787s ago):
[   30.609371]  test_corruption+0x131/0x3e0
[   30.609589]  kunit_try_run_case+0x1a5/0x480
[   30.609894]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.610124]  kthread+0x337/0x6f0
[   30.610268]  ret_from_fork+0x116/0x1d0
[   30.610452]  ret_from_fork_asm+0x1a/0x30
[   30.610663] 
[   30.610777] CPU: 1 UID: 0 PID: 363 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   30.611327] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.611538] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.611969] ==================================================================
[   30.812528] ==================================================================
[   30.812974] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   30.812974] 
[   30.813247] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#110):
[   30.813669]  test_corruption+0x216/0x3e0
[   30.813937]  kunit_try_run_case+0x1a5/0x480
[   30.814138]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.814338]  kthread+0x337/0x6f0
[   30.814526]  ret_from_fork+0x116/0x1d0
[   30.814707]  ret_from_fork_asm+0x1a/0x30
[   30.814930] 
[   30.814999] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.814999] 
[   30.815409] allocated by task 363 on cpu 1 at 30.812383s (0.003023s ago):
[   30.815678]  test_alloc+0x2a6/0x10f0
[   30.815817]  test_corruption+0x1cb/0x3e0
[   30.815954]  kunit_try_run_case+0x1a5/0x480
[   30.816153]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.816397]  kthread+0x337/0x6f0
[   30.816586]  ret_from_fork+0x116/0x1d0
[   30.816723]  ret_from_fork_asm+0x1a/0x30
[   30.816858] 
[   30.817008] freed by task 363 on cpu 1 at 30.812444s (0.004562s ago):
[   30.817314]  test_corruption+0x216/0x3e0
[   30.817530]  kunit_try_run_case+0x1a5/0x480
[   30.817778]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.818048]  kthread+0x337/0x6f0
[   30.818219]  ret_from_fork+0x116/0x1d0
[   30.818365]  ret_from_fork_asm+0x1a/0x30
[   30.818566] 
[   30.818657] CPU: 1 UID: 0 PID: 363 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   30.819243] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.819563] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.819841] ==================================================================