Hay
Date
July 3, 2025, 6:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.029108] ==================================================================
[   23.029198] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.029198] 
[   23.029255] Corrupted memory at 0x000000008c7f7a54 [ ! ] (in kfence-#103):
[   23.029368]  test_corruption+0x1d8/0x378
[   23.029415]  kunit_try_run_case+0x170/0x3f0
[   23.029457]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.029501]  kthread+0x328/0x630
[   23.029540]  ret_from_fork+0x10/0x20
[   23.029578] 
[   23.029603] kfence-#103: 0x0000000019f767c4-0x000000007dee6e6f, size=32, cache=test
[   23.029603] 
[   23.029655] allocated by task 313 on cpu 1 at 23.028950s (0.000702s ago):
[   23.029715]  test_alloc+0x230/0x628
[   23.029753]  test_corruption+0x198/0x378
[   23.029793]  kunit_try_run_case+0x170/0x3f0
[   23.029831]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.029874]  kthread+0x328/0x630
[   23.029909]  ret_from_fork+0x10/0x20
[   23.029946] 
[   23.029969] freed by task 313 on cpu 1 at 23.029009s (0.000956s ago):
[   23.030037]  test_corruption+0x1d8/0x378
[   23.030079]  kunit_try_run_case+0x170/0x3f0
[   23.030116]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.030159]  kthread+0x328/0x630
[   23.030192]  ret_from_fork+0x10/0x20
[   23.030233] 
[   23.030275] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.030350] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.030379] Hardware name: linux,dummy-virt (DT)
[   23.030415] ==================================================================
[   22.509249] ==================================================================
[   22.509329] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   22.509329] 
[   22.509391] Corrupted memory at 0x00000000a47ca061 [ ! ] (in kfence-#98):
[   22.509512]  test_corruption+0x284/0x378
[   22.509560]  kunit_try_run_case+0x170/0x3f0
[   22.509602]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.509644]  kthread+0x328/0x630
[   22.509682]  ret_from_fork+0x10/0x20
[   22.509720] 
[   22.509743] kfence-#98: 0x000000003026ad61-0x00000000d54ae3d3, size=32, cache=kmalloc-32
[   22.509743] 
[   22.509797] allocated by task 311 on cpu 1 at 22.508969s (0.000825s ago):
[   22.509857]  test_alloc+0x29c/0x628
[   22.509895]  test_corruption+0x198/0x378
[   22.509934]  kunit_try_run_case+0x170/0x3f0
[   22.509972]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.510014]  kthread+0x328/0x630
[   22.510067]  ret_from_fork+0x10/0x20
[   22.510103] 
[   22.510127] freed by task 311 on cpu 1 at 22.509086s (0.001037s ago):
[   22.510184]  test_corruption+0x284/0x378
[   22.510223]  kunit_try_run_case+0x170/0x3f0
[   22.510262]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.510304]  kthread+0x328/0x630
[   22.510337]  ret_from_fork+0x10/0x20
[   22.510373] 
[   22.510413] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.510487] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.510516] Hardware name: linux,dummy-virt (DT)
[   22.510548] ==================================================================
[   22.405260] ==================================================================
[   22.405371] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.405371] 
[   22.405440] Corrupted memory at 0x000000001f756a7e [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   22.406553]  test_corruption+0x278/0x378
[   22.406607]  kunit_try_run_case+0x170/0x3f0
[   22.406652]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.406696]  kthread+0x328/0x630
[   22.406734]  ret_from_fork+0x10/0x20
[   22.406774] 
[   22.406797] kfence-#97: 0x00000000b28bd14f-0x000000002f821d25, size=32, cache=kmalloc-32
[   22.406797] 
[   22.406854] allocated by task 311 on cpu 1 at 22.404960s (0.001891s ago):
[   22.406916]  test_alloc+0x29c/0x628
[   22.406956]  test_corruption+0xdc/0x378
[   22.406996]  kunit_try_run_case+0x170/0x3f0
[   22.407047]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.407090]  kthread+0x328/0x630
[   22.407125]  ret_from_fork+0x10/0x20
[   22.407163] 
[   22.407185] freed by task 311 on cpu 1 at 22.405080s (0.002101s ago):
[   22.407244]  test_corruption+0x278/0x378
[   22.407284]  kunit_try_run_case+0x170/0x3f0
[   22.407323]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.407366]  kthread+0x328/0x630
[   22.407401]  ret_from_fork+0x10/0x20
[   22.407439] 
[   22.407486] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.407564] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.407593] Hardware name: linux,dummy-virt (DT)
[   22.407630] ==================================================================
[   22.717189] ==================================================================
[   22.717284] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.717284] 
[   22.717345] Corrupted memory at 0x00000000b8b7fac5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   22.717650]  test_corruption+0x120/0x378
[   22.717697]  kunit_try_run_case+0x170/0x3f0
[   22.717740]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.717784]  kthread+0x328/0x630
[   22.717823]  ret_from_fork+0x10/0x20
[   22.717864] 
[   22.717887] kfence-#100: 0x00000000098356a6-0x000000007adc77bc, size=32, cache=test
[   22.717887] 
[   22.717939] allocated by task 313 on cpu 1 at 22.717045s (0.000890s ago):
[   22.717999]  test_alloc+0x230/0x628
[   22.718053]  test_corruption+0xdc/0x378
[   22.718093]  kunit_try_run_case+0x170/0x3f0
[   22.718132]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.718175]  kthread+0x328/0x630
[   22.718211]  ret_from_fork+0x10/0x20
[   22.718249] 
[   22.718272] freed by task 313 on cpu 1 at 22.717099s (0.001169s ago):
[   22.718333]  test_corruption+0x120/0x378
[   22.718372]  kunit_try_run_case+0x170/0x3f0
[   22.718411]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.718453]  kthread+0x328/0x630
[   22.718489]  ret_from_fork+0x10/0x20
[   22.718526] 
[   22.718567] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.718641] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.718669] Hardware name: linux,dummy-virt (DT)
[   22.718706] ==================================================================

