Hay
Date
June 18, 2025, 6:43 a.m.

Environment
qemu-arm64
qemu-x86_64

[   27.587138] ==================================================================
[   27.587317] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   27.587317] 
[   27.587463] Corrupted memory at 0x0000000032dfd060 [ ! ] (in kfence-#129):
[   27.587622]  test_corruption+0x1d8/0x378
[   27.587687]  kunit_try_run_case+0x170/0x3f0
[   27.587740]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.587803]  kthread+0x328/0x630
[   27.587857]  ret_from_fork+0x10/0x20
[   27.587902] 
[   27.587942] kfence-#129: 0x000000009ad0e9d3-0x00000000a2a14000, size=32, cache=test
[   27.587942] 
[   27.588045] allocated by task 323 on cpu 1 at 27.586880s (0.001157s ago):
[   27.588144]  test_alloc+0x230/0x628
[   27.588193]  test_corruption+0x198/0x378
[   27.588240]  kunit_try_run_case+0x170/0x3f0
[   27.588286]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.588334]  kthread+0x328/0x630
[   27.588377]  ret_from_fork+0x10/0x20
[   27.588422] 
[   27.588448] freed by task 323 on cpu 1 at 27.586980s (0.001464s ago):
[   27.588520]  test_corruption+0x1d8/0x378
[   27.588586]  kunit_try_run_case+0x170/0x3f0
[   27.588631]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.588680]  kthread+0x328/0x630
[   27.588719]  ret_from_fork+0x10/0x20
[   27.588762] 
[   27.588811] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   27.588904] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   27.588940] Hardware name: linux,dummy-virt (DT)
[   27.588976] ==================================================================
[   27.275292] ==================================================================
[   27.275438] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   27.275438] 
[   27.275517] Corrupted memory at 0x00000000e26a5453 [ ! . . . . . . . . . . . . . . . ] (in kfence-#126):
[   27.275964]  test_corruption+0x278/0x378
[   27.276036]  kunit_try_run_case+0x170/0x3f0
[   27.276092]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.276139]  kthread+0x328/0x630
[   27.276180]  ret_from_fork+0x10/0x20
[   27.276219] 
[   27.276245] kfence-#126: 0x00000000dfd7219b-0x000000001d9d6907, size=32, cache=kmalloc-32
[   27.276245] 
[   27.276305] allocated by task 321 on cpu 1 at 27.274826s (0.001474s ago):
[   27.276369]  test_alloc+0x29c/0x628
[   27.276413]  test_corruption+0xdc/0x378
[   27.276453]  kunit_try_run_case+0x170/0x3f0
[   27.276494]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.276559]  kthread+0x328/0x630
[   27.276603]  ret_from_fork+0x10/0x20
[   27.276648] 
[   27.276676] freed by task 321 on cpu 1 at 27.274984s (0.001688s ago):
[   27.276744]  test_corruption+0x278/0x378
[   27.276790]  kunit_try_run_case+0x170/0x3f0
[   27.276832]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.276879]  kthread+0x328/0x630
[   27.276916]  ret_from_fork+0x10/0x20
[   27.276961] 
[   27.277012] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   27.277126] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   27.277163] Hardware name: linux,dummy-virt (DT)
[   27.277200] ==================================================================
[   27.483038] ==================================================================
[   27.483160] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   27.483160] 
[   27.483240] Corrupted memory at 0x000000000af60ac5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#128):
[   27.483573]  test_corruption+0x120/0x378
[   27.483624]  kunit_try_run_case+0x170/0x3f0
[   27.483667]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.483713]  kthread+0x328/0x630
[   27.483751]  ret_from_fork+0x10/0x20
[   27.483792] 
[   27.483819] kfence-#128: 0x00000000af4b653b-0x00000000334fb788, size=32, cache=test
[   27.483819] 
[   27.483878] allocated by task 323 on cpu 1 at 27.482764s (0.001110s ago):
[   27.483942]  test_alloc+0x230/0x628
[   27.483986]  test_corruption+0xdc/0x378
[   27.484040]  kunit_try_run_case+0x170/0x3f0
[   27.484088]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.484134]  kthread+0x328/0x630
[   27.484172]  ret_from_fork+0x10/0x20
[   27.484215] 
[   27.484241] freed by task 323 on cpu 1 at 27.482869s (0.001367s ago):
[   27.484308]  test_corruption+0x120/0x378
[   27.484351]  kunit_try_run_case+0x170/0x3f0
[   27.484394]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.484441]  kthread+0x328/0x630
[   27.484478]  ret_from_fork+0x10/0x20
[   27.484521] 
[   27.484585] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   27.484682] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   27.484715] Hardware name: linux,dummy-virt (DT)
[   27.484750] ==================================================================
[   27.379376] ==================================================================
[   27.379499] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   27.379499] 
[   27.379568] Corrupted memory at 0x00000000a04eec4f [ ! ] (in kfence-#127):
[   27.379709]  test_corruption+0x284/0x378
[   27.379757]  kunit_try_run_case+0x170/0x3f0
[   27.379801]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.379844]  kthread+0x328/0x630
[   27.379886]  ret_from_fork+0x10/0x20
[   27.379924] 
[   27.379949] kfence-#127: 0x00000000400c312c-0x000000009511f299, size=32, cache=kmalloc-32
[   27.379949] 
[   27.380008] allocated by task 321 on cpu 1 at 27.378923s (0.001080s ago):
[   27.380100]  test_alloc+0x29c/0x628
[   27.380147]  test_corruption+0x198/0x378
[   27.380189]  kunit_try_run_case+0x170/0x3f0
[   27.380231]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.380275]  kthread+0x328/0x630
[   27.380312]  ret_from_fork+0x10/0x20
[   27.380354] 
[   27.380380] freed by task 321 on cpu 1 at 27.379105s (0.001270s ago):
[   27.380447]  test_corruption+0x284/0x378
[   27.380492]  kunit_try_run_case+0x170/0x3f0
[   27.380546]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.380596]  kthread+0x328/0x630
[   27.380637]  ret_from_fork+0x10/0x20
[   27.380681] 
[   27.380731] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   27.380826] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   27.380862] Hardware name: linux,dummy-virt (DT)
[   27.380900] ==================================================================

