Hay
Date
July 17, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   20.993355] ==================================================================
[   20.993449] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   20.993449] 
[   20.993510] Corrupted memory at 0x00000000b8e26a25 [ ! . . . . . . . . . . . . . . . ] (in kfence-#96):
[   20.993821]  test_corruption+0x120/0x378
[   20.993867]  kunit_try_run_case+0x170/0x3f0
[   20.993911]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.993955]  kthread+0x328/0x630
[   20.994011]  ret_from_fork+0x10/0x20
[   20.994052] 
[   20.994075] kfence-#96: 0x00000000c7f67409-0x00000000e0888d1f, size=32, cache=test
[   20.994075] 
[   20.994130] allocated by task 314 on cpu 1 at 20.993217s (0.000910s ago):
[   20.994193]  test_alloc+0x230/0x628
[   20.994231]  test_corruption+0xdc/0x378
[   20.994271]  kunit_try_run_case+0x170/0x3f0
[   20.994311]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.994356]  kthread+0x328/0x630
[   20.994391]  ret_from_fork+0x10/0x20
[   20.994430] 
[   20.994452] freed by task 314 on cpu 1 at 20.993273s (0.001176s ago):
[   20.994513]  test_corruption+0x120/0x378
[   20.994553]  kunit_try_run_case+0x170/0x3f0
[   20.994593]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.994636]  kthread+0x328/0x630
[   20.994672]  ret_from_fork+0x10/0x20
[   20.994711] 
[   20.994751] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.994829] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.994857] Hardware name: linux,dummy-virt (DT)
[   20.994890] ==================================================================
[   20.681479] ==================================================================
[   20.681582] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   20.681582] 
[   20.681651] Corrupted memory at 0x00000000e08cb698 [ ! . . . . . . . . . . . . . . . ] (in kfence-#93):
[   20.682774]  test_corruption+0x278/0x378
[   20.682829]  kunit_try_run_case+0x170/0x3f0
[   20.682874]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.682919]  kthread+0x328/0x630
[   20.682958]  ret_from_fork+0x10/0x20
[   20.683012] 
[   20.683035] kfence-#93: 0x00000000e3487f3e-0x00000000f68b7a63, size=32, cache=kmalloc-32
[   20.683035] 
[   20.683095] allocated by task 312 on cpu 1 at 20.681191s (0.001900s ago):
[   20.683157]  test_alloc+0x29c/0x628
[   20.683196]  test_corruption+0xdc/0x378
[   20.683236]  kunit_try_run_case+0x170/0x3f0
[   20.683277]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.683321]  kthread+0x328/0x630
[   20.683358]  ret_from_fork+0x10/0x20
[   20.683397] 
[   20.683424] freed by task 312 on cpu 1 at 20.681298s (0.002118s ago):
[   20.683485]  test_corruption+0x278/0x378
[   20.683525]  kunit_try_run_case+0x170/0x3f0
[   20.683565]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.683608]  kthread+0x328/0x630
[   20.683643]  ret_from_fork+0x10/0x20
[   20.683682] 
[   20.683730] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.683809] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.683839] Hardware name: linux,dummy-virt (DT)
[   20.683874] ==================================================================
[   21.201373] ==================================================================
[   21.201461] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   21.201461] 
[   21.201522] Corrupted memory at 0x00000000264e2664 [ ! ] (in kfence-#98):
[   21.201635]  test_corruption+0x1d8/0x378
[   21.201681]  kunit_try_run_case+0x170/0x3f0
[   21.201722]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.201767]  kthread+0x328/0x630
[   21.201804]  ret_from_fork+0x10/0x20
[   21.201844] 
[   21.201868] kfence-#98: 0x000000004e297e6b-0x000000008079bc46, size=32, cache=test
[   21.201868] 
[   21.201924] allocated by task 314 on cpu 1 at 21.201235s (0.000685s ago):
[   21.202000]  test_alloc+0x230/0x628
[   21.202041]  test_corruption+0x198/0x378
[   21.202080]  kunit_try_run_case+0x170/0x3f0
[   21.202120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.202164]  kthread+0x328/0x630
[   21.202198]  ret_from_fork+0x10/0x20
[   21.202237] 
[   21.202259] freed by task 314 on cpu 1 at 21.201292s (0.000964s ago):
[   21.202319]  test_corruption+0x1d8/0x378
[   21.202357]  kunit_try_run_case+0x170/0x3f0
[   21.202397]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.202440]  kthread+0x328/0x630
[   21.202474]  ret_from_fork+0x10/0x20
[   21.202513] 
[   21.202552] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.202627] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.202657] Hardware name: linux,dummy-virt (DT)
[   21.202689] ==================================================================
[   20.785652] ==================================================================
[   20.785739] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   20.785739] 
[   20.785801] Corrupted memory at 0x00000000b80f3303 [ ! ] (in kfence-#94):
[   20.785926]  test_corruption+0x284/0x378
[   20.785971]  kunit_try_run_case+0x170/0x3f0
[   20.786042]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.786086]  kthread+0x328/0x630
[   20.786125]  ret_from_fork+0x10/0x20
[   20.786166] 
[   20.786188] kfence-#94: 0x00000000936034cc-0x0000000076134f6d, size=32, cache=kmalloc-32
[   20.786188] 
[   20.786244] allocated by task 312 on cpu 1 at 20.785390s (0.000851s ago):
[   20.786305]  test_alloc+0x29c/0x628
[   20.786345]  test_corruption+0x198/0x378
[   20.786385]  kunit_try_run_case+0x170/0x3f0
[   20.786424]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.786467]  kthread+0x328/0x630
[   20.786504]  ret_from_fork+0x10/0x20
[   20.786543] 
[   20.786564] freed by task 312 on cpu 1 at 20.785490s (0.001071s ago):
[   20.786625]  test_corruption+0x284/0x378
[   20.786665]  kunit_try_run_case+0x170/0x3f0
[   20.786703]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.786747]  kthread+0x328/0x630
[   20.786782]  ret_from_fork+0x10/0x20
[   20.786822] 
[   20.786861] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.786936] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.786968] Hardware name: linux,dummy-virt (DT)
[   20.787013] ==================================================================

