Hay
Date
July 23, 2025, 3:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   36.617249] ==================================================================
[   36.617342] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   36.617342] 
[   36.617403] Corrupted memory at 0x00000000b6c7afbb [ ! ] (in kfence-#139):
[   36.617520]  test_corruption+0x1d8/0x378
[   36.617565]  kunit_try_run_case+0x170/0x3f0
[   36.617611]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.617655]  kthread+0x328/0x630
[   36.617693]  ret_from_fork+0x10/0x20
[   36.617734] 
[   36.617759] kfence-#139: 0x00000000c3773b6d-0x00000000bdd64e83, size=32, cache=test
[   36.617759] 
[   36.617815] allocated by task 346 on cpu 1 at 36.617114s (0.000697s ago):
[   36.617875]  test_alloc+0x230/0x628
[   36.617929]  test_corruption+0x198/0x378
[   36.617968]  kunit_try_run_case+0x170/0x3f0
[   36.618008]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.618051]  kthread+0x328/0x630
[   36.618087]  ret_from_fork+0x10/0x20
[   36.618126] 
[   36.618149] freed by task 346 on cpu 1 at 36.617161s (0.000984s ago):
[   36.618209]  test_corruption+0x1d8/0x378
[   36.618248]  kunit_try_run_case+0x170/0x3f0
[   36.618287]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.618330]  kthread+0x328/0x630
[   36.618375]  ret_from_fork+0x10/0x20
[   36.618414] 
[   36.618460] CPU: 1 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   36.618540] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.618570] Hardware name: linux,dummy-virt (DT)
[   36.618603] ==================================================================
[   36.409302] ==================================================================
[   36.409400] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   36.409400] 
[   36.409460] Corrupted memory at 0x00000000abf84d73 [ ! ] (in kfence-#137):
[   36.409592]  test_corruption+0x284/0x378
[   36.409639]  kunit_try_run_case+0x170/0x3f0
[   36.409681]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.409726]  kthread+0x328/0x630
[   36.409765]  ret_from_fork+0x10/0x20
[   36.409804] 
[   36.409828] kfence-#137: 0x00000000e58d51ae-0x00000000cd03b2f7, size=32, cache=kmalloc-32
[   36.409828] 
[   36.409886] allocated by task 344 on cpu 1 at 36.409013s (0.000869s ago):
[   36.409965]  test_alloc+0x29c/0x628
[   36.410004]  test_corruption+0x198/0x378
[   36.410043]  kunit_try_run_case+0x170/0x3f0
[   36.410082]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.410125]  kthread+0x328/0x630
[   36.410161]  ret_from_fork+0x10/0x20
[   36.410200] 
[   36.410223] freed by task 344 on cpu 1 at 36.409119s (0.001100s ago):
[   36.410283]  test_corruption+0x284/0x378
[   36.410321]  kunit_try_run_case+0x170/0x3f0
[   36.410365]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.410409]  kthread+0x328/0x630
[   36.410446]  ret_from_fork+0x10/0x20
[   36.410485] 
[   36.410533] CPU: 1 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   36.410616] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.410648] Hardware name: linux,dummy-virt (DT)
[   36.410682] ==================================================================
[   36.513021] ==================================================================
[   36.513113] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   36.513113] 
[   36.513174] Corrupted memory at 0x0000000011e10c81 [ ! . . . . . . . . . . . . . . . ] (in kfence-#138):
[   36.513486]  test_corruption+0x120/0x378
[   36.513530]  kunit_try_run_case+0x170/0x3f0
[   36.513575]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.513617]  kthread+0x328/0x630
[   36.513657]  ret_from_fork+0x10/0x20
[   36.513699] 
[   36.513722] kfence-#138: 0x0000000046850c56-0x00000000076387aa, size=32, cache=test
[   36.513722] 
[   36.513776] allocated by task 346 on cpu 1 at 36.512862s (0.000911s ago):
[   36.513836]  test_alloc+0x230/0x628
[   36.513875]  test_corruption+0xdc/0x378
[   36.513929]  kunit_try_run_case+0x170/0x3f0
[   36.513968]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.514011]  kthread+0x328/0x630
[   36.514046]  ret_from_fork+0x10/0x20
[   36.514083] 
[   36.514108] freed by task 346 on cpu 1 at 36.512934s (0.001171s ago):
[   36.514168]  test_corruption+0x120/0x378
[   36.514204]  kunit_try_run_case+0x170/0x3f0
[   36.514243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.514286]  kthread+0x328/0x630
[   36.514321]  ret_from_fork+0x10/0x20
[   36.514365] 
[   36.514410] CPU: 1 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   36.514491] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.514523] Hardware name: linux,dummy-virt (DT)
[   36.514557] ==================================================================
[   36.097221] ==================================================================
[   36.097340] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   36.097340] 
[   36.097408] Corrupted memory at 0x0000000035789ce5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#134):
[   36.097834]  test_corruption+0x278/0x378
[   36.097881]  kunit_try_run_case+0x170/0x3f0
[   36.097944]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.097989]  kthread+0x328/0x630
[   36.098028]  ret_from_fork+0x10/0x20
[   36.098070] 
[   36.098099] kfence-#134: 0x00000000a6b1368b-0x000000005cece796, size=32, cache=kmalloc-32
[   36.098099] 
[   36.098156] allocated by task 344 on cpu 1 at 36.096926s (0.001226s ago):
[   36.098220]  test_alloc+0x29c/0x628
[   36.098258]  test_corruption+0xdc/0x378
[   36.098296]  kunit_try_run_case+0x170/0x3f0
[   36.098336]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.098385]  kthread+0x328/0x630
[   36.098421]  ret_from_fork+0x10/0x20
[   36.098460] 
[   36.098483] freed by task 344 on cpu 1 at 36.097034s (0.001445s ago):
[   36.098541]  test_corruption+0x278/0x378
[   36.098577]  kunit_try_run_case+0x170/0x3f0
[   36.098616]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.098658]  kthread+0x328/0x630
[   36.098695]  ret_from_fork+0x10/0x20
[   36.098734] 
[   36.098779] CPU: 1 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250723 #1 PREEMPT 
[   36.098860] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.098892] Hardware name: linux,dummy-virt (DT)
[   36.098938] ==================================================================

