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

Environment
qemu-arm64
qemu-x86_64

[   37.109177] ==================================================================
[   37.109288] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   37.109288] 
[   37.109353] Corrupted memory at 0x000000002b61ffad [ ! ] (in kfence-#150):
[   37.109467]  test_corruption+0x1d8/0x378
[   37.109515]  kunit_try_run_case+0x170/0x3f0
[   37.109559]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.109605]  kthread+0x328/0x630
[   37.109643]  ret_from_fork+0x10/0x20
[   37.109684] 
[   37.109707] kfence-#150: 0x000000003a6b315c-0x0000000010e08806, size=32, cache=test
[   37.109707] 
[   37.109762] allocated by task 344 on cpu 0 at 37.109020s (0.000738s ago):
[   37.109822]  test_alloc+0x230/0x628
[   37.109864]  test_corruption+0x198/0x378
[   37.109905]  kunit_try_run_case+0x170/0x3f0
[   37.109946]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.109990]  kthread+0x328/0x630
[   37.110026]  ret_from_fork+0x10/0x20
[   37.110066] 
[   37.110092] freed by task 344 on cpu 0 at 37.109087s (0.001001s ago):
[   37.110154]  test_corruption+0x1d8/0x378
[   37.110195]  kunit_try_run_case+0x170/0x3f0
[   37.110249]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.110294]  kthread+0x328/0x630
[   37.110330]  ret_from_fork+0x10/0x20
[   37.110369] 
[   37.110410] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   37.110489] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.110519] Hardware name: linux,dummy-virt (DT)
[   37.110553] ==================================================================
[   37.005141] ==================================================================
[   37.005254] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   37.005254] 
[   37.005322] Corrupted memory at 0x000000003cf90ef2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#149):
[   37.005636]  test_corruption+0x120/0x378
[   37.005683]  kunit_try_run_case+0x170/0x3f0
[   37.005730]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.005776]  kthread+0x328/0x630
[   37.005815]  ret_from_fork+0x10/0x20
[   37.005857] 
[   37.005881] kfence-#149: 0x00000000d975ab00-0x0000000061478567, size=32, cache=test
[   37.005881] 
[   37.005936] allocated by task 344 on cpu 0 at 37.004983s (0.000950s ago):
[   37.005996]  test_alloc+0x230/0x628
[   37.006038]  test_corruption+0xdc/0x378
[   37.006077]  kunit_try_run_case+0x170/0x3f0
[   37.006116]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.006161]  kthread+0x328/0x630
[   37.006197]  ret_from_fork+0x10/0x20
[   37.006249] 
[   37.006273] freed by task 344 on cpu 0 at 37.005045s (0.001224s ago):
[   37.006337]  test_corruption+0x120/0x378
[   37.006380]  kunit_try_run_case+0x170/0x3f0
[   37.006421]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.006464]  kthread+0x328/0x630
[   37.006499]  ret_from_fork+0x10/0x20
[   37.006539] 
[   37.006583] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   37.006664] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.006694] Hardware name: linux,dummy-virt (DT)
[   37.006729] ==================================================================
[   36.797378] ==================================================================
[   36.797492] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   36.797492] 
[   36.797564] Corrupted memory at 0x00000000cad947eb [ ! . . . . . . . . . . . . . . . ] (in kfence-#147):
[   36.798684]  test_corruption+0x278/0x378
[   36.798741]  kunit_try_run_case+0x170/0x3f0
[   36.798789]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.798836]  kthread+0x328/0x630
[   36.798876]  ret_from_fork+0x10/0x20
[   36.798918] 
[   36.798943] kfence-#147: 0x0000000077976b7d-0x000000000059992a, size=32, cache=kmalloc-32
[   36.798943] 
[   36.799002] allocated by task 342 on cpu 0 at 36.797029s (0.001970s ago):
[   36.799067]  test_alloc+0x29c/0x628
[   36.799108]  test_corruption+0xdc/0x378
[   36.799148]  kunit_try_run_case+0x170/0x3f0
[   36.799190]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.799248]  kthread+0x328/0x630
[   36.799283]  ret_from_fork+0x10/0x20
[   36.799323] 
[   36.799349] freed by task 342 on cpu 0 at 36.797141s (0.002204s ago):
[   36.799411]  test_corruption+0x278/0x378
[   36.799451]  kunit_try_run_case+0x170/0x3f0
[   36.799490]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.799535]  kthread+0x328/0x630
[   36.799570]  ret_from_fork+0x10/0x20
[   36.799607] 
[   36.799658] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   36.799738] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.799769] Hardware name: linux,dummy-virt (DT)
[   36.799803] ==================================================================
[   36.901332] ==================================================================
[   36.901426] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   36.901426] 
[   36.901490] Corrupted memory at 0x00000000fa5cc97d [ ! ] (in kfence-#148):
[   36.901620]  test_corruption+0x284/0x378
[   36.901668]  kunit_try_run_case+0x170/0x3f0
[   36.901713]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.901759]  kthread+0x328/0x630
[   36.901796]  ret_from_fork+0x10/0x20
[   36.901837] 
[   36.901860] kfence-#148: 0x00000000da5376bb-0x00000000af98cba4, size=32, cache=kmalloc-32
[   36.901860] 
[   36.901916] allocated by task 342 on cpu 0 at 36.901033s (0.000879s ago):
[   36.901978]  test_alloc+0x29c/0x628
[   36.902020]  test_corruption+0x198/0x378
[   36.902060]  kunit_try_run_case+0x170/0x3f0
[   36.902101]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.902146]  kthread+0x328/0x630
[   36.902181]  ret_from_fork+0x10/0x20
[   36.902234] 
[   36.902258] freed by task 342 on cpu 0 at 36.901140s (0.001114s ago):
[   36.902321]  test_corruption+0x284/0x378
[   36.902362]  kunit_try_run_case+0x170/0x3f0
[   36.902401]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.902446]  kthread+0x328/0x630
[   36.902480]  ret_from_fork+0x10/0x20
[   36.902519] 
[   36.902562] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   36.902642] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.902671] Hardware name: linux,dummy-virt (DT)
[   36.902705] ==================================================================

