Hay
Date
July 10, 2025, 9:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   35.691290] ==================================================================
[   35.691385] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   35.691385] 
[   35.691446] Corrupted memory at 0x00000000d92b6c1f [ ! ] (in kfence-#140):
[   35.691569]  test_corruption+0x1d8/0x378
[   35.691618]  kunit_try_run_case+0x170/0x3f0
[   35.691663]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.691710]  kthread+0x328/0x630
[   35.691747]  ret_from_fork+0x10/0x20
[   35.691788] 
[   35.691811] kfence-#140: 0x0000000086d4119b-0x00000000514a4734, size=32, cache=test
[   35.691811] 
[   35.691867] allocated by task 344 on cpu 0 at 35.691145s (0.000718s ago):
[   35.691928]  test_alloc+0x230/0x628
[   35.691970]  test_corruption+0x198/0x378
[   35.692012]  kunit_try_run_case+0x170/0x3f0
[   35.692053]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.692099]  kthread+0x328/0x630
[   35.692146]  ret_from_fork+0x10/0x20
[   35.692187] 
[   35.692212] freed by task 344 on cpu 0 at 35.691201s (0.001007s ago):
[   35.692274]  test_corruption+0x1d8/0x378
[   35.692315]  kunit_try_run_case+0x170/0x3f0
[   35.692356]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.692401]  kthread+0x328/0x630
[   35.692436]  ret_from_fork+0x10/0x20
[   35.692475] 
[   35.692517] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   35.692598] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.692629] Hardware name: linux,dummy-virt (DT)
[   35.692664] ==================================================================
[   35.067600] ==================================================================
[   35.067693] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   35.067693] 
[   35.067757] Corrupted memory at 0x00000000103483ef [ ! ] (in kfence-#134):
[   35.067887]  test_corruption+0x284/0x378
[   35.067936]  kunit_try_run_case+0x170/0x3f0
[   35.067981]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.068027]  kthread+0x328/0x630
[   35.068066]  ret_from_fork+0x10/0x20
[   35.068107] 
[   35.068144] kfence-#134: 0x000000000aeb8358-0x00000000ea64579f, size=32, cache=kmalloc-32
[   35.068144] 
[   35.068204] allocated by task 342 on cpu 0 at 35.067316s (0.000884s ago):
[   35.068265]  test_alloc+0x29c/0x628
[   35.068306]  test_corruption+0x198/0x378
[   35.068346]  kunit_try_run_case+0x170/0x3f0
[   35.068387]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.068432]  kthread+0x328/0x630
[   35.068467]  ret_from_fork+0x10/0x20
[   35.068508] 
[   35.068531] freed by task 342 on cpu 0 at 35.067418s (0.001110s ago):
[   35.068593]  test_corruption+0x284/0x378
[   35.068633]  kunit_try_run_case+0x170/0x3f0
[   35.068674]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.068720]  kthread+0x328/0x630
[   35.068757]  ret_from_fork+0x10/0x20
[   35.068794] 
[   35.068839] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   35.068918] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.068953] Hardware name: linux,dummy-virt (DT)
[   35.068988] ==================================================================
[   35.379385] ==================================================================
[   35.379489] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   35.379489] 
[   35.379561] Corrupted memory at 0x00000000e3b904d3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#137):
[   35.379877]  test_corruption+0x120/0x378
[   35.379926]  kunit_try_run_case+0x170/0x3f0
[   35.379972]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.380018]  kthread+0x328/0x630
[   35.380058]  ret_from_fork+0x10/0x20
[   35.380099] 
[   35.380122] kfence-#137: 0x000000000298bc88-0x0000000048654aaf, size=32, cache=test
[   35.380122] 
[   35.380193] allocated by task 344 on cpu 0 at 35.379234s (0.000955s ago):
[   35.380256]  test_alloc+0x230/0x628
[   35.380295]  test_corruption+0xdc/0x378
[   35.380335]  kunit_try_run_case+0x170/0x3f0
[   35.380376]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.380421]  kthread+0x328/0x630
[   35.380457]  ret_from_fork+0x10/0x20
[   35.380495] 
[   35.380518] freed by task 344 on cpu 0 at 35.379291s (0.001224s ago):
[   35.380580]  test_corruption+0x120/0x378
[   35.380620]  kunit_try_run_case+0x170/0x3f0
[   35.380661]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.380706]  kthread+0x328/0x630
[   35.380740]  ret_from_fork+0x10/0x20
[   35.380778] 
[   35.380825] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   35.380905] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.380936] Hardware name: linux,dummy-virt (DT)
[   35.380971] ==================================================================
[   34.963477] ==================================================================
[   34.963601] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   34.963601] 
[   34.963670] Corrupted memory at 0x0000000080cd3fd0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#133):
[   34.964810]  test_corruption+0x278/0x378
[   34.964864]  kunit_try_run_case+0x170/0x3f0
[   34.964912]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.964958]  kthread+0x328/0x630
[   34.964998]  ret_from_fork+0x10/0x20
[   34.965039] 
[   34.965064] kfence-#133: 0x000000007a97edda-0x00000000c642fa10, size=32, cache=kmalloc-32
[   34.965064] 
[   34.965122] allocated by task 342 on cpu 0 at 34.963167s (0.001951s ago):
[   34.965200]  test_alloc+0x29c/0x628
[   34.965242]  test_corruption+0xdc/0x378
[   34.965283]  kunit_try_run_case+0x170/0x3f0
[   34.965324]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.965368]  kthread+0x328/0x630
[   34.965403]  ret_from_fork+0x10/0x20
[   34.965443] 
[   34.965465] freed by task 342 on cpu 0 at 34.963277s (0.002185s ago):
[   34.965528]  test_corruption+0x278/0x378
[   34.965567]  kunit_try_run_case+0x170/0x3f0
[   34.965607]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.965651]  kthread+0x328/0x630
[   34.965685]  ret_from_fork+0x10/0x20
[   34.965723] 
[   34.965771] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   34.965852] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.965883] Hardware name: linux,dummy-virt (DT)
[   34.965916] ==================================================================

