Hay
Date
June 17, 2025, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   22.554820] ==================================================================
[   22.554917] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   22.554917] 
[   22.555001] Corrupted memory at 0x00000000e750b7a9 [ ! ] (in kfence-#99):
[   22.555134]  test_corruption+0x284/0x378
[   22.555184]  kunit_try_run_case+0x170/0x3f0
[   22.555228]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.555273]  kthread+0x328/0x630
[   22.555312]  ret_from_fork+0x10/0x20
[   22.555353] 
[   22.555379] kfence-#99: 0x000000004283102b-0x00000000c913a3d4, size=32, cache=kmalloc-32
[   22.555379] 
[   22.555434] allocated by task 320 on cpu 0 at 22.554518s (0.000913s ago):
[   22.555499]  test_alloc+0x29c/0x628
[   22.555539]  test_corruption+0x198/0x378
[   22.555583]  kunit_try_run_case+0x170/0x3f0
[   22.555623]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.555673]  kthread+0x328/0x630
[   22.555710]  ret_from_fork+0x10/0x20
[   22.555751] 
[   22.555775] freed by task 320 on cpu 0 at 22.554624s (0.001147s ago):
[   22.555840]  test_corruption+0x284/0x378
[   22.555880]  kunit_try_run_case+0x170/0x3f0
[   22.555921]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.555976]  kthread+0x328/0x630
[   22.556013]  ret_from_fork+0x10/0x20
[   22.556052] 
[   22.556097] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   22.556179] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.556210] Hardware name: linux,dummy-virt (DT)
[   22.556244] ==================================================================
[   22.346898] ==================================================================
[   22.347029] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.347029] 
[   22.347103] Corrupted memory at 0x00000000f7db6952 [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   22.348259]  test_corruption+0x278/0x378
[   22.348316]  kunit_try_run_case+0x170/0x3f0
[   22.348364]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.348411]  kthread+0x328/0x630
[   22.348452]  ret_from_fork+0x10/0x20
[   22.348495] 
[   22.348520] kfence-#97: 0x00000000a2eb9056-0x0000000053b57ba4, size=32, cache=kmalloc-32
[   22.348520] 
[   22.348578] allocated by task 320 on cpu 0 at 22.346582s (0.001992s ago):
[   22.348644]  test_alloc+0x29c/0x628
[   22.348684]  test_corruption+0xdc/0x378
[   22.348726]  kunit_try_run_case+0x170/0x3f0
[   22.348767]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.348811]  kthread+0x328/0x630
[   22.348846]  ret_from_fork+0x10/0x20
[   22.348885] 
[   22.348910] freed by task 320 on cpu 0 at 22.346712s (0.002194s ago):
[   22.348984]  test_corruption+0x278/0x378
[   22.349025]  kunit_try_run_case+0x170/0x3f0
[   22.349066]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.349110]  kthread+0x328/0x630
[   22.349145]  ret_from_fork+0x10/0x20
[   22.349184] 
[   22.349235] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   22.349319] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.349350] Hardware name: linux,dummy-virt (DT)
[   22.349385] ==================================================================
[   22.658683] ==================================================================
[   22.658768] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.658768] 
[   22.658831] Corrupted memory at 0x000000005a0f9461 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   22.659154]  test_corruption+0x120/0x378
[   22.659203]  kunit_try_run_case+0x170/0x3f0
[   22.659248]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.659292]  kthread+0x328/0x630
[   22.659330]  ret_from_fork+0x10/0x20
[   22.659372] 
[   22.659396] kfence-#100: 0x000000008dc6e8c5-0x00000000590c3155, size=32, cache=test
[   22.659396] 
[   22.659450] allocated by task 322 on cpu 0 at 22.658540s (0.000906s ago):
[   22.659512]  test_alloc+0x230/0x628
[   22.659554]  test_corruption+0xdc/0x378
[   22.659594]  kunit_try_run_case+0x170/0x3f0
[   22.659634]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.659676]  kthread+0x328/0x630
[   22.659713]  ret_from_fork+0x10/0x20
[   22.659752] 
[   22.659776] freed by task 322 on cpu 0 at 22.658596s (0.001176s ago):
[   22.659838]  test_corruption+0x120/0x378
[   22.659880]  kunit_try_run_case+0x170/0x3f0
[   22.659923]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.659978]  kthread+0x328/0x630
[   22.660015]  ret_from_fork+0x10/0x20
[   22.660055] 
[   22.660096] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   22.660179] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.660208] Hardware name: linux,dummy-virt (DT)
[   22.660242] ==================================================================
[   22.866659] ==================================================================
[   22.866754] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   22.866754] 
[   22.866816] Corrupted memory at 0x0000000099b8312d [ ! ] (in kfence-#102):
[   22.866947]  test_corruption+0x1d8/0x378
[   22.866997]  kunit_try_run_case+0x170/0x3f0
[   22.867039]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.867086]  kthread+0x328/0x630
[   22.867124]  ret_from_fork+0x10/0x20
[   22.867164] 
[   22.867189] kfence-#102: 0x000000008e966ebc-0x00000000989e819d, size=32, cache=test
[   22.867189] 
[   22.867248] allocated by task 322 on cpu 0 at 22.866508s (0.000736s ago):
[   22.867314]  test_alloc+0x230/0x628
[   22.867357]  test_corruption+0x198/0x378
[   22.867399]  kunit_try_run_case+0x170/0x3f0
[   22.867441]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.867485]  kthread+0x328/0x630
[   22.867521]  ret_from_fork+0x10/0x20
[   22.867561] 
[   22.867586] freed by task 322 on cpu 0 at 22.866564s (0.001018s ago):
[   22.867649]  test_corruption+0x1d8/0x378
[   22.867690]  kunit_try_run_case+0x170/0x3f0
[   22.867730]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.867774]  kthread+0x328/0x630
[   22.867812]  ret_from_fork+0x10/0x20
[   22.867852] 
[   22.867893] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT 
[   22.867986] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.868018] Hardware name: linux,dummy-virt (DT)
[   22.868052] ==================================================================

