Hay
Date
July 1, 2025, 11:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   24.216304] ==================================================================
[   24.216431] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.216431] 
[   24.216503] Corrupted memory at 0x0000000093a84581 [ ! ] (in kfence-#103):
[   24.216655]  test_corruption+0x284/0x378
[   24.216707]  kunit_try_run_case+0x170/0x3f0
[   24.216762]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.216809]  kthread+0x328/0x630
[   24.216853]  ret_from_fork+0x10/0x20
[   24.216898] 
[   24.216924] kfence-#103: 0x000000007b90885a-0x00000000c8a8ebc3, size=32, cache=kmalloc-32
[   24.216924] 
[   24.216988] allocated by task 312 on cpu 1 at 24.215898s (0.001086s ago):
[   24.217057]  test_alloc+0x29c/0x628
[   24.217101]  test_corruption+0x198/0x378
[   24.217160]  kunit_try_run_case+0x170/0x3f0
[   24.217204]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.217251]  kthread+0x328/0x630
[   24.217298]  ret_from_fork+0x10/0x20
[   24.217340] 
[   24.217366] freed by task 312 on cpu 1 at 24.216070s (0.001292s ago):
[   24.217432]  test_corruption+0x284/0x378
[   24.217476]  kunit_try_run_case+0x170/0x3f0
[   24.217519]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.217567]  kthread+0x328/0x630
[   24.217605]  ret_from_fork+0x10/0x20
[   24.217647] 
[   24.217704] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.217788] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.217821] Hardware name: linux,dummy-virt (DT)
[   24.217860] ==================================================================
[   24.839908] ==================================================================
[   24.840023] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.840023] 
[   24.840093] Corrupted memory at 0x000000009dae348a [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   24.840456]  test_corruption+0x120/0x378
[   24.840506]  kunit_try_run_case+0x170/0x3f0
[   24.840553]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.840603]  kthread+0x328/0x630
[   24.840644]  ret_from_fork+0x10/0x20
[   24.840689] 
[   24.840715] kfence-#109: 0x000000005b2a11d2-0x00000000277e4c14, size=32, cache=test
[   24.840715] 
[   24.840776] allocated by task 314 on cpu 1 at 24.839727s (0.001045s ago):
[   24.840845]  test_alloc+0x230/0x628
[   24.840890]  test_corruption+0xdc/0x378
[   24.840934]  kunit_try_run_case+0x170/0x3f0
[   24.840977]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.841025]  kthread+0x328/0x630
[   24.841065]  ret_from_fork+0x10/0x20
[   24.841107] 
[   24.841144] freed by task 314 on cpu 1 at 24.839810s (0.001330s ago):
[   24.841212]  test_corruption+0x120/0x378
[   24.841256]  kunit_try_run_case+0x170/0x3f0
[   24.841306]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.841352]  kthread+0x328/0x630
[   24.841390]  ret_from_fork+0x10/0x20
[   24.841433] 
[   24.841482] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.841566] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.841599] Hardware name: linux,dummy-virt (DT)
[   24.841638] ==================================================================
[   24.116615] ==================================================================
[   24.116710] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   24.116710] 
[   24.116776] Corrupted memory at 0x00000000bd932d29 [ ! . . . . . . . . . . . . . . . ] (in kfence-#102):
[   24.117102]  test_corruption+0x278/0x378
[   24.117168]  kunit_try_run_case+0x170/0x3f0
[   24.117228]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.117278]  kthread+0x328/0x630
[   24.117393]  ret_from_fork+0x10/0x20
[   24.117512] 
[   24.117576] kfence-#102: 0x00000000d2effed0-0x0000000051dda90e, size=32, cache=kmalloc-32
[   24.117576] 
[   24.117717] allocated by task 312 on cpu 0 at 24.114444s (0.003258s ago):
[   24.117807]  test_alloc+0x29c/0x628
[   24.117883]  test_corruption+0xdc/0x378
[   24.117928]  kunit_try_run_case+0x170/0x3f0
[   24.118005]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.118065]  kthread+0x328/0x630
[   24.118106]  ret_from_fork+0x10/0x20
[   24.118158] 
[   24.118183] freed by task 312 on cpu 0 at 24.115265s (0.002913s ago):
[   24.118260]  test_corruption+0x278/0x378
[   24.118307]  kunit_try_run_case+0x170/0x3f0
[   24.118357]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.118411]  kthread+0x328/0x630
[   24.118460]  ret_from_fork+0x10/0x20
[   24.118514] 
[   24.118575] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.118673] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.118716] Hardware name: linux,dummy-virt (DT)
[   24.118765] ==================================================================
[   24.943905] ==================================================================
[   24.944005] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.944005] 
[   24.944076] Corrupted memory at 0x000000008a040b07 [ ! ] (in kfence-#110):
[   24.944221]  test_corruption+0x1d8/0x378
[   24.944272]  kunit_try_run_case+0x170/0x3f0
[   24.944319]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.944367]  kthread+0x328/0x630
[   24.944411]  ret_from_fork+0x10/0x20
[   24.944453] 
[   24.944480] kfence-#110: 0x00000000b27e048f-0x00000000eea08354, size=32, cache=test
[   24.944480] 
[   24.944539] allocated by task 314 on cpu 1 at 24.943725s (0.000810s ago):
[   24.944606]  test_alloc+0x230/0x628
[   24.944649]  test_corruption+0x198/0x378
[   24.944693]  kunit_try_run_case+0x170/0x3f0
[   24.944735]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.944784]  kthread+0x328/0x630
[   24.944823]  ret_from_fork+0x10/0x20
[   24.944864] 
[   24.944889] freed by task 314 on cpu 1 at 24.943811s (0.001074s ago):
[   24.944955]  test_corruption+0x1d8/0x378
[   24.944999]  kunit_try_run_case+0x170/0x3f0
[   24.945041]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.945089]  kthread+0x328/0x630
[   24.945127]  ret_from_fork+0x10/0x20
[   24.945179] 
[   24.945225] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.945320] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.945353] Hardware name: linux,dummy-virt (DT)
[   24.945392] ==================================================================