[   31.916835] ==================================================================
[   31.917241] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   31.917241] 
[   31.917513] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#111):
[   31.918552]  test_corruption+0x216/0x3e0
[   31.918723]  kunit_try_run_case+0x1a5/0x480
[   31.919111]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.919428]  kthread+0x337/0x6f0
[   31.919725]  ret_from_fork+0x116/0x1d0
[   31.919908]  ret_from_fork_asm+0x1a/0x30
[   31.920356] 
[   31.920462] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.920462] 
[   31.920823] allocated by task 362 on cpu 1 at 31.916689s (0.004132s ago):
[   31.921355]  test_alloc+0x2a6/0x10f0
[   31.921540]  test_corruption+0x1cb/0x3e0
[   31.921857]  kunit_try_run_case+0x1a5/0x480
[   31.922097]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.922452]  kthread+0x337/0x6f0
[   31.922619]  ret_from_fork+0x116/0x1d0
[   31.922911]  ret_from_fork_asm+0x1a/0x30
[   31.923219] 
[   31.923313] freed by task 362 on cpu 1 at 31.916749s (0.006561s ago):
[   31.923584]  test_corruption+0x216/0x3e0
[   31.923781]  kunit_try_run_case+0x1a5/0x480
[   31.924136]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.924497]  kthread+0x337/0x6f0
[   31.924643]  ret_from_fork+0x116/0x1d0
[   31.924904]  ret_from_fork_asm+0x1a/0x30
[   31.925237] 
[   31.925354] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   31.925847] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.926021] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.926603] ==================================================================
[   31.708836] ==================================================================
[   31.709299] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   31.709299] 
[   31.709616] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   31.710512]  test_corruption+0x131/0x3e0
[   31.710674]  kunit_try_run_case+0x1a5/0x480
[   31.710858]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.711636]  kthread+0x337/0x6f0
[   31.711926]  ret_from_fork+0x116/0x1d0
[   31.712205]  ret_from_fork_asm+0x1a/0x30
[   31.712453] 
[   31.712559] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.712559] 
[   31.713058] allocated by task 362 on cpu 1 at 31.708697s (0.004357s ago):
[   31.713510]  test_alloc+0x2a6/0x10f0
[   31.713663]  test_corruption+0xe6/0x3e0
[   31.713856]  kunit_try_run_case+0x1a5/0x480
[   31.714230]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.714600]  kthread+0x337/0x6f0
[   31.714733]  ret_from_fork+0x116/0x1d0
[   31.715057]  ret_from_fork_asm+0x1a/0x30
[   31.715235] 
[   31.715335] freed by task 362 on cpu 1 at 31.708753s (0.006578s ago):
[   31.715711]  test_corruption+0x131/0x3e0
[   31.715898]  kunit_try_run_case+0x1a5/0x480
[   31.716353]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.716582]  kthread+0x337/0x6f0
[   31.716756]  ret_from_fork+0x116/0x1d0
[   31.717164]  ret_from_fork_asm+0x1a/0x30
[   31.717340] 
[   31.717464] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   31.718163] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.718366] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.718733] ==================================================================
[   31.396996] ==================================================================
[   31.397452] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   31.397452] 
[   31.397757] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#106):
[   31.398202]  test_corruption+0x2df/0x3e0
[   31.398358]  kunit_try_run_case+0x1a5/0x480
[   31.398683]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.398867]  kthread+0x337/0x6f0
[   31.398990]  ret_from_fork+0x116/0x1d0
[   31.399261]  ret_from_fork_asm+0x1a/0x30
[   31.399473] 
[   31.399567] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.399567] 
[   31.399987] allocated by task 360 on cpu 0 at 31.396728s (0.003257s ago):
[   31.400294]  test_alloc+0x364/0x10f0
[   31.400431]  test_corruption+0x1cb/0x3e0
[   31.400566]  kunit_try_run_case+0x1a5/0x480
[   31.400734]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.400982]  kthread+0x337/0x6f0
[   31.401227]  ret_from_fork+0x116/0x1d0
[   31.401414]  ret_from_fork_asm+0x1a/0x30
[   31.401579] 
[   31.401648] freed by task 360 on cpu 0 at 31.396828s (0.004817s ago):
[   31.401861]  test_corruption+0x2df/0x3e0
[   31.402171]  kunit_try_run_case+0x1a5/0x480
[   31.402382]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.402638]  kthread+0x337/0x6f0
[   31.402805]  ret_from_fork+0x116/0x1d0
[   31.403021]  ret_from_fork_asm+0x1a/0x30
[   31.403213] 
[   31.403308] CPU: 0 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   31.403797] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.403987] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.404294] ==================================================================
[   31.292790] ==================================================================
[   31.293493] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   31.293493] 
[   31.293802] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#105):
[   31.294671]  test_corruption+0x2d2/0x3e0
[   31.294867]  kunit_try_run_case+0x1a5/0x480
[   31.295488]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.295713]  kthread+0x337/0x6f0
[   31.296066]  ret_from_fork+0x116/0x1d0
[   31.296337]  ret_from_fork_asm+0x1a/0x30
[   31.296504] 
[   31.296673] kfence-#105: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.296673] 
[   31.297366] allocated by task 360 on cpu 0 at 31.292617s (0.004746s ago):
[   31.297766]  test_alloc+0x364/0x10f0
[   31.297939]  test_corruption+0xe6/0x3e0
[   31.298300]  kunit_try_run_case+0x1a5/0x480
[   31.298559]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.298759]  kthread+0x337/0x6f0
[   31.298925]  ret_from_fork+0x116/0x1d0
[   31.299287]  ret_from_fork_asm+0x1a/0x30
[   31.299479] 
[   31.299572] freed by task 360 on cpu 0 at 31.292707s (0.006862s ago):
[   31.299858]  test_corruption+0x2d2/0x3e0
[   31.300076]  kunit_try_run_case+0x1a5/0x480
[   31.300593]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.300832]  kthread+0x337/0x6f0
[   31.301104]  ret_from_fork+0x116/0x1d0
[   31.301416]  ret_from_fork_asm+0x1a/0x30
[   31.301658] 
[   31.301840] CPU: 0 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) 
[   31.302469] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.302739] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.303221] ==================================================================