Hay
Date
July 15, 2025, 2:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.181887] ==================================================================
[   24.181985] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.181985] 
[   24.182046] Corrupted memory at 0x000000001fa14298 [ ! ] (in kfence-#106):
[   24.182163]  test_corruption+0x1d8/0x378
[   24.182225]  kunit_try_run_case+0x170/0x3f0
[   24.182270]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.182316]  kthread+0x328/0x630
[   24.182358]  ret_from_fork+0x10/0x20
[   24.182398] 
[   24.182424] kfence-#106: 0x00000000adb18180-0x00000000d365b346, size=32, cache=test
[   24.182424] 
[   24.182480] allocated by task 315 on cpu 1 at 24.181738s (0.000738s ago):
[   24.182539]  test_alloc+0x230/0x628
[   24.182579]  test_corruption+0x198/0x378
[   24.182616]  kunit_try_run_case+0x170/0x3f0
[   24.182658]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.182703]  kthread+0x328/0x630
[   24.182741]  ret_from_fork+0x10/0x20
[   24.182780] 
[   24.182803] freed by task 315 on cpu 1 at 24.181802s (0.000998s ago):
[   24.182862]  test_corruption+0x1d8/0x378
[   24.182901]  kunit_try_run_case+0x170/0x3f0
[   24.182940]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.182985]  kthread+0x328/0x630
[   24.183022]  ret_from_fork+0x10/0x20
[   24.183062] 
[   24.183105] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT 
[   24.183183] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.183222] Hardware name: linux,dummy-virt (DT)
[   24.183257] ==================================================================
[   23.869871] ==================================================================
[   23.869964] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.869964] 
[   23.870029] Corrupted memory at 0x000000000e8c30b0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   23.870361]  test_corruption+0x120/0x378
[   23.870409]  kunit_try_run_case+0x170/0x3f0
[   23.870453]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.870498]  kthread+0x328/0x630
[   23.870541]  ret_from_fork+0x10/0x20
[   23.870582] 
[   23.870605] kfence-#103: 0x00000000b58a8111-0x00000000e9710fac, size=32, cache=test
[   23.870605] 
[   23.870661] allocated by task 315 on cpu 1 at 23.869730s (0.000928s ago):
[   23.870722]  test_alloc+0x230/0x628
[   23.870761]  test_corruption+0xdc/0x378
[   23.870800]  kunit_try_run_case+0x170/0x3f0
[   23.870842]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.870886]  kthread+0x328/0x630
[   23.870925]  ret_from_fork+0x10/0x20
[   23.870964] 
[   23.870987] freed by task 315 on cpu 1 at 23.869790s (0.001193s ago):
[   23.871047]  test_corruption+0x120/0x378
[   23.871087]  kunit_try_run_case+0x170/0x3f0
[   23.871128]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.871172]  kthread+0x328/0x630
[   23.871221]  ret_from_fork+0x10/0x20
[   23.871261] 
[   23.871306] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT 
[   23.871383] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.871413] Hardware name: linux,dummy-virt (DT)
[   23.871445] ==================================================================
[   23.662074] ==================================================================
[   23.662171] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.662171] 
[   23.662247] Corrupted memory at 0x00000000d1d07bd7 [ ! ] (in kfence-#101):
[   23.662376]  test_corruption+0x284/0x378
[   23.662420]  kunit_try_run_case+0x170/0x3f0
[   23.662465]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.662510]  kthread+0x328/0x630
[   23.662552]  ret_from_fork+0x10/0x20
[   23.662591] 
[   23.662614] kfence-#101: 0x00000000d77cd55f-0x0000000076d77c81, size=32, cache=kmalloc-32
[   23.662614] 
[   23.662671] allocated by task 313 on cpu 1 at 23.661800s (0.000867s ago):
[   23.662733]  test_alloc+0x29c/0x628
[   23.662770]  test_corruption+0x198/0x378
[   23.662811]  kunit_try_run_case+0x170/0x3f0
[   23.662851]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.662895]  kthread+0x328/0x630
[   23.662936]  ret_from_fork+0x10/0x20
[   23.662974] 
[   23.662997] freed by task 313 on cpu 1 at 23.661907s (0.001086s ago):
[   23.663055]  test_corruption+0x284/0x378
[   23.663094]  kunit_try_run_case+0x170/0x3f0
[   23.663134]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.663179]  kthread+0x328/0x630
[   23.663230]  ret_from_fork+0x10/0x20
[   23.663268] 
[   23.663312] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT 
[   23.663390] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.663421] Hardware name: linux,dummy-virt (DT)
[   23.663453] ==================================================================
[   23.557954] ==================================================================
[   23.558047] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.558047] 
[   23.558109] Corrupted memory at 0x00000000d50d6e38 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   23.558435]  test_corruption+0x278/0x378
[   23.558481]  kunit_try_run_case+0x170/0x3f0
[   23.558527]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.558573]  kthread+0x328/0x630
[   23.558615]  ret_from_fork+0x10/0x20
[   23.558657] 
[   23.558680] kfence-#100: 0x00000000891cf55c-0x0000000011ab3e63, size=32, cache=kmalloc-32
[   23.558680] 
[   23.558736] allocated by task 313 on cpu 1 at 23.557764s (0.000968s ago):
[   23.558796]  test_alloc+0x29c/0x628
[   23.558837]  test_corruption+0xdc/0x378
[   23.558875]  kunit_try_run_case+0x170/0x3f0
[   23.558916]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.558961]  kthread+0x328/0x630
[   23.559000]  ret_from_fork+0x10/0x20
[   23.559039] 
[   23.559062] freed by task 313 on cpu 1 at 23.557866s (0.001192s ago):
[   23.559121]  test_corruption+0x278/0x378
[   23.559159]  kunit_try_run_case+0x170/0x3f0
[   23.559199]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.559255]  kthread+0x328/0x630
[   23.559294]  ret_from_fork+0x10/0x20
[   23.559334] 
[   23.559383] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT 
[   23.559462] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.559491] Hardware name: linux,dummy-virt (DT)
[   23.559526] ==================================================================

