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

Environment
qemu-arm64
qemu-x86_64

[   35.586231] ==================================================================
[   35.586315] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   35.586315] 
[   35.586377] Corrupted memory at 0x00000000543c792e [ ! . . . . . . . . . . . . . . . ] (in kfence-#141):
[   35.586686]  test_corruption+0x120/0x378
[   35.586734]  kunit_try_run_case+0x170/0x3f0
[   35.586781]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.586827]  kthread+0x328/0x630
[   35.586864]  ret_from_fork+0x10/0x20
[   35.586920] 
[   35.586944] kfence-#141: 0x0000000044385a8e-0x000000007d4510d8, size=32, cache=test
[   35.586944] 
[   35.586996] allocated by task 346 on cpu 0 at 35.586090s (0.000903s ago):
[   35.587061]  test_alloc+0x230/0x628
[   35.587104]  test_corruption+0xdc/0x378
[   35.587144]  kunit_try_run_case+0x170/0x3f0
[   35.587185]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.587228]  kthread+0x328/0x630
[   35.587265]  ret_from_fork+0x10/0x20
[   35.587304] 
[   35.587327] freed by task 346 on cpu 0 at 35.586152s (0.001171s ago):
[   35.587389]  test_corruption+0x120/0x378
[   35.587429]  kunit_try_run_case+0x170/0x3f0
[   35.587471]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.587516]  kthread+0x328/0x630
[   35.587551]  ret_from_fork+0x10/0x20
[   35.587590] 
[   35.587628] CPU: 0 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   35.587706] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.587734] Hardware name: linux,dummy-virt (DT)
[   35.587769] ==================================================================
[   35.482373] ==================================================================
[   35.482464] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   35.482464] 
[   35.482526] Corrupted memory at 0x000000009ea75c5e [ ! ] (in kfence-#140):
[   35.482656]  test_corruption+0x284/0x378
[   35.482706]  kunit_try_run_case+0x170/0x3f0
[   35.482752]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.482797]  kthread+0x328/0x630
[   35.482835]  ret_from_fork+0x10/0x20
[   35.482875] 
[   35.482914] kfence-#140: 0x00000000d8b596ac-0x000000000eeb4840, size=32, cache=kmalloc-32
[   35.482914] 
[   35.482971] allocated by task 344 on cpu 0 at 35.482106s (0.000861s ago):
[   35.483035]  test_alloc+0x29c/0x628
[   35.483075]  test_corruption+0x198/0x378
[   35.483117]  kunit_try_run_case+0x170/0x3f0
[   35.483157]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.483203]  kthread+0x328/0x630
[   35.483238]  ret_from_fork+0x10/0x20
[   35.483275] 
[   35.483298] freed by task 344 on cpu 0 at 35.482204s (0.001090s ago):
[   35.483362]  test_corruption+0x284/0x378
[   35.483401]  kunit_try_run_case+0x170/0x3f0
[   35.483443]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.483489]  kthread+0x328/0x630
[   35.483525]  ret_from_fork+0x10/0x20
[   35.483565] 
[   35.483609] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   35.483686] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.483716] Hardware name: linux,dummy-virt (DT)
[   35.483754] ==================================================================
[   35.690187] ==================================================================
[   35.690270] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   35.690270] 
[   35.690328] Corrupted memory at 0x0000000075e0161d [ ! ] (in kfence-#142):
[   35.690439]  test_corruption+0x1d8/0x378
[   35.690486]  kunit_try_run_case+0x170/0x3f0
[   35.690529]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.690576]  kthread+0x328/0x630
[   35.690613]  ret_from_fork+0x10/0x20
[   35.690652] 
[   35.690675] kfence-#142: 0x000000006b2f88f4-0x0000000012e8e360, size=32, cache=test
[   35.690675] 
[   35.690730] allocated by task 346 on cpu 0 at 35.690059s (0.000668s ago):
[   35.690793]  test_alloc+0x230/0x628
[   35.690836]  test_corruption+0x198/0x378
[   35.690878]  kunit_try_run_case+0x170/0x3f0
[   35.690934]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.690979]  kthread+0x328/0x630
[   35.691014]  ret_from_fork+0x10/0x20
[   35.691053] 
[   35.691078] freed by task 346 on cpu 0 at 35.690111s (0.000963s ago):
[   35.691140]  test_corruption+0x1d8/0x378
[   35.691184]  kunit_try_run_case+0x170/0x3f0
[   35.691225]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.691270]  kthread+0x328/0x630
[   35.691307]  ret_from_fork+0x10/0x20
[   35.691347] 
[   35.691386] CPU: 0 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   35.691463] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.691493] Hardware name: linux,dummy-virt (DT)
[   35.691529] ==================================================================
[   35.274426] ==================================================================
[   35.274545] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   35.274545] 
[   35.274616] Corrupted memory at 0x00000000597199d4 [ ! . . . . . . . . . . . . . . . ] (in kfence-#138):
[   35.275753]  test_corruption+0x278/0x378
[   35.275811]  kunit_try_run_case+0x170/0x3f0
[   35.275859]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.275922]  kthread+0x328/0x630
[   35.275964]  ret_from_fork+0x10/0x20
[   35.276008] 
[   35.276032] kfence-#138: 0x00000000b99a0e8e-0x00000000a198c365, size=32, cache=kmalloc-32
[   35.276032] 
[   35.276091] allocated by task 344 on cpu 0 at 35.274117s (0.001970s ago):
[   35.276157]  test_alloc+0x29c/0x628
[   35.276198]  test_corruption+0xdc/0x378
[   35.276240]  kunit_try_run_case+0x170/0x3f0
[   35.276282]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.276327]  kthread+0x328/0x630
[   35.276362]  ret_from_fork+0x10/0x20
[   35.276400] 
[   35.276426] freed by task 344 on cpu 0 at 35.274230s (0.002192s ago):
[   35.276486]  test_corruption+0x278/0x378
[   35.276526]  kunit_try_run_case+0x170/0x3f0
[   35.276568]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.276612]  kthread+0x328/0x630
[   35.276648]  ret_from_fork+0x10/0x20
[   35.276688] 
[   35.276738] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   35.276825] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.276856] Hardware name: linux,dummy-virt (DT)
[   35.276892] ==================================================================