[   30.520354] ==================================================================
[   30.520768] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   30.520768] 
[   30.521060] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#108):
[   30.521599]  test_corruption+0x2d2/0x3e0
[   30.521743]  kunit_try_run_case+0x1a5/0x480
[   30.521934]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.522110]  kthread+0x337/0x6f0
[   30.522295]  ret_from_fork+0x116/0x1d0
[   30.522485]  ret_from_fork_asm+0x1a/0x30
[   30.522689] 
[   30.522787] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.522787] 
[   30.523160] allocated by task 359 on cpu 0 at 30.520148s (0.003010s ago):
[   30.523395]  test_alloc+0x364/0x10f0
[   30.523528]  test_corruption+0xe6/0x3e0
[   30.523656]  kunit_try_run_case+0x1a5/0x480
[   30.523795]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.523978]  kthread+0x337/0x6f0
[   30.524095]  ret_from_fork+0x116/0x1d0
[   30.524221]  ret_from_fork_asm+0x1a/0x30
[   30.524438] 
[   30.524535] freed by task 359 on cpu 0 at 30.520232s (0.004301s ago):
[   30.524841]  test_corruption+0x2d2/0x3e0
[   30.524982]  kunit_try_run_case+0x1a5/0x480
[   30.525119]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.525314]  kthread+0x337/0x6f0
[   30.525434]  ret_from_fork+0x116/0x1d0
[   30.525561]  ret_from_fork_asm+0x1a/0x30
[   30.525707] 
[   30.525827] CPU: 0 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   30.526215] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.526357] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.526781] ==================================================================
[   30.624365] ==================================================================
[   30.624760] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   30.624760] 
[   30.625076] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#109):
[   30.625495]  test_corruption+0x2df/0x3e0
[   30.625700]  kunit_try_run_case+0x1a5/0x480
[   30.625904]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.626091]  kthread+0x337/0x6f0
[   30.626215]  ret_from_fork+0x116/0x1d0
[   30.626417]  ret_from_fork_asm+0x1a/0x30
[   30.626617] 
[   30.626705] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.626705] 
[   30.627094] allocated by task 359 on cpu 0 at 30.624099s (0.002992s ago):
[   30.627379]  test_alloc+0x364/0x10f0
[   30.627511]  test_corruption+0x1cb/0x3e0
[   30.627701]  kunit_try_run_case+0x1a5/0x480
[   30.627899]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.628154]  kthread+0x337/0x6f0
[   30.628335]  ret_from_fork+0x116/0x1d0
[   30.628488]  ret_from_fork_asm+0x1a/0x30
[   30.628692] 
[   30.628766] freed by task 359 on cpu 0 at 30.624182s (0.004582s ago):
[   30.629093]  test_corruption+0x2df/0x3e0
[   30.629289]  kunit_try_run_case+0x1a5/0x480
[   30.629430]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.629666]  kthread+0x337/0x6f0
[   30.629869]  ret_from_fork+0x116/0x1d0
[   30.630054]  ret_from_fork_asm+0x1a/0x30
[   30.630261] 
[   30.630355] CPU: 0 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   30.630712] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.630902] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.631279] ==================================================================
[   31.664259] ==================================================================
[   31.664657] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   31.664657] 
[   31.665007] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#119):
[   31.665472]  test_corruption+0x216/0x3e0
[   31.665669]  kunit_try_run_case+0x1a5/0x480
[   31.665867]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.666121]  kthread+0x337/0x6f0
[   31.666306]  ret_from_fork+0x116/0x1d0
[   31.666479]  ret_from_fork_asm+0x1a/0x30
[   31.666690] 
[   31.666785] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.666785] 
[   31.667223] allocated by task 361 on cpu 1 at 31.664098s (0.003122s ago):
[   31.667604]  test_alloc+0x2a6/0x10f0
[   31.667736]  test_corruption+0x1cb/0x3e0
[   31.667939]  kunit_try_run_case+0x1a5/0x480
[   31.668184]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.668446]  kthread+0x337/0x6f0
[   31.668614]  ret_from_fork+0x116/0x1d0
[   31.668752]  ret_from_fork_asm+0x1a/0x30
[   31.668887] 
[   31.669062] freed by task 361 on cpu 1 at 31.664155s (0.004905s ago):
[   31.669427]  test_corruption+0x216/0x3e0
[   31.669616]  kunit_try_run_case+0x1a5/0x480
[   31.669834]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.670077]  kthread+0x337/0x6f0
[   31.670249]  ret_from_fork+0x116/0x1d0
[   31.670519]  ret_from_fork_asm+0x1a/0x30
[   31.670727] 
[   31.670819] CPU: 1 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   31.671618] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.671806] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.672220] ==================================================================
[   30.936200] ==================================================================
[   30.936595] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   30.936595] 
[   30.937054] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#112):
[   30.937765]  test_corruption+0x131/0x3e0
[   30.937946]  kunit_try_run_case+0x1a5/0x480
[   30.938209]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.938385]  kthread+0x337/0x6f0
[   30.938583]  ret_from_fork+0x116/0x1d0
[   30.938910]  ret_from_fork_asm+0x1a/0x30
[   30.939193] 
[   30.939310] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.939310] 
[   30.939720] allocated by task 361 on cpu 1 at 30.936066s (0.003651s ago):
[   30.940056]  test_alloc+0x2a6/0x10f0
[   30.940267]  test_corruption+0xe6/0x3e0
[   30.940456]  kunit_try_run_case+0x1a5/0x480
[   30.940625]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.940790]  kthread+0x337/0x6f0
[   30.940968]  ret_from_fork+0x116/0x1d0
[   30.941152]  ret_from_fork_asm+0x1a/0x30
[   30.941376] 
[   30.941472] freed by task 361 on cpu 1 at 30.936106s (0.005364s ago):
[   30.941785]  test_corruption+0x131/0x3e0
[   30.942005]  kunit_try_run_case+0x1a5/0x480
[   30.942205]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.942392]  kthread+0x337/0x6f0
[   30.942505]  ret_from_fork+0x116/0x1d0
[   30.942627]  ret_from_fork_asm+0x1a/0x30
[   30.942834] 
[   30.942976] CPU: 1 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   30.943563] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.943773] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.944163] ==================================================================