Hay
Date
July 18, 2025, 1:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   37.452287] ==================================================================
[   37.452384] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   37.452384] 
[   37.452446] Corrupted memory at 0x000000002eedd708 [ ! . . . . . . . . . . . . . . . ] (in kfence-#140):
[   37.452751]  test_corruption+0x120/0x378
[   37.452795]  kunit_try_run_case+0x170/0x3f0
[   37.452839]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.452883]  kthread+0x328/0x630
[   37.452923]  ret_from_fork+0x10/0x20
[   37.452964] 
[   37.452988] kfence-#140: 0x000000000a151139-0x00000000c2e079b5, size=32, cache=test
[   37.452988] 
[   37.453044] allocated by task 344 on cpu 1 at 37.452140s (0.000900s ago):
[   37.453119]  test_alloc+0x230/0x628
[   37.453157]  test_corruption+0xdc/0x378
[   37.453196]  kunit_try_run_case+0x170/0x3f0
[   37.453235]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.453276]  kthread+0x328/0x630
[   37.453313]  ret_from_fork+0x10/0x20
[   37.453351] 
[   37.453376] freed by task 344 on cpu 1 at 37.452197s (0.001175s ago):
[   37.453439]  test_corruption+0x120/0x378
[   37.453475]  kunit_try_run_case+0x170/0x3f0
[   37.453514]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.453556]  kthread+0x328/0x630
[   37.453591]  ret_from_fork+0x10/0x20
[   37.453631] 
[   37.453674] CPU: 1 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   37.453752] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.453781] Hardware name: linux,dummy-virt (DT)
[   37.453814] ==================================================================
[   37.140486] ==================================================================
[   37.140584] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   37.140584] 
[   37.140644] Corrupted memory at 0x0000000073e72840 [ ! ] (in kfence-#137):
[   37.140773]  test_corruption+0x284/0x378
[   37.140818]  kunit_try_run_case+0x170/0x3f0
[   37.140861]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.140905]  kthread+0x328/0x630
[   37.140942]  ret_from_fork+0x10/0x20
[   37.140982] 
[   37.141007] kfence-#137: 0x00000000df8bbe75-0x00000000f8a5531c, size=32, cache=kmalloc-32
[   37.141007] 
[   37.141061] allocated by task 342 on cpu 1 at 37.140208s (0.000849s ago):
[   37.141137]  test_alloc+0x29c/0x628
[   37.141174]  test_corruption+0x198/0x378
[   37.141212]  kunit_try_run_case+0x170/0x3f0
[   37.141250]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.141293]  kthread+0x328/0x630
[   37.141329]  ret_from_fork+0x10/0x20
[   37.141369] 
[   37.141392] freed by task 342 on cpu 1 at 37.140312s (0.001077s ago):
[   37.141453]  test_corruption+0x284/0x378
[   37.141491]  kunit_try_run_case+0x170/0x3f0
[   37.141530]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.141572]  kthread+0x328/0x630
[   37.141609]  ret_from_fork+0x10/0x20
[   37.141647] 
[   37.141690] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   37.141769] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.141799] Hardware name: linux,dummy-virt (DT)
[   37.141831] ==================================================================
[   36.828478] ==================================================================
[   36.828588] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   36.828588] 
[   36.828654] Corrupted memory at 0x0000000059eaede2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#134):
[   36.829111]  test_corruption+0x278/0x378
[   36.829162]  kunit_try_run_case+0x170/0x3f0
[   36.829207]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.829251]  kthread+0x328/0x630
[   36.829292]  ret_from_fork+0x10/0x20
[   36.829332] 
[   36.829356] kfence-#134: 0x0000000099b9a0d7-0x00000000ec63ed5e, size=32, cache=kmalloc-32
[   36.829356] 
[   36.829412] allocated by task 342 on cpu 1 at 36.828195s (0.001213s ago):
[   36.829475]  test_alloc+0x29c/0x628
[   36.829514]  test_corruption+0xdc/0x378
[   36.829551]  kunit_try_run_case+0x170/0x3f0
[   36.829590]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.829632]  kthread+0x328/0x630
[   36.829669]  ret_from_fork+0x10/0x20
[   36.829707] 
[   36.829730] freed by task 342 on cpu 1 at 36.828297s (0.001429s ago):
[   36.829791]  test_corruption+0x278/0x378
[   36.829827]  kunit_try_run_case+0x170/0x3f0
[   36.829864]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.829907]  kthread+0x328/0x630
[   36.829941]  ret_from_fork+0x10/0x20
[   36.829981] 
[   36.830031] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   36.830119] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.830150] Hardware name: linux,dummy-virt (DT)
[   36.830183] ==================================================================
[   37.556305] ==================================================================
[   37.556393] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   37.556393] 
[   37.556452] Corrupted memory at 0x00000000c2c25773 [ ! ] (in kfence-#141):
[   37.556563]  test_corruption+0x1d8/0x378
[   37.556606]  kunit_try_run_case+0x170/0x3f0
[   37.556646]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.556690]  kthread+0x328/0x630
[   37.556728]  ret_from_fork+0x10/0x20
[   37.556769] 
[   37.556792] kfence-#141: 0x00000000d76d3239-0x00000000c2b98ad6, size=32, cache=test
[   37.556792] 
[   37.556845] allocated by task 344 on cpu 1 at 37.556165s (0.000676s ago):
[   37.556908]  test_alloc+0x230/0x628
[   37.556947]  test_corruption+0x198/0x378
[   37.556985]  kunit_try_run_case+0x170/0x3f0
[   37.557025]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.557068]  kthread+0x328/0x630
[   37.557117]  ret_from_fork+0x10/0x20
[   37.557156] 
[   37.557179] freed by task 344 on cpu 1 at 37.556223s (0.000953s ago):
[   37.557242]  test_corruption+0x1d8/0x378
[   37.557280]  kunit_try_run_case+0x170/0x3f0
[   37.557319]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.557362]  kthread+0x328/0x630
[   37.557398]  ret_from_fork+0x10/0x20
[   37.557437] 
[   37.557480] CPU: 1 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   37.557558] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.557587] Hardware name: linux,dummy-virt (DT)
[   37.557621] ==================================================================