[   17.620134] ==================================================================
[   17.620513] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.620513] 
[   17.620938] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#85):
[   17.621491]  test_corruption+0x131/0x3e0
[   17.621701]  kunit_try_run_case+0x1a5/0x480
[   17.621984]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.622192]  kthread+0x337/0x6f0
[   17.622356]  ret_from_fork+0x41/0x80
[   17.622493]  ret_from_fork_asm+0x1a/0x30
[   17.622697] 
[   17.622781] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.622781] 
[   17.623095] allocated by task 332 on cpu 1 at 17.620024s (0.003069s ago):
[   17.623393]  test_alloc+0x2a6/0x10f0
[   17.623581]  test_corruption+0xe6/0x3e0
[   17.623728]  kunit_try_run_case+0x1a5/0x480
[   17.624049]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.624239]  kthread+0x337/0x6f0
[   17.624399]  ret_from_fork+0x41/0x80
[   17.624587]  ret_from_fork_asm+0x1a/0x30
[   17.624760] 
[   17.624829] freed by task 332 on cpu 1 at 17.620065s (0.004762s ago):
[   17.625046]  test_corruption+0x131/0x3e0
[   17.625244]  kunit_try_run_case+0x1a5/0x480
[   17.625451]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.625703]  kthread+0x337/0x6f0
[   17.625916]  ret_from_fork+0x41/0x80
[   17.626046]  ret_from_fork_asm+0x1a/0x30
[   17.626218] 
[   17.626337] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   17.626798] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.627004] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.627342] ==================================================================
[   18.140131] ==================================================================
[   18.140540] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.140540] 
[   18.140968] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#90):
[   18.141349]  test_corruption+0x216/0x3e0
[   18.141495]  kunit_try_run_case+0x1a5/0x480
[   18.141716]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.141956]  kthread+0x337/0x6f0
[   18.142081]  ret_from_fork+0x41/0x80
[   18.142218]  ret_from_fork_asm+0x1a/0x30
[   18.142420] 
[   18.142515] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.142515] 
[   18.143038] allocated by task 332 on cpu 1 at 18.139999s (0.003037s ago):
[   18.143330]  test_alloc+0x2a6/0x10f0
[   18.143507]  test_corruption+0x1cb/0x3e0
[   18.143658]  kunit_try_run_case+0x1a5/0x480
[   18.143860]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.144109]  kthread+0x337/0x6f0
[   18.144276]  ret_from_fork+0x41/0x80
[   18.144431]  ret_from_fork_asm+0x1a/0x30
[   18.144598] 
[   18.144669] freed by task 332 on cpu 1 at 18.140054s (0.004613s ago):
[   18.144875]  test_corruption+0x216/0x3e0
[   18.145082]  kunit_try_run_case+0x1a5/0x480
[   18.145288]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.145718]  kthread+0x337/0x6f0
[   18.145896]  ret_from_fork+0x41/0x80
[   18.146026]  ret_from_fork_asm+0x1a/0x30
[   18.146164] 
[   18.146254] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   18.146742] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.147090] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.147429] ==================================================================
[   17.516247] ==================================================================
[   17.516633] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.516633] 
[   17.517064] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#84):
[   17.517900]  test_corruption+0x2df/0x3e0
[   17.518288]  kunit_try_run_case+0x1a5/0x480
[   17.518458]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.518706]  kthread+0x337/0x6f0
[   17.519089]  ret_from_fork+0x41/0x80
[   17.519332]  ret_from_fork_asm+0x1a/0x30
[   17.519501] 
[   17.519604] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.519604] 
[   17.520190] allocated by task 330 on cpu 0 at 17.516006s (0.004182s ago):
[   17.520584]  test_alloc+0x364/0x10f0
[   17.520764]  test_corruption+0x1cb/0x3e0
[   17.521140]  kunit_try_run_case+0x1a5/0x480
[   17.521401]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.521709]  kthread+0x337/0x6f0
[   17.521903]  ret_from_fork+0x41/0x80
[   17.522205]  ret_from_fork_asm+0x1a/0x30
[   17.522455] 
[   17.522538] freed by task 330 on cpu 0 at 17.516085s (0.006450s ago):
[   17.522825]  test_corruption+0x2df/0x3e0
[   17.523017]  kunit_try_run_case+0x1a5/0x480
[   17.523214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.523442]  kthread+0x337/0x6f0
[   17.523594]  ret_from_fork+0x41/0x80
[   17.523756]  ret_from_fork_asm+0x1a/0x30
[   17.524308] 
[   17.524428] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   17.525041] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.525319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.525745] ==================================================================
[   17.204201] ==================================================================
[   17.204598] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.204598] 
[   17.204996] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   17.206219]  test_corruption+0x2d2/0x3e0
[   17.206433]  kunit_try_run_case+0x1a5/0x480
[   17.206650]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.206909]  kthread+0x337/0x6f0
[   17.207358]  ret_from_fork+0x41/0x80
[   17.207651]  ret_from_fork_asm+0x1a/0x30
[   17.207980] 
[   17.208104] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.208104] 
[   17.208637] allocated by task 330 on cpu 0 at 17.204026s (0.004609s ago):
[   17.209192]  test_alloc+0x364/0x10f0
[   17.209389]  test_corruption+0xe6/0x3e0
[   17.209762]  kunit_try_run_case+0x1a5/0x480
[   17.210017]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.210395]  kthread+0x337/0x6f0
[   17.210658]  ret_from_fork+0x41/0x80
[   17.210985]  ret_from_fork_asm+0x1a/0x30
[   17.211200] 
[   17.211489] freed by task 330 on cpu 0 at 17.204124s (0.007361s ago):
[   17.211785]  test_corruption+0x2d2/0x3e0
[   17.212231]  kunit_try_run_case+0x1a5/0x480
[   17.212442]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.212776]  kthread+0x337/0x6f0
[   17.212989]  ret_from_fork+0x41/0x80
[   17.213290]  ret_from_fork_asm+0x1a/0x30
[   17.213498] 
[   17.213759] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   17.214253] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.214440] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.214919] ==================================================================