[   17.456658] ==================================================================
[   17.457031] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.457031] 
[   17.457472] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   17.458032]  test_corruption+0x2d2/0x3e0
[   17.458251]  kunit_try_run_case+0x1a5/0x480
[   17.458496]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.458693]  kthread+0x337/0x6f0
[   17.458869]  ret_from_fork+0x116/0x1d0
[   17.459070]  ret_from_fork_asm+0x1a/0x30
[   17.459266] 
[   17.459343] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.459343] 
[   17.459768] allocated by task 329 on cpu 1 at 17.456499s (0.003268s ago):
[   17.459990]  test_alloc+0x364/0x10f0
[   17.460184]  test_corruption+0xe6/0x3e0
[   17.460374]  kunit_try_run_case+0x1a5/0x480
[   17.460671]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.460848]  kthread+0x337/0x6f0
[   17.461008]  ret_from_fork+0x116/0x1d0
[   17.461212]  ret_from_fork_asm+0x1a/0x30
[   17.461411] 
[   17.461505] freed by task 329 on cpu 1 at 17.456589s (0.004913s ago):
[   17.461716]  test_corruption+0x2d2/0x3e0
[   17.461885]  kunit_try_run_case+0x1a5/0x480
[   17.462124]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.462434]  kthread+0x337/0x6f0
[   17.462598]  ret_from_fork+0x116/0x1d0
[   17.462731]  ret_from_fork_asm+0x1a/0x30
[   17.462904] 
[   17.463025] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.463568] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.463761] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.464055] ==================================================================
[   17.768584] ==================================================================
[   17.768966] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   17.768966] 
[   17.769491] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   17.769813]  test_corruption+0x216/0x3e0
[   17.770023]  kunit_try_run_case+0x1a5/0x480
[   17.770190]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.770488]  kthread+0x337/0x6f0
[   17.770670]  ret_from_fork+0x116/0x1d0
[   17.770866]  ret_from_fork_asm+0x1a/0x30
[   17.771077] 
[   17.771188] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.771188] 
[   17.771595] allocated by task 331 on cpu 1 at 17.768466s (0.003126s ago):
[   17.771854]  test_alloc+0x2a6/0x10f0
[   17.772043]  test_corruption+0x1cb/0x3e0
[   17.772242]  kunit_try_run_case+0x1a5/0x480
[   17.772394]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.772685]  kthread+0x337/0x6f0
[   17.772860]  ret_from_fork+0x116/0x1d0
[   17.773051]  ret_from_fork_asm+0x1a/0x30
[   17.773214] 
[   17.773317] freed by task 331 on cpu 1 at 17.768518s (0.004797s ago):
[   17.773560]  test_corruption+0x216/0x3e0
[   17.773722]  kunit_try_run_case+0x1a5/0x480
[   17.773938]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.774210]  kthread+0x337/0x6f0
[   17.774414]  ret_from_fork+0x116/0x1d0
[   17.774570]  ret_from_fork_asm+0x1a/0x30
[   17.774762] 
[   17.774861] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.775284] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.775485] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.775830] ==================================================================
[   17.664602] ==================================================================
[   17.665036] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.665036] 
[   17.665510] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   17.666669]  test_corruption+0x131/0x3e0
[   17.666890]  kunit_try_run_case+0x1a5/0x480
[   17.667073]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.667583]  kthread+0x337/0x6f0
[   17.667760]  ret_from_fork+0x116/0x1d0
[   17.668075]  ret_from_fork_asm+0x1a/0x30
[   17.668302] 
[   17.668400] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.668400] 
[   17.668782] allocated by task 331 on cpu 1 at 17.664482s (0.004298s ago):
[   17.669085]  test_alloc+0x2a6/0x10f0
[   17.669303]  test_corruption+0xe6/0x3e0
[   17.669481]  kunit_try_run_case+0x1a5/0x480
[   17.669677]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.669917]  kthread+0x337/0x6f0
[   17.670092]  ret_from_fork+0x116/0x1d0
[   17.670240]  ret_from_fork_asm+0x1a/0x30
[   17.670528] 
[   17.670619] freed by task 331 on cpu 1 at 17.664534s (0.006082s ago):
[   17.670900]  test_corruption+0x131/0x3e0
[   17.671056]  kunit_try_run_case+0x1a5/0x480
[   17.671282]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.671543]  kthread+0x337/0x6f0
[   17.671734]  ret_from_fork+0x116/0x1d0
[   17.671906]  ret_from_fork_asm+0x1a/0x30
[   17.672106] 
[   17.672203] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.672804] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.673006] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.673332] ==================================================================
[   17.561203] ==================================================================
[   17.561648] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.561648] 
[   17.561981] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   17.562292]  test_corruption+0x2df/0x3e0
[   17.562442]  kunit_try_run_case+0x1a5/0x480
[   17.562597]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.562773]  kthread+0x337/0x6f0
[   17.562901]  ret_from_fork+0x116/0x1d0
[   17.563038]  ret_from_fork_asm+0x1a/0x30
[   17.563309] 
[   17.563467] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.563467] 
[   17.563795] allocated by task 329 on cpu 1 at 17.560950s (0.002843s ago):
[   17.564017]  test_alloc+0x364/0x10f0
[   17.564217]  test_corruption+0x1cb/0x3e0
[   17.564409]  kunit_try_run_case+0x1a5/0x480
[   17.564690]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.564948]  kthread+0x337/0x6f0
[   17.565951]  ret_from_fork+0x116/0x1d0
[   17.566182]  ret_from_fork_asm+0x1a/0x30
[   17.566433] 
[   17.566517] freed by task 329 on cpu 1 at 17.561035s (0.005479s ago):
[   17.566793]  test_corruption+0x2df/0x3e0
[   17.566970]  kunit_try_run_case+0x1a5/0x480
[   17.567156]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.567546]  kthread+0x337/0x6f0
[   17.567994]  ret_from_fork+0x116/0x1d0
[   17.568200]  ret_from_fork_asm+0x1a/0x30
[   17.568401] 
[   17.568509] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.568873] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.569087] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.569375] ==================================================================