[   32.533564] ==================================================================
[   32.534067] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   32.534067] 
[   32.534506] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#117):
[   32.535285]  test_corruption+0x131/0x3e0
[   32.535451]  kunit_try_run_case+0x1a5/0x480
[   32.535664]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.535964]  kthread+0x337/0x6f0
[   32.536138]  ret_from_fork+0x116/0x1d0
[   32.536303]  ret_from_fork_asm+0x1a/0x30
[   32.536550] 
[   32.536646] kfence-#117: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.536646] 
[   32.537019] allocated by task 362 on cpu 1 at 32.533426s (0.003591s ago):
[   32.537370]  test_alloc+0x2a6/0x10f0
[   32.537563]  test_corruption+0xe6/0x3e0
[   32.537802]  kunit_try_run_case+0x1a5/0x480
[   32.538079]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.538327]  kthread+0x337/0x6f0
[   32.538497]  ret_from_fork+0x116/0x1d0
[   32.538625]  ret_from_fork_asm+0x1a/0x30
[   32.538787] 
[   32.538892] freed by task 362 on cpu 1 at 32.533474s (0.005406s ago):
[   32.539220]  test_corruption+0x131/0x3e0
[   32.539373]  kunit_try_run_case+0x1a5/0x480
[   32.539527]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.539746]  kthread+0x337/0x6f0
[   32.539908]  ret_from_fork+0x116/0x1d0
[   32.540119]  ret_from_fork_asm+0x1a/0x30
[   32.540324] 
[   32.540462] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   32.540966] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.541169] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.541695] ==================================================================
[   32.325803] ==================================================================
[   32.326210] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   32.326210] 
[   32.326555] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#115):
[   32.327057]  test_corruption+0x2df/0x3e0
[   32.327213]  kunit_try_run_case+0x1a5/0x480
[   32.327450]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.327758]  kthread+0x337/0x6f0
[   32.327952]  ret_from_fork+0x116/0x1d0
[   32.328149]  ret_from_fork_asm+0x1a/0x30
[   32.328490] 
[   32.328585] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.328585] 
[   32.328884] allocated by task 360 on cpu 0 at 32.325549s (0.003332s ago):
[   32.329222]  test_alloc+0x364/0x10f0
[   32.329520]  test_corruption+0x1cb/0x3e0
[   32.329797]  kunit_try_run_case+0x1a5/0x480
[   32.330045]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.330247]  kthread+0x337/0x6f0
[   32.330372]  ret_from_fork+0x116/0x1d0
[   32.330531]  ret_from_fork_asm+0x1a/0x30
[   32.330791] 
[   32.330890] freed by task 360 on cpu 0 at 32.325632s (0.005255s ago):
[   32.331175]  test_corruption+0x2df/0x3e0
[   32.331480]  kunit_try_run_case+0x1a5/0x480
[   32.331745]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.332126]  kthread+0x337/0x6f0
[   32.332254]  ret_from_fork+0x116/0x1d0
[   32.332417]  ret_from_fork_asm+0x1a/0x30
[   32.332621] 
[   32.332749] CPU: 0 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   32.333403] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.333547] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.333872] ==================================================================
[   32.637884] ==================================================================
[   32.638382] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   32.638382] 
[   32.638785] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#118):
[   32.639225]  test_corruption+0x216/0x3e0
[   32.639424]  kunit_try_run_case+0x1a5/0x480
[   32.639600]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.639898]  kthread+0x337/0x6f0
[   32.640071]  ret_from_fork+0x116/0x1d0
[   32.640212]  ret_from_fork_asm+0x1a/0x30
[   32.640465] 
[   32.640568] kfence-#118: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.640568] 
[   32.641022] allocated by task 362 on cpu 1 at 32.637746s (0.003274s ago):
[   32.641373]  test_alloc+0x2a6/0x10f0
[   32.641590]  test_corruption+0x1cb/0x3e0
[   32.641824]  kunit_try_run_case+0x1a5/0x480
[   32.642057]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.642318]  kthread+0x337/0x6f0
[   32.642536]  ret_from_fork+0x116/0x1d0
[   32.642735]  ret_from_fork_asm+0x1a/0x30
[   32.643038] 
[   32.643111] freed by task 362 on cpu 1 at 32.637800s (0.005309s ago):
[   32.643332]  test_corruption+0x216/0x3e0
[   32.643535]  kunit_try_run_case+0x1a5/0x480
[   32.643765]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.644061]  kthread+0x337/0x6f0
[   32.644280]  ret_from_fork+0x116/0x1d0
[   32.644472]  ret_from_fork_asm+0x1a/0x30
[   32.644618] 
[   32.644725] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   32.645494] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.645699] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.646135] ==================================================================
[   32.221807] ==================================================================
[   32.222899] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   32.222899] 
[   32.224019] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#114):
[   32.225062]  test_corruption+0x2d2/0x3e0
[   32.225225]  kunit_try_run_case+0x1a5/0x480
[   32.225382]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.225577]  kthread+0x337/0x6f0
[   32.225705]  ret_from_fork+0x116/0x1d0
[   32.225844]  ret_from_fork_asm+0x1a/0x30
[   32.226223] 
[   32.226385] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.226385] 
[   32.227332] allocated by task 360 on cpu 0 at 32.221542s (0.005788s ago):
[   32.227890]  test_alloc+0x364/0x10f0
[   32.228032]  test_corruption+0xe6/0x3e0
[   32.228170]  kunit_try_run_case+0x1a5/0x480
[   32.228330]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.228547]  kthread+0x337/0x6f0
[   32.228757]  ret_from_fork+0x116/0x1d0
[   32.228949]  ret_from_fork_asm+0x1a/0x30
[   32.229211] 
[   32.229291] freed by task 360 on cpu 0 at 32.221633s (0.007656s ago):
[   32.229618]  test_corruption+0x2d2/0x3e0
[   32.229816]  kunit_try_run_case+0x1a5/0x480
[   32.230075]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.230283]  kthread+0x337/0x6f0
[   32.230416]  ret_from_fork+0x116/0x1d0
[   32.230609]  ret_from_fork_asm+0x1a/0x30
[   32.230976] 
[   32.231092] CPU: 0 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   32.231610] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.231802] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.232190] ==================================================================