[   30.754359] ==================================================================
[   30.754764] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   30.754764] 
[   30.755127] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#102):
[   30.755773]  test_corruption+0x2d2/0x3e0
[   30.755931]  kunit_try_run_case+0x1a5/0x480
[   30.756143]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.756413]  kthread+0x337/0x6f0
[   30.756574]  ret_from_fork+0x116/0x1d0
[   30.756792]  ret_from_fork_asm+0x1a/0x30
[   30.756993] 
[   30.757086] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.757086] 
[   30.757497] allocated by task 359 on cpu 1 at 30.754117s (0.003378s ago):
[   30.757807]  test_alloc+0x364/0x10f0
[   30.757978]  test_corruption+0xe6/0x3e0
[   30.758105]  kunit_try_run_case+0x1a5/0x480
[   30.758286]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.758563]  kthread+0x337/0x6f0
[   30.758733]  ret_from_fork+0x116/0x1d0
[   30.758916]  ret_from_fork_asm+0x1a/0x30
[   30.759060] 
[   30.759164] freed by task 359 on cpu 1 at 30.754211s (0.004950s ago):
[   30.759489]  test_corruption+0x2d2/0x3e0
[   30.759654]  kunit_try_run_case+0x1a5/0x480
[   30.759807]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.759973]  kthread+0x337/0x6f0
[   30.760108]  ret_from_fork+0x116/0x1d0
[   30.760286]  ret_from_fork_asm+0x1a/0x30
[   30.760507] 
[   30.760621] CPU: 1 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   30.761048] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.761175] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.761580] ==================================================================
[   30.858417] ==================================================================
[   30.858812] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   30.858812] 
[   30.859187] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#103):
[   30.859644]  test_corruption+0x2df/0x3e0
[   30.859831]  kunit_try_run_case+0x1a5/0x480
[   30.860004]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.860280]  kthread+0x337/0x6f0
[   30.860474]  ret_from_fork+0x116/0x1d0
[   30.860638]  ret_from_fork_asm+0x1a/0x30
[   30.860854] 
[   30.860945] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.860945] 
[   30.861327] allocated by task 359 on cpu 1 at 30.858164s (0.003161s ago):
[   30.861631]  test_alloc+0x364/0x10f0
[   30.861810]  test_corruption+0x1cb/0x3e0
[   30.862004]  kunit_try_run_case+0x1a5/0x480
[   30.862203]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.862445]  kthread+0x337/0x6f0
[   30.862561]  ret_from_fork+0x116/0x1d0
[   30.862749]  ret_from_fork_asm+0x1a/0x30
[   30.862964] 
[   30.863051] freed by task 359 on cpu 1 at 30.858260s (0.004789s ago):
[   30.863317]  test_corruption+0x2df/0x3e0
[   30.863515]  kunit_try_run_case+0x1a5/0x480
[   30.863706]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.863935]  kthread+0x337/0x6f0
[   30.864091]  ret_from_fork+0x116/0x1d0
[   30.864281]  ret_from_fork_asm+0x1a/0x30
[   30.864472] 
[   30.864604] CPU: 1 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   30.865087] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.865239] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.865513] ==================================================================
[   31.586242] ==================================================================
[   31.586632] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   31.586632] 
[   31.586964] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#110):
[   31.587349]  test_corruption+0x216/0x3e0
[   31.587527]  kunit_try_run_case+0x1a5/0x480
[   31.587692]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.587954]  kthread+0x337/0x6f0
[   31.588101]  ret_from_fork+0x116/0x1d0
[   31.588298]  ret_from_fork_asm+0x1a/0x30
[   31.588480] 
[   31.588576] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.588576] 
[   31.588923] allocated by task 361 on cpu 1 at 31.586123s (0.002798s ago):
[   31.589218]  test_alloc+0x2a6/0x10f0
[   31.589375]  test_corruption+0x1cb/0x3e0
[   31.589572]  kunit_try_run_case+0x1a5/0x480
[   31.589746]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.589994]  kthread+0x337/0x6f0
[   31.590124]  ret_from_fork+0x116/0x1d0
[   31.590311]  ret_from_fork_asm+0x1a/0x30
[   31.590498] 
[   31.590584] freed by task 361 on cpu 1 at 31.586169s (0.004414s ago):
[   31.590802]  test_corruption+0x216/0x3e0
[   31.590936]  kunit_try_run_case+0x1a5/0x480
[   31.591077]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.591324]  kthread+0x337/0x6f0
[   31.591499]  ret_from_fork+0x116/0x1d0
[   31.591679]  ret_from_fork_asm+0x1a/0x30
[   31.591870] 
[   31.591963] CPU: 1 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   31.592341] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.592547] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.592946] ==================================================================
[   31.482200] ==================================================================
[   31.482614] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   31.482614] 
[   31.482969] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   31.483580]  test_corruption+0x131/0x3e0
[   31.483767]  kunit_try_run_case+0x1a5/0x480
[   31.483962]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.484195]  kthread+0x337/0x6f0
[   31.484359]  ret_from_fork+0x116/0x1d0
[   31.484548]  ret_from_fork_asm+0x1a/0x30
[   31.484728] 
[   31.484819] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.484819] 
[   31.485179] allocated by task 361 on cpu 1 at 31.482077s (0.003100s ago):
[   31.485477]  test_alloc+0x2a6/0x10f0
[   31.485621]  test_corruption+0xe6/0x3e0
[   31.485814]  kunit_try_run_case+0x1a5/0x480
[   31.485987]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.486166]  kthread+0x337/0x6f0
[   31.486282]  ret_from_fork+0x116/0x1d0
[   31.486410]  ret_from_fork_asm+0x1a/0x30
[   31.486582] 
[   31.486673] freed by task 361 on cpu 1 at 31.482121s (0.004549s ago):
[   31.486985]  test_corruption+0x131/0x3e0
[   31.487185]  kunit_try_run_case+0x1a5/0x480
[   31.487365]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.487576]  kthread+0x337/0x6f0
[   31.487702]  ret_from_fork+0x116/0x1d0
[   31.487889]  ret_from_fork_asm+0x1a/0x30
[   31.488090] 
[   31.488204] CPU: 1 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   31.488688] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.488888] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.489209] ==================================================================