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

Environment
qemu-arm64
qemu-x86_64

[   40.156068] ==================================================================
[   40.156212] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   40.156212] 
[   40.156339] Corrupted memory at 0x00000000e7ee4673 [ ! ] (in kfence-#135):
[   40.156684]  test_corruption+0x284/0x378
[   40.157212]  kunit_try_run_case+0x170/0x3f0
[   40.157635]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.158129]  kthread+0x328/0x630
[   40.158244]  ret_from_fork+0x10/0x20
[   40.159601] 
[   40.159672] kfence-#135: 0x00000000ba58ed36-0x0000000069adc79a, size=32, cache=kmalloc-32
[   40.159672] 
[   40.159845] allocated by task 323 on cpu 0 at 40.155585s (0.004248s ago):
[   40.160012]  test_alloc+0x29c/0x628
[   40.160202]  test_corruption+0x198/0x378
[   40.160361]  kunit_try_run_case+0x170/0x3f0
[   40.160461]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.160567]  kthread+0x328/0x630
[   40.160652]  ret_from_fork+0x10/0x20
[   40.161863] 
[   40.161943] freed by task 323 on cpu 0 at 40.155743s (0.006188s ago):
[   40.162646]  test_corruption+0x284/0x378
[   40.162783]  kunit_try_run_case+0x170/0x3f0
[   40.163496]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.163648]  kthread+0x328/0x630
[   40.163939]  ret_from_fork+0x10/0x20
[   40.164072] 
[   40.164474] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT 
[   40.165462] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.165545] Hardware name: linux,dummy-virt (DT)
[   40.165624] ==================================================================
[   39.837251] ==================================================================
[   39.837395] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   39.837395] 
[   39.837522] Corrupted memory at 0x000000006fd693aa [ ! . . . . . . . . . . . . . . . ] (in kfence-#132):
[   39.839612]  test_corruption+0x278/0x378
[   39.839766]  kunit_try_run_case+0x170/0x3f0
[   39.839980]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.840184]  kthread+0x328/0x630
[   39.840299]  ret_from_fork+0x10/0x20
[   39.840488] 
[   39.840567] kfence-#132: 0x000000004d318858-0x00000000cb81aea1, size=32, cache=kmalloc-32
[   39.840567] 
[   39.840885] allocated by task 323 on cpu 0 at 39.836901s (0.003906s ago):
[   39.841343]  test_alloc+0x29c/0x628
[   39.841492]  test_corruption+0xdc/0x378
[   39.841679]  kunit_try_run_case+0x170/0x3f0
[   39.841735]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.841807]  kthread+0x328/0x630
[   39.841946]  ret_from_fork+0x10/0x20
[   39.842185] 
[   39.842244] freed by task 323 on cpu 0 at 39.837085s (0.005150s ago):
[   39.842424]  test_corruption+0x278/0x378
[   39.842949]  kunit_try_run_case+0x170/0x3f0
[   39.843272]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.843485]  kthread+0x328/0x630
[   39.843594]  ret_from_fork+0x10/0x20
[   39.843913] 
[   39.844176] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT 
[   39.844672] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.844775] Hardware name: linux,dummy-virt (DT)
[   39.844858] ==================================================================
[   40.261277] ==================================================================
[   40.261418] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   40.261418] 
[   40.261544] Corrupted memory at 0x0000000048c98904 [ ! . . . . . . . . . . . . . . . ] (in kfence-#136):
[   40.264219]  test_corruption+0x120/0x378
[   40.264429]  kunit_try_run_case+0x170/0x3f0
[   40.264837]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.265094]  kthread+0x328/0x630
[   40.265416]  ret_from_fork+0x10/0x20
[   40.265542] 
[   40.265606] kfence-#136: 0x00000000e134741e-0x000000002f4eda49, size=32, cache=test
[   40.265606] 
[   40.265746] allocated by task 325 on cpu 0 at 40.260990s (0.004745s ago):
[   40.266684]  test_alloc+0x230/0x628
[   40.266759]  test_corruption+0xdc/0x378
[   40.266820]  kunit_try_run_case+0x170/0x3f0
[   40.266998]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.267148]  kthread+0x328/0x630
[   40.267689]  ret_from_fork+0x10/0x20
[   40.267824] 
[   40.267887] freed by task 325 on cpu 0 at 40.261126s (0.006752s ago):
[   40.268171]  test_corruption+0x120/0x378
[   40.268346]  kunit_try_run_case+0x170/0x3f0
[   40.268565]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.268838]  kthread+0x328/0x630
[   40.268925]  ret_from_fork+0x10/0x20
[   40.269809] 
[   40.270119] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT 
[   40.270316] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.270389] Hardware name: linux,dummy-virt (DT)
[   40.270505] ==================================================================
[   40.365656] ==================================================================
[   40.366098] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   40.366098] 
[   40.366347] Corrupted memory at 0x00000000b10f91d0 [ ! ] (in kfence-#137):
[   40.366712]  test_corruption+0x1d8/0x378
[   40.366965]  kunit_try_run_case+0x170/0x3f0
[   40.367097]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.367262]  kthread+0x328/0x630
[   40.367365]  ret_from_fork+0x10/0x20
[   40.367492] 
[   40.367660] kfence-#137: 0x00000000b2749bc3-0x000000007ed02576, size=32, cache=test
[   40.367660] 
[   40.368011] allocated by task 325 on cpu 0 at 40.364950s (0.003033s ago):
[   40.368367]  test_alloc+0x230/0x628
[   40.368470]  test_corruption+0x198/0x378
[   40.368579]  kunit_try_run_case+0x170/0x3f0
[   40.368688]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.368858]  kthread+0x328/0x630
[   40.369435]  ret_from_fork+0x10/0x20
[   40.369774] 
[   40.369847] freed by task 325 on cpu 0 at 40.365104s (0.004733s ago):
[   40.370012]  test_corruption+0x1d8/0x378
[   40.370240]  kunit_try_run_case+0x170/0x3f0
[   40.370344]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.370527]  kthread+0x328/0x630
[   40.370712]  ret_from_fork+0x10/0x20
[   40.370836] 
[   40.370925] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT 
[   40.371231] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.371445] Hardware name: linux,dummy-virt (DT)
[   40.371548] ==================================================================

