Hay
Date
June 16, 2025, 7:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   25.120046] ==================================================================
[   25.120644] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   25.120644] 
[   25.121014] Corrupted memory at 0x00000000a4fe785a [ ! . . . . . . . . . . . . . . . ] (in kfence-#133):
[   25.125846]  test_corruption+0x278/0x378
[   25.126543]  kunit_try_run_case+0x170/0x3f0
[   25.126797]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.127063]  kthread+0x328/0x630
[   25.127340]  ret_from_fork+0x10/0x20
[   25.127522] 
[   25.127624] kfence-#133: 0x00000000e2e82a65-0x0000000082c132e6, size=32, cache=kmalloc-32
[   25.127624] 
[   25.127979] allocated by task 320 on cpu 0 at 25.118628s (0.009255s ago):
[   25.128386]  test_alloc+0x29c/0x628
[   25.128476]  test_corruption+0xdc/0x378
[   25.128590]  kunit_try_run_case+0x170/0x3f0
[   25.128733]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.128926]  kthread+0x328/0x630
[   25.129187]  ret_from_fork+0x10/0x20
[   25.129297] 
[   25.129355] freed by task 320 on cpu 0 at 25.119185s (0.010162s ago):
[   25.129481]  test_corruption+0x278/0x378
[   25.129598]  kunit_try_run_case+0x170/0x3f0
[   25.129708]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.129862]  kthread+0x328/0x630
[   25.130010]  ret_from_fork+0x10/0x20
[   25.130241] 
[   25.130488] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   25.130981] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.131221] Hardware name: linux,dummy-virt (DT)
[   25.131615] ==================================================================
[   25.432348] ==================================================================
[   25.432499] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   25.432499] 
[   25.432621] Corrupted memory at 0x000000000bb77e1a [ ! ] (in kfence-#136):
[   25.432923]  test_corruption+0x284/0x378
[   25.433025]  kunit_try_run_case+0x170/0x3f0
[   25.433157]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.433523]  kthread+0x328/0x630
[   25.433628]  ret_from_fork+0x10/0x20
[   25.433827] 
[   25.433959] kfence-#136: 0x000000005ee313ab-0x000000005f295828, size=32, cache=kmalloc-32
[   25.433959] 
[   25.434204] allocated by task 320 on cpu 0 at 25.431862s (0.002332s ago):
[   25.434359]  test_alloc+0x29c/0x628
[   25.434465]  test_corruption+0x198/0x378
[   25.434564]  kunit_try_run_case+0x170/0x3f0
[   25.434656]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.436919]  kthread+0x328/0x630
[   25.436976]  ret_from_fork+0x10/0x20
[   25.437055] 
[   25.437101] freed by task 320 on cpu 0 at 25.432056s (0.005038s ago):
[   25.437242]  test_corruption+0x284/0x378
[   25.437362]  kunit_try_run_case+0x170/0x3f0
[   25.437552]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.437664]  kthread+0x328/0x630
[   25.438001]  ret_from_fork+0x10/0x20
[   25.438160] 
[   25.438284] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   25.438582] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.438662] Hardware name: linux,dummy-virt (DT)
[   25.439033] ==================================================================
[   25.534484] ==================================================================
[   25.534643] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   25.534643] 
[   25.534781] Corrupted memory at 0x000000004e128d29 [ ! . . . . . . . . . . . . . . . ] (in kfence-#137):
[   25.536126]  test_corruption+0x120/0x378
[   25.536260]  kunit_try_run_case+0x170/0x3f0
[   25.536367]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.536468]  kthread+0x328/0x630
[   25.536563]  ret_from_fork+0x10/0x20
[   25.536657] 
[   25.536714] kfence-#137: 0x000000002c88ec3f-0x000000005a3e904c, size=32, cache=test
[   25.536714] 
[   25.537155] allocated by task 322 on cpu 0 at 25.534210s (0.002935s ago):
[   25.537776]  test_alloc+0x230/0x628
[   25.538110]  test_corruption+0xdc/0x378
[   25.538441]  kunit_try_run_case+0x170/0x3f0
[   25.538552]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.538668]  kthread+0x328/0x630
[   25.538967]  ret_from_fork+0x10/0x20
[   25.539242] 
[   25.539575] freed by task 322 on cpu 0 at 25.534325s (0.005233s ago):
[   25.539808]  test_corruption+0x120/0x378
[   25.539961]  kunit_try_run_case+0x170/0x3f0
[   25.540230]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.540356]  kthread+0x328/0x630
[   25.540453]  ret_from_fork+0x10/0x20
[   25.540855] 
[   25.541003] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   25.541406] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.541644] Hardware name: linux,dummy-virt (DT)
[   25.541957] ==================================================================
[   25.744457] ==================================================================
[   25.744776] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   25.744776] 
[   25.744959] Corrupted memory at 0x000000002a9df148 [ ! ] (in kfence-#139):
[   25.745283]  test_corruption+0x1d8/0x378
[   25.745374]  kunit_try_run_case+0x170/0x3f0
[   25.745459]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.745558]  kthread+0x328/0x630
[   25.745659]  ret_from_fork+0x10/0x20
[   25.745771] 
[   25.745848] kfence-#139: 0x000000008ca0d44e-0x0000000071aa7347, size=32, cache=test
[   25.745848] 
[   25.745989] allocated by task 322 on cpu 0 at 25.743492s (0.002488s ago):
[   25.746134]  test_alloc+0x230/0x628
[   25.746228]  test_corruption+0x198/0x378
[   25.746326]  kunit_try_run_case+0x170/0x3f0
[   25.746422]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.746528]  kthread+0x328/0x630
[   25.746613]  ret_from_fork+0x10/0x20
[   25.746701] 
[   25.746759] freed by task 322 on cpu 0 at 25.744009s (0.002743s ago):
[   25.747434]  test_corruption+0x1d8/0x378
[   25.747608]  kunit_try_run_case+0x170/0x3f0
[   25.748121]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.748388]  kthread+0x328/0x630
[   25.748825]  ret_from_fork+0x10/0x20
[   25.749012] 
[   25.749289] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   25.749682] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.749756] Hardware name: linux,dummy-virt (DT)
[   25.750044] ==================================================================