[   32.324294] ==================================================================
[   32.324739] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   32.324739] 
[   32.325026] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#115):
[   32.325454]  test_corruption+0x216/0x3e0
[   32.325693]  kunit_try_run_case+0x1a5/0x480
[   32.325880]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.326137]  kthread+0x337/0x6f0
[   32.326324]  ret_from_fork+0x116/0x1d0
[   32.326505]  ret_from_fork_asm+0x1a/0x30
[   32.326755] 
[   32.326852] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.326852] 
[   32.327247] allocated by task 361 on cpu 0 at 32.324152s (0.003092s ago):
[   32.327474]  test_alloc+0x2a6/0x10f0
[   32.327655]  test_corruption+0x1cb/0x3e0
[   32.327938]  kunit_try_run_case+0x1a5/0x480
[   32.328165]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.328449]  kthread+0x337/0x6f0
[   32.328596]  ret_from_fork+0x116/0x1d0
[   32.328733]  ret_from_fork_asm+0x1a/0x30
[   32.328990] 
[   32.329081] freed by task 361 on cpu 0 at 32.324209s (0.004870s ago):
[   32.329417]  test_corruption+0x216/0x3e0
[   32.329649]  kunit_try_run_case+0x1a5/0x480
[   32.329800]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.330055]  kthread+0x337/0x6f0
[   32.330252]  ret_from_fork+0x116/0x1d0
[   32.330467]  ret_from_fork_asm+0x1a/0x30
[   32.330658] 
[   32.330762] CPU: 0 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   32.331317] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.331495] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.331865] ==================================================================
[   31.388293] ==================================================================
[   31.388821] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   31.388821] 
[   31.389185] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#106):
[   31.390147]  test_corruption+0x2d2/0x3e0
[   31.390341]  kunit_try_run_case+0x1a5/0x480
[   31.390561]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.390785]  kthread+0x337/0x6f0
[   31.390950]  ret_from_fork+0x116/0x1d0
[   31.391125]  ret_from_fork_asm+0x1a/0x30
[   31.391295] 
[   31.391365] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.391365] 
[   31.391768] allocated by task 359 on cpu 1 at 31.388053s (0.003712s ago):
[   31.392446]  test_alloc+0x364/0x10f0
[   31.392667]  test_corruption+0xe6/0x3e0
[   31.392852]  kunit_try_run_case+0x1a5/0x480
[   31.393039]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.393270]  kthread+0x337/0x6f0
[   31.393422]  ret_from_fork+0x116/0x1d0
[   31.394159]  ret_from_fork_asm+0x1a/0x30
[   31.394415] 
[   31.394523] freed by task 359 on cpu 1 at 31.388134s (0.006387s ago):
[   31.395018]  test_corruption+0x2d2/0x3e0
[   31.395204]  kunit_try_run_case+0x1a5/0x480
[   31.395377]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.395592]  kthread+0x337/0x6f0
[   31.395788]  ret_from_fork+0x116/0x1d0
[   31.395949]  ret_from_fork_asm+0x1a/0x30
[   31.396129] 
[   31.396251] CPU: 1 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   31.396738] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.396937] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.397288] ==================================================================
[   31.804222] ==================================================================
[   31.804665] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   31.804665] 
[   31.805176] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#110):
[   31.806277]  test_corruption+0x131/0x3e0
[   31.806511]  kunit_try_run_case+0x1a5/0x480
[   31.806741]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.806981]  kthread+0x337/0x6f0
[   31.807152]  ret_from_fork+0x116/0x1d0
[   31.807729]  ret_from_fork_asm+0x1a/0x30
[   31.807910] 
[   31.808032] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.808032] 
[   31.808673] allocated by task 361 on cpu 0 at 31.804092s (0.004577s ago):
[   31.809014]  test_alloc+0x2a6/0x10f0
[   31.809434]  test_corruption+0xe6/0x3e0
[   31.809729]  kunit_try_run_case+0x1a5/0x480
[   31.809940]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.810317]  kthread+0x337/0x6f0
[   31.810585]  ret_from_fork+0x116/0x1d0
[   31.810784]  ret_from_fork_asm+0x1a/0x30
[   31.811103] 
[   31.811225] freed by task 361 on cpu 0 at 31.804145s (0.007078s ago):
[   31.811664]  test_corruption+0x131/0x3e0
[   31.811895]  kunit_try_run_case+0x1a5/0x480
[   31.812229]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.812587]  kthread+0x337/0x6f0
[   31.812853]  ret_from_fork+0x116/0x1d0
[   31.813131]  ret_from_fork_asm+0x1a/0x30
[   31.813335] 
[   31.813549] CPU: 0 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   31.814142] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.814345] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.814947] ==================================================================
[   31.700321] ==================================================================
[   31.700745] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   31.700745] 
[   31.701059] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#109):
[   31.701455]  test_corruption+0x2df/0x3e0
[   31.701662]  kunit_try_run_case+0x1a5/0x480
[   31.701874]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.702074]  kthread+0x337/0x6f0
[   31.702231]  ret_from_fork+0x116/0x1d0
[   31.702422]  ret_from_fork_asm+0x1a/0x30
[   31.702669] 
[   31.702758] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.702758] 
[   31.703142] allocated by task 359 on cpu 1 at 31.700064s (0.003076s ago):
[   31.703417]  test_alloc+0x364/0x10f0
[   31.703548]  test_corruption+0x1cb/0x3e0
[   31.703736]  kunit_try_run_case+0x1a5/0x480
[   31.703948]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.704315]  kthread+0x337/0x6f0
[   31.704473]  ret_from_fork+0x116/0x1d0
[   31.704632]  ret_from_fork_asm+0x1a/0x30
[   31.704780] 
[   31.704854] freed by task 359 on cpu 1 at 31.700157s (0.004694s ago):
[   31.705154]  test_corruption+0x2df/0x3e0
[   31.705328]  kunit_try_run_case+0x1a5/0x480
[   31.705536]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.705765]  kthread+0x337/0x6f0
[   31.705883]  ret_from_fork+0x116/0x1d0
[   31.706071]  ret_from_fork_asm+0x1a/0x30
[   31.706270] 
[   31.706389] CPU: 1 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   31.706936] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.707134] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.707468] ==================================================================