[   28.964658] ==================================================================
[   28.965087] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   28.965087] 
[   28.965358] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#99):
[   28.966368]  test_corruption+0x2d2/0x3e0
[   28.966705]  kunit_try_run_case+0x1a5/0x480
[   28.967091]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.967287]  kthread+0x337/0x6f0
[   28.967523]  ret_from_fork+0x116/0x1d0
[   28.967780]  ret_from_fork_asm+0x1a/0x30
[   28.968032] 
[   28.968116] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.968116] 
[   28.968431] allocated by task 340 on cpu 1 at 28.964391s (0.004035s ago):
[   28.968684]  test_alloc+0x364/0x10f0
[   28.968938]  test_corruption+0xe6/0x3e0
[   28.969211]  kunit_try_run_case+0x1a5/0x480
[   28.969495]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.969850]  kthread+0x337/0x6f0
[   28.970038]  ret_from_fork+0x116/0x1d0
[   28.970287]  ret_from_fork_asm+0x1a/0x30
[   28.970464] 
[   28.970611] freed by task 340 on cpu 1 at 28.964484s (0.006122s ago):
[   28.971098]  test_corruption+0x2d2/0x3e0
[   28.971319]  kunit_try_run_case+0x1a5/0x480
[   28.971530]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.971853]  kthread+0x337/0x6f0
[   28.972100]  ret_from_fork+0x116/0x1d0
[   28.972244]  ret_from_fork_asm+0x1a/0x30
[   28.972519] 
[   28.972651] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) 
[   28.973425] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.973606] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.973869] ==================================================================
[   29.796730] ==================================================================
[   29.797102] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   29.797102] 
[   29.797324] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#107):
[   29.797839]  test_corruption+0x2df/0x3e0
[   29.798223]  kunit_try_run_case+0x1a5/0x480
[   29.798522]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.798773]  kthread+0x337/0x6f0
[   29.798902]  ret_from_fork+0x116/0x1d0
[   29.799038]  ret_from_fork_asm+0x1a/0x30
[   29.799313] 
[   29.799480] kfence-#107: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.799480] 
[   29.800127] allocated by task 340 on cpu 1 at 29.796406s (0.003716s ago):
[   29.800475]  test_alloc+0x364/0x10f0
[   29.800621]  test_corruption+0x1cb/0x3e0
[   29.800773]  kunit_try_run_case+0x1a5/0x480
[   29.801069]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.801436]  kthread+0x337/0x6f0
[   29.801687]  ret_from_fork+0x116/0x1d0
[   29.802018]  ret_from_fork_asm+0x1a/0x30
[   29.802231] 
[   29.802309] freed by task 340 on cpu 1 at 29.796524s (0.005781s ago):
[   29.802726]  test_corruption+0x2df/0x3e0
[   29.802881]  kunit_try_run_case+0x1a5/0x480
[   29.803037]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.803429]  kthread+0x337/0x6f0
[   29.803667]  ret_from_fork+0x116/0x1d0
[   29.803948]  ret_from_fork_asm+0x1a/0x30
[   29.804217] 
[   29.804413] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) 
[   29.804768] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.805034] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.805539] ==================================================================
[   30.420501] ==================================================================
[   30.420844] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   30.420844] 
[   30.421123] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#113):
[   30.421701]  test_corruption+0x216/0x3e0
[   30.421941]  kunit_try_run_case+0x1a5/0x480
[   30.422169]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.422526]  kthread+0x337/0x6f0
[   30.422774]  ret_from_fork+0x116/0x1d0
[   30.422947]  ret_from_fork_asm+0x1a/0x30
[   30.423099] 
[   30.423187] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.423187] 
[   30.423917] allocated by task 342 on cpu 0 at 30.420366s (0.003547s ago):
[   30.424167]  test_alloc+0x2a6/0x10f0
[   30.424317]  test_corruption+0x1cb/0x3e0
[   30.424530]  kunit_try_run_case+0x1a5/0x480
[   30.424822]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.425248]  kthread+0x337/0x6f0
[   30.425511]  ret_from_fork+0x116/0x1d0
[   30.425733]  ret_from_fork_asm+0x1a/0x30
[   30.425996] 
[   30.426150] freed by task 342 on cpu 0 at 30.420429s (0.005715s ago):
[   30.426456]  test_corruption+0x216/0x3e0
[   30.426629]  kunit_try_run_case+0x1a5/0x480
[   30.426951]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.427298]  kthread+0x337/0x6f0
[   30.427526]  ret_from_fork+0x116/0x1d0
[   30.427678]  ret_from_fork_asm+0x1a/0x30
[   30.427826] 
[   30.427950] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) 
[   30.428298] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.428622] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.429206] ==================================================================
[   30.108553] ==================================================================
[   30.108848] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   30.108848] 
[   30.109031] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#110):
[   30.110672]  test_corruption+0x131/0x3e0
[   30.111092]  kunit_try_run_case+0x1a5/0x480
[   30.111551]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.111807]  kthread+0x337/0x6f0
[   30.112146]  ret_from_fork+0x116/0x1d0
[   30.112616]  ret_from_fork_asm+0x1a/0x30
[   30.112826] 
[   30.113153] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.113153] 
[   30.113694] allocated by task 342 on cpu 0 at 30.108397s (0.005291s ago):
[   30.114090]  test_alloc+0x2a6/0x10f0
[   30.114630]  test_corruption+0xe6/0x3e0
[   30.115051]  kunit_try_run_case+0x1a5/0x480
[   30.115297]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.115541]  kthread+0x337/0x6f0
[   30.115699]  ret_from_fork+0x116/0x1d0
[   30.116589]  ret_from_fork_asm+0x1a/0x30
[   30.116841] 
[   30.117059] freed by task 342 on cpu 0 at 30.108455s (0.008599s ago):
[   30.117635]  test_corruption+0x131/0x3e0
[   30.117829]  kunit_try_run_case+0x1a5/0x480
[   30.118040]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.118312]  kthread+0x337/0x6f0
[   30.118505]  ret_from_fork+0x116/0x1d0
[   30.118698]  ret_from_fork_asm+0x1a/0x30
[   30.119492] 
[   30.119731] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) 
[   30.120585] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.120778] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.121145] ==================================================================