[   18.876868] ==================================================================
[   18.877287] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.877287] 
[   18.877701] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#91):
[   18.878109]  test_corruption+0x216/0x3e0
[   18.878256]  kunit_try_run_case+0x1a5/0x480
[   18.878402]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.878658]  kthread+0x337/0x6f0
[   18.878904]  ret_from_fork+0x116/0x1d0
[   18.879100]  ret_from_fork_asm+0x1a/0x30
[   18.879327] 
[   18.879419] kfence-#91: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.879419] 
[   18.879988] allocated by task 339 on cpu 0 at 18.876723s (0.003262s ago):
[   18.880264]  test_alloc+0x2a6/0x10f0
[   18.880404]  test_corruption+0x1cb/0x3e0
[   18.880583]  kunit_try_run_case+0x1a5/0x480
[   18.880780]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.880993]  kthread+0x337/0x6f0
[   18.881183]  ret_from_fork+0x116/0x1d0
[   18.881386]  ret_from_fork_asm+0x1a/0x30
[   18.881590] 
[   18.881663] freed by task 339 on cpu 0 at 18.876790s (0.004871s ago):
[   18.881873]  test_corruption+0x216/0x3e0
[   18.882026]  kunit_try_run_case+0x1a5/0x480
[   18.882226]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.882467]  kthread+0x337/0x6f0
[   18.882692]  ret_from_fork+0x116/0x1d0
[   18.882861]  ret_from_fork_asm+0x1a/0x30
[   18.883052] 
[   18.883143] CPU: 0 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   18.883797] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.884028] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.884403] ==================================================================
[   18.565004] ==================================================================
[   18.565408] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.565408] 
[   18.565714] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#88):
[   18.566199]  test_corruption+0x2df/0x3e0
[   18.566405]  kunit_try_run_case+0x1a5/0x480
[   18.566580]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.566797]  kthread+0x337/0x6f0
[   18.566992]  ret_from_fork+0x116/0x1d0
[   18.567329]  ret_from_fork_asm+0x1a/0x30
[   18.567526] 
[   18.567597] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.567597] 
[   18.567912] allocated by task 337 on cpu 0 at 18.564739s (0.003170s ago):
[   18.568238]  test_alloc+0x364/0x10f0
[   18.568436]  test_corruption+0x1cb/0x3e0
[   18.568699]  kunit_try_run_case+0x1a5/0x480
[   18.568898]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.569070]  kthread+0x337/0x6f0
[   18.569217]  ret_from_fork+0x116/0x1d0
[   18.569392]  ret_from_fork_asm+0x1a/0x30
[   18.569579] 
[   18.569700] freed by task 337 on cpu 0 at 18.564821s (0.004877s ago):
[   18.569960]  test_corruption+0x2df/0x3e0
[   18.570094]  kunit_try_run_case+0x1a5/0x480
[   18.570244]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.570620]  kthread+0x337/0x6f0
[   18.570813]  ret_from_fork+0x116/0x1d0
[   18.571036]  ret_from_fork_asm+0x1a/0x30
[   18.571244] 
[   18.571378] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   18.571747] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.571974] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.572393] ==================================================================
[   18.253068] ==================================================================
[   18.253578] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.253578] 
[   18.253994] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#85):
[   18.254800]  test_corruption+0x2d2/0x3e0
[   18.254985]  kunit_try_run_case+0x1a5/0x480
[   18.255158]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.255491]  kthread+0x337/0x6f0
[   18.255682]  ret_from_fork+0x116/0x1d0
[   18.255833]  ret_from_fork_asm+0x1a/0x30
[   18.256078] 
[   18.256161] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.256161] 
[   18.256576] allocated by task 337 on cpu 0 at 18.252774s (0.003799s ago):
[   18.256903]  test_alloc+0x364/0x10f0
[   18.257101]  test_corruption+0xe6/0x3e0
[   18.257310]  kunit_try_run_case+0x1a5/0x480
[   18.257615]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.257850]  kthread+0x337/0x6f0
[   18.258061]  ret_from_fork+0x116/0x1d0
[   18.258215]  ret_from_fork_asm+0x1a/0x30
[   18.258349] 
[   18.258413] freed by task 337 on cpu 0 at 18.252887s (0.005525s ago):
[   18.258833]  test_corruption+0x2d2/0x3e0
[   18.259044]  kunit_try_run_case+0x1a5/0x480
[   18.259250]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.259522]  kthread+0x337/0x6f0
[   18.259638]  ret_from_fork+0x116/0x1d0
[   18.259761]  ret_from_fork_asm+0x1a/0x30
[   18.259901] 
[   18.260048] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   18.260738] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.260960] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.261260] ==================================================================
[   18.668910] ==================================================================
[   18.669309] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.669309] 
[   18.669616] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#89):
[   18.670315]  test_corruption+0x131/0x3e0
[   18.670459]  kunit_try_run_case+0x1a5/0x480
[   18.670750]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.671153]  kthread+0x337/0x6f0
[   18.671274]  ret_from_fork+0x116/0x1d0
[   18.671525]  ret_from_fork_asm+0x1a/0x30
[   18.671723] 
[   18.671816] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.671816] 
[   18.672222] allocated by task 339 on cpu 0 at 18.668770s (0.003450s ago):
[   18.672552]  test_alloc+0x2a6/0x10f0
[   18.672745]  test_corruption+0xe6/0x3e0
[   18.672941]  kunit_try_run_case+0x1a5/0x480
[   18.673143]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.673332]  kthread+0x337/0x6f0
[   18.673628]  ret_from_fork+0x116/0x1d0
[   18.673805]  ret_from_fork_asm+0x1a/0x30
[   18.674036] 
[   18.674125] freed by task 339 on cpu 0 at 18.668834s (0.005289s ago):
[   18.674421]  test_corruption+0x131/0x3e0
[   18.674606]  kunit_try_run_case+0x1a5/0x480
[   18.674793]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.674969]  kthread+0x337/0x6f0
[   18.675082]  ret_from_fork+0x116/0x1d0
[   18.675256]  ret_from_fork_asm+0x1a/0x30
[   18.675529] 
[   18.675666] CPU: 0 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   18.676174] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.676386] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.676809] ==================================================================