[   18.818822] ==================================================================
[   18.819242] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.819242] 
[   18.819671] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#74):
[   18.820868]  test_corruption+0x2d2/0x3e0
[   18.821076]  kunit_try_run_case+0x1a5/0x480
[   18.821267]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.821685]  kthread+0x337/0x6f0
[   18.821939]  ret_from_fork+0x116/0x1d0
[   18.822097]  ret_from_fork_asm+0x1a/0x30
[   18.822288] 
[   18.822394] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.822394] 
[   18.823007] allocated by task 328 on cpu 0 at 18.818560s (0.004445s ago):
[   18.823311]  test_alloc+0x364/0x10f0
[   18.823697]  test_corruption+0xe6/0x3e0
[   18.823886]  kunit_try_run_case+0x1a5/0x480
[   18.824146]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.824398]  kthread+0x337/0x6f0
[   18.824793]  ret_from_fork+0x116/0x1d0
[   18.825043]  ret_from_fork_asm+0x1a/0x30
[   18.825215] 
[   18.825511] freed by task 328 on cpu 0 at 18.818650s (0.006858s ago):
[   18.825875]  test_corruption+0x2d2/0x3e0
[   18.826074]  kunit_try_run_case+0x1a5/0x480
[   18.826263]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.826675]  kthread+0x337/0x6f0
[   18.826911]  ret_from_fork+0x116/0x1d0
[   18.827147]  ret_from_fork_asm+0x1a/0x30
[   18.827399] 
[   18.827522] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.828085] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.828271] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.828820] ==================================================================
[   19.338726] ==================================================================
[   19.339107] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.339107] 
[   19.339536] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   19.339903]  test_corruption+0x216/0x3e0
[   19.340054]  kunit_try_run_case+0x1a5/0x480
[   19.340284]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.340637]  kthread+0x337/0x6f0
[   19.340784]  ret_from_fork+0x116/0x1d0
[   19.340964]  ret_from_fork_asm+0x1a/0x30
[   19.341164] 
[   19.341246] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.341246] 
[   19.341682] allocated by task 330 on cpu 1 at 19.338609s (0.003072s ago):
[   19.341977]  test_alloc+0x2a6/0x10f0
[   19.342119]  test_corruption+0x1cb/0x3e0
[   19.342255]  kunit_try_run_case+0x1a5/0x480
[   19.342478]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.342754]  kthread+0x337/0x6f0
[   19.342929]  ret_from_fork+0x116/0x1d0
[   19.343075]  ret_from_fork_asm+0x1a/0x30
[   19.343239] 
[   19.343336] freed by task 330 on cpu 1 at 19.338659s (0.004675s ago):
[   19.343656]  test_corruption+0x216/0x3e0
[   19.343842]  kunit_try_run_case+0x1a5/0x480
[   19.343986]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.344166]  kthread+0x337/0x6f0
[   19.344285]  ret_from_fork+0x116/0x1d0
[   19.344714]  ret_from_fork_asm+0x1a/0x30
[   19.344954] 
[   19.345081] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.345825] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.346020] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.346354] ==================================================================
[   19.234627] ==================================================================
[   19.235060] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.235060] 
[   19.235391] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   19.235966]  test_corruption+0x131/0x3e0
[   19.236198]  kunit_try_run_case+0x1a5/0x480
[   19.236992]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.237236]  kthread+0x337/0x6f0
[   19.237404]  ret_from_fork+0x116/0x1d0
[   19.237697]  ret_from_fork_asm+0x1a/0x30
[   19.237894] 
[   19.237975] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.237975] 
[   19.238339] allocated by task 330 on cpu 1 at 19.234502s (0.003835s ago):
[   19.239000]  test_alloc+0x2a6/0x10f0
[   19.239273]  test_corruption+0xe6/0x3e0
[   19.239529]  kunit_try_run_case+0x1a5/0x480
[   19.239763]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.239998]  kthread+0x337/0x6f0
[   19.240174]  ret_from_fork+0x116/0x1d0
[   19.240344]  ret_from_fork_asm+0x1a/0x30
[   19.240561] 
[   19.240636] freed by task 330 on cpu 1 at 19.234547s (0.006087s ago):
[   19.240994]  test_corruption+0x131/0x3e0
[   19.241143]  kunit_try_run_case+0x1a5/0x480
[   19.241336]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.241604]  kthread+0x337/0x6f0
[   19.241896]  ret_from_fork+0x116/0x1d0
[   19.242078]  ret_from_fork_asm+0x1a/0x30
[   19.242265] 
[   19.242381] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.242753] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.242933] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.243319] ==================================================================
[   19.130826] ==================================================================
[   19.131241] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.131241] 
[   19.131713] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#77):
[   19.132395]  test_corruption+0x2df/0x3e0
[   19.132644]  kunit_try_run_case+0x1a5/0x480
[   19.132839]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.133079]  kthread+0x337/0x6f0
[   19.133241]  ret_from_fork+0x116/0x1d0
[   19.133825]  ret_from_fork_asm+0x1a/0x30
[   19.134028] 
[   19.134107] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.134107] 
[   19.134653] allocated by task 328 on cpu 0 at 19.130561s (0.004090s ago):
[   19.135101]  test_alloc+0x364/0x10f0
[   19.135362]  test_corruption+0x1cb/0x3e0
[   19.135666]  kunit_try_run_case+0x1a5/0x480
[   19.135933]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.136186]  kthread+0x337/0x6f0
[   19.136345]  ret_from_fork+0x116/0x1d0
[   19.136734]  ret_from_fork_asm+0x1a/0x30
[   19.136942] 
[   19.137028] freed by task 328 on cpu 0 at 19.130646s (0.006380s ago):
[   19.137459]  test_corruption+0x2df/0x3e0
[   19.137742]  kunit_try_run_case+0x1a5/0x480
[   19.138019]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.138243]  kthread+0x337/0x6f0
[   19.138566]  ret_from_fork+0x116/0x1d0
[   19.138735]  ret_from_fork_asm+0x1a/0x30
[   19.138945] 
[   19.139058] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.139775] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.140036] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.140524] ==================================================================