[   17.169888] ==================================================================
[   17.170274] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.170274] 
[   17.170607] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   17.171137]  test_corruption+0x131/0x3e0
[   17.171431]  kunit_try_run_case+0x1a5/0x480
[   17.171579]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.171809]  kthread+0x337/0x6f0
[   17.171975]  ret_from_fork+0x116/0x1d0
[   17.172157]  ret_from_fork_asm+0x1a/0x30
[   17.172335] 
[   17.172403] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.172403] 
[   17.172886] allocated by task 339 on cpu 1 at 17.169760s (0.003123s ago):
[   17.173138]  test_alloc+0x2a6/0x10f0
[   17.173273]  test_corruption+0xe6/0x3e0
[   17.173461]  kunit_try_run_case+0x1a5/0x480
[   17.173659]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.173910]  kthread+0x337/0x6f0
[   17.174051]  ret_from_fork+0x116/0x1d0
[   17.174238]  ret_from_fork_asm+0x1a/0x30
[   17.174436] 
[   17.174527] freed by task 339 on cpu 1 at 17.169815s (0.004710s ago):
[   17.174797]  test_corruption+0x131/0x3e0
[   17.174937]  kunit_try_run_case+0x1a5/0x480
[   17.175076]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.175308]  kthread+0x337/0x6f0
[   17.175468]  ret_from_fork+0x116/0x1d0
[   17.175645]  ret_from_fork_asm+0x1a/0x30
[   17.175804] 
[   17.175891] CPU: 1 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   17.176572] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.176772] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.177098] ==================================================================
[   16.857986] ==================================================================
[   16.858402] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   16.858402] 
[   16.858689] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#77):
[   16.859777]  test_corruption+0x2d2/0x3e0
[   16.860063]  kunit_try_run_case+0x1a5/0x480
[   16.860671]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.860933]  kthread+0x337/0x6f0
[   16.861109]  ret_from_fork+0x116/0x1d0
[   16.861514]  ret_from_fork_asm+0x1a/0x30
[   16.861732] 
[   16.862015] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.862015] 
[   16.862438] allocated by task 337 on cpu 0 at 16.857732s (0.004704s ago):
[   16.862794]  test_alloc+0x364/0x10f0
[   16.863146]  test_corruption+0xe6/0x3e0
[   16.863502]  kunit_try_run_case+0x1a5/0x480
[   16.863689]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.864033]  kthread+0x337/0x6f0
[   16.864380]  ret_from_fork+0x116/0x1d0
[   16.864588]  ret_from_fork_asm+0x1a/0x30
[   16.864783] 
[   16.864855] freed by task 337 on cpu 0 at 16.857823s (0.007029s ago):
[   16.865145]  test_corruption+0x2d2/0x3e0
[   16.865625]  kunit_try_run_case+0x1a5/0x480
[   16.865792]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.866181]  kthread+0x337/0x6f0
[   16.866331]  ret_from_fork+0x116/0x1d0
[   16.866506]  ret_from_fork_asm+0x1a/0x30
[   16.866845] 
[   16.866949] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   16.867597] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.867778] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.868131] ==================================================================
[   17.066077] ==================================================================
[   17.066492] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.066492] 
[   17.066887] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   17.067494]  test_corruption+0x2df/0x3e0
[   17.067696]  kunit_try_run_case+0x1a5/0x480
[   17.067873]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.068118]  kthread+0x337/0x6f0
[   17.068262]  ret_from_fork+0x116/0x1d0
[   17.068960]  ret_from_fork_asm+0x1a/0x30
[   17.069157] 
[   17.069253] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.069253] 
[   17.069811] allocated by task 337 on cpu 0 at 17.065809s (0.003998s ago):
[   17.070259]  test_alloc+0x364/0x10f0
[   17.070489]  test_corruption+0x1cb/0x3e0
[   17.070741]  kunit_try_run_case+0x1a5/0x480
[   17.070907]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.071294]  kthread+0x337/0x6f0
[   17.071459]  ret_from_fork+0x116/0x1d0
[   17.071738]  ret_from_fork_asm+0x1a/0x30
[   17.071926] 
[   17.072004] freed by task 337 on cpu 0 at 17.065911s (0.006091s ago):
[   17.072281]  test_corruption+0x2df/0x3e0
[   17.072456]  kunit_try_run_case+0x1a5/0x480
[   17.072635]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.072860]  kthread+0x337/0x6f0
[   17.073021]  ret_from_fork+0x116/0x1d0
[   17.073594]  ret_from_fork_asm+0x1a/0x30
[   17.073780] 
[   17.073887] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   17.074545] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.074805] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.075250] ==================================================================
[   17.377882] ==================================================================
[   17.378323] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   17.378323] 
[   17.378649] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#82):
[   17.379027]  test_corruption+0x216/0x3e0
[   17.379253]  kunit_try_run_case+0x1a5/0x480
[   17.379448]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.379622]  kthread+0x337/0x6f0
[   17.379786]  ret_from_fork+0x116/0x1d0
[   17.379969]  ret_from_fork_asm+0x1a/0x30
[   17.380150] 
[   17.380267] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.380267] 
[   17.380622] allocated by task 339 on cpu 1 at 17.377741s (0.002878s ago):
[   17.380857]  test_alloc+0x2a6/0x10f0
[   17.380985]  test_corruption+0x1cb/0x3e0
[   17.381169]  kunit_try_run_case+0x1a5/0x480
[   17.381368]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.381536]  kthread+0x337/0x6f0
[   17.381651]  ret_from_fork+0x116/0x1d0
[   17.381794]  ret_from_fork_asm+0x1a/0x30
[   17.381988] 
[   17.382076] freed by task 339 on cpu 1 at 17.377800s (0.004274s ago):
[   17.382381]  test_corruption+0x216/0x3e0
[   17.382639]  kunit_try_run_case+0x1a5/0x480
[   17.382842]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.383031]  kthread+0x337/0x6f0
[   17.383145]  ret_from_fork+0x116/0x1d0
[   17.383307]  ret_from_fork_asm+0x1a/0x30
[   17.383498] 
[   17.383611] CPU: 1 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   17.384193] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.384333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.385050] ==================================================================