[   28.564057] ==================================================================
[   28.564660] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   28.564660] 
[   28.565250] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#128):
[   28.567264]  test_corruption+0x131/0x3e0
[   28.567934]  kunit_try_run_case+0x1a5/0x480
[   28.568683]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.569391]  kthread+0x337/0x6f0
[   28.569730]  ret_from_fork+0x116/0x1d0
[   28.570072]  ret_from_fork_asm+0x1a/0x30
[   28.570505] 
[   28.570711] kfence-#128: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.570711] 
[   28.571499] allocated by task 340 on cpu 0 at 28.563847s (0.007646s ago):
[   28.572184]  test_alloc+0x2a6/0x10f0
[   28.572486]  test_corruption+0xe6/0x3e0
[   28.573087]  kunit_try_run_case+0x1a5/0x480
[   28.573874]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.574196]  kthread+0x337/0x6f0
[   28.574460]  ret_from_fork+0x116/0x1d0
[   28.575248]  ret_from_fork_asm+0x1a/0x30
[   28.575864] 
[   28.576182] freed by task 340 on cpu 0 at 28.563937s (0.012240s ago):
[   28.576914]  test_corruption+0x131/0x3e0
[   28.577211]  kunit_try_run_case+0x1a5/0x480
[   28.577789]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.578278]  kthread+0x337/0x6f0
[   28.578606]  ret_from_fork+0x116/0x1d0
[   28.579015]  ret_from_fork_asm+0x1a/0x30
[   28.579389] 
[   28.579656] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   28.580626] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.581065] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.582013] ==================================================================
[   28.460254] ==================================================================
[   28.460768] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   28.460768] 
[   28.461553] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#127):
[   28.462227]  test_corruption+0x2df/0x3e0
[   28.462543]  kunit_try_run_case+0x1a5/0x480
[   28.463018]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.463709]  kthread+0x337/0x6f0
[   28.464150]  ret_from_fork+0x116/0x1d0
[   28.464560]  ret_from_fork_asm+0x1a/0x30
[   28.465026] 
[   28.465247] kfence-#127: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.465247] 
[   28.466155] allocated by task 338 on cpu 1 at 28.459865s (0.006285s ago):
[   28.466706]  test_alloc+0x364/0x10f0
[   28.467131]  test_corruption+0x1cb/0x3e0
[   28.467740]  kunit_try_run_case+0x1a5/0x480
[   28.468189]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.468741]  kthread+0x337/0x6f0
[   28.469136]  ret_from_fork+0x116/0x1d0
[   28.469549]  ret_from_fork_asm+0x1a/0x30
[   28.469960] 
[   28.470284] freed by task 338 on cpu 1 at 28.460017s (0.010261s ago):
[   28.470733]  test_corruption+0x2df/0x3e0
[   28.471061]  kunit_try_run_case+0x1a5/0x480
[   28.471751]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.472311]  kthread+0x337/0x6f0
[   28.472696]  ret_from_fork+0x116/0x1d0
[   28.473094]  ret_from_fork_asm+0x1a/0x30
[   28.473683] 
[   28.473984] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   28.475028] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.475430] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.476223] ==================================================================
[   27.731941] ==================================================================
[   27.732591] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   27.732591] 
[   27.733261] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#120):
[   27.734497]  test_corruption+0x2d2/0x3e0
[   27.735042]  kunit_try_run_case+0x1a5/0x480
[   27.735442]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.735899]  kthread+0x337/0x6f0
[   27.736206]  ret_from_fork+0x116/0x1d0
[   27.736909]  ret_from_fork_asm+0x1a/0x30
[   27.737349] 
[   27.737553] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.737553] 
[   27.738273] allocated by task 338 on cpu 1 at 27.731668s (0.006599s ago):
[   27.738968]  test_alloc+0x364/0x10f0
[   27.739412]  test_corruption+0xe6/0x3e0
[   27.739714]  kunit_try_run_case+0x1a5/0x480
[   27.740037]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.740591]  kthread+0x337/0x6f0
[   27.741000]  ret_from_fork+0x116/0x1d0
[   27.741492]  ret_from_fork_asm+0x1a/0x30
[   27.741959] 
[   27.742169] freed by task 338 on cpu 1 at 27.731845s (0.010319s ago):
[   27.742776]  test_corruption+0x2d2/0x3e0
[   27.743080]  kunit_try_run_case+0x1a5/0x480
[   27.743592]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.744128]  kthread+0x337/0x6f0
[   27.744558]  ret_from_fork+0x116/0x1d0
[   27.744972]  ret_from_fork_asm+0x1a/0x30
[   27.745368] 
[   27.745577] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   27.746631] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.747074] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.747680] ==================================================================
[   28.876508] ==================================================================
[   28.877411] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   28.877411] 
[   28.878474] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#131):
[   28.879884]  test_corruption+0x216/0x3e0
[   28.880155]  kunit_try_run_case+0x1a5/0x480
[   28.880411]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.880692]  kthread+0x337/0x6f0
[   28.880927]  ret_from_fork+0x116/0x1d0
[   28.881341]  ret_from_fork_asm+0x1a/0x30
[   28.881786] 
[   28.882042] kfence-#131: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.882042] 
[   28.882721] allocated by task 340 on cpu 0 at 28.876295s (0.006420s ago):
[   28.884868]  test_alloc+0x2a6/0x10f0
[   28.885146]  test_corruption+0x1cb/0x3e0
[   28.885454]  kunit_try_run_case+0x1a5/0x480
[   28.885745]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.886245]  kthread+0x337/0x6f0
[   28.886521]  ret_from_fork+0x116/0x1d0
[   28.886804]  ret_from_fork_asm+0x1a/0x30
[   28.887141] 
[   28.887390] freed by task 340 on cpu 0 at 28.876382s (0.011002s ago):
[   28.887994]  test_corruption+0x216/0x3e0
[   28.888497]  kunit_try_run_case+0x1a5/0x480
[   28.888948]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.889478]  kthread+0x337/0x6f0
[   28.889857]  ret_from_fork+0x116/0x1d0
[   28.890259]  ret_from_fork_asm+0x1a/0x30
[   28.890731] 
[   28.891069] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   28.891720] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.892000] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.892790] ==================================================================