[   17.657563] ==================================================================
[   17.658010] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.658010] 
[   17.658392] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   17.658852]  test_corruption+0x2df/0x3e0
[   17.659000]  kunit_try_run_case+0x1a5/0x480
[   17.659329]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.659708]  kthread+0x337/0x6f0
[   17.659836]  ret_from_fork+0x116/0x1d0
[   17.660143]  ret_from_fork_asm+0x1a/0x30
[   17.660343] 
[   17.660463] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.660463] 
[   17.660908] allocated by task 328 on cpu 1 at 17.657275s (0.003629s ago):
[   17.661219]  test_alloc+0x364/0x10f0
[   17.661439]  test_corruption+0x1cb/0x3e0
[   17.661708]  kunit_try_run_case+0x1a5/0x480
[   17.661878]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.662175]  kthread+0x337/0x6f0
[   17.662349]  ret_from_fork+0x116/0x1d0
[   17.662547]  ret_from_fork_asm+0x1a/0x30
[   17.662739] 
[   17.662810] freed by task 328 on cpu 1 at 17.657394s (0.005414s ago):
[   17.663197]  test_corruption+0x2df/0x3e0
[   17.663403]  kunit_try_run_case+0x1a5/0x480
[   17.663633]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.663921]  kthread+0x337/0x6f0
[   17.664120]  ret_from_fork+0x116/0x1d0
[   17.664309]  ret_from_fork_asm+0x1a/0x30
[   17.664520] 
[   17.664653] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.665102] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.665304] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.665762] ==================================================================
[   17.969430] ==================================================================
[   17.970005] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   17.970005] 
[   17.970326] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#82):
[   17.970676]  test_corruption+0x216/0x3e0
[   17.970878]  kunit_try_run_case+0x1a5/0x480
[   17.971097]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.971340]  kthread+0x337/0x6f0
[   17.971478]  ret_from_fork+0x116/0x1d0
[   17.971690]  ret_from_fork_asm+0x1a/0x30
[   17.971899] 
[   17.971995] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.971995] 
[   17.972359] allocated by task 330 on cpu 0 at 17.969287s (0.003070s ago):
[   17.972726]  test_alloc+0x2a6/0x10f0
[   17.972893]  test_corruption+0x1cb/0x3e0
[   17.973032]  kunit_try_run_case+0x1a5/0x480
[   17.973205]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.973476]  kthread+0x337/0x6f0
[   17.973668]  ret_from_fork+0x116/0x1d0
[   17.973848]  ret_from_fork_asm+0x1a/0x30
[   17.974036] 
[   17.974108] freed by task 330 on cpu 0 at 17.969348s (0.004758s ago):
[   17.974318]  test_corruption+0x216/0x3e0
[   17.974515]  kunit_try_run_case+0x1a5/0x480
[   17.974722]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.974988]  kthread+0x337/0x6f0
[   17.975156]  ret_from_fork+0x116/0x1d0
[   17.975315]  ret_from_fork_asm+0x1a/0x30
[   17.975507] 
[   17.975655] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.976071] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.976254] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.976566] ==================================================================
[   17.865437] ==================================================================
[   17.865858] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.865858] 
[   17.866250] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   17.866927]  test_corruption+0x131/0x3e0
[   17.867139]  kunit_try_run_case+0x1a5/0x480
[   17.867355]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.867579]  kthread+0x337/0x6f0
[   17.867754]  ret_from_fork+0x116/0x1d0
[   17.867907]  ret_from_fork_asm+0x1a/0x30
[   17.868107] 
[   17.868211] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.868211] 
[   17.868576] allocated by task 330 on cpu 0 at 17.865282s (0.003292s ago):
[   17.868944]  test_alloc+0x2a6/0x10f0
[   17.869117]  test_corruption+0xe6/0x3e0
[   17.869292]  kunit_try_run_case+0x1a5/0x480
[   17.869507]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.869720]  kthread+0x337/0x6f0
[   17.869847]  ret_from_fork+0x116/0x1d0
[   17.869982]  ret_from_fork_asm+0x1a/0x30
[   17.870182] 
[   17.870281] freed by task 330 on cpu 0 at 17.865342s (0.004937s ago):
[   17.870600]  test_corruption+0x131/0x3e0
[   17.870767]  kunit_try_run_case+0x1a5/0x480
[   17.870913]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.871124]  kthread+0x337/0x6f0
[   17.871294]  ret_from_fork+0x116/0x1d0
[   17.871494]  ret_from_fork_asm+0x1a/0x30
[   17.871732] 
[   17.871860] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.872284] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.872451] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.872722] ==================================================================
[   17.449566] ==================================================================
[   17.450059] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.450059] 
[   17.450506] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#77):
[   17.451748]  test_corruption+0x2d2/0x3e0
[   17.451992]  kunit_try_run_case+0x1a5/0x480
[   17.452214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.452481]  kthread+0x337/0x6f0
[   17.452697]  ret_from_fork+0x116/0x1d0
[   17.453187]  ret_from_fork_asm+0x1a/0x30
[   17.453592] 
[   17.453694] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.453694] 
[   17.454294] allocated by task 328 on cpu 1 at 17.449299s (0.004992s ago):
[   17.454848]  test_alloc+0x364/0x10f0
[   17.455030]  test_corruption+0xe6/0x3e0
[   17.455290]  kunit_try_run_case+0x1a5/0x480
[   17.455524]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.455950]  kthread+0x337/0x6f0
[   17.456212]  ret_from_fork+0x116/0x1d0
[   17.456432]  ret_from_fork_asm+0x1a/0x30
[   17.456793] 
[   17.457059] freed by task 328 on cpu 1 at 17.449406s (0.007597s ago):
[   17.457367]  test_corruption+0x2d2/0x3e0
[   17.457742]  kunit_try_run_case+0x1a5/0x480
[   17.457963]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.458304]  kthread+0x337/0x6f0
[   17.458493]  ret_from_fork+0x116/0x1d0
[   17.458876]  ret_from_fork_asm+0x1a/0x30
[   17.459160] 
[   17.459306] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.459931] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.460229] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.460816] ==================================================================