Hay
Date
July 15, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.313688] ==================================================================
[   21.313784] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   21.313784] 
[   21.313848] Corrupted memory at 0x00000000e7564923 [ ! ] (in kfence-#100):
[   21.313976]  test_corruption+0x284/0x378
[   21.314023]  kunit_try_run_case+0x170/0x3f0
[   21.314065]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.314110]  kthread+0x328/0x630
[   21.314148]  ret_from_fork+0x10/0x20
[   21.314202] 
[   21.314225] kfence-#100: 0x0000000035e9610a-0x000000003208943c, size=32, cache=kmalloc-32
[   21.314225] 
[   21.314282] allocated by task 312 on cpu 1 at 21.313411s (0.000867s ago):
[   21.314343]  test_alloc+0x29c/0x628
[   21.314383]  test_corruption+0x198/0x378
[   21.314422]  kunit_try_run_case+0x170/0x3f0
[   21.314462]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.314504]  kthread+0x328/0x630
[   21.314540]  ret_from_fork+0x10/0x20
[   21.314580] 
[   21.314604] freed by task 312 on cpu 1 at 21.313521s (0.001079s ago):
[   21.314663]  test_corruption+0x284/0x378
[   21.314702]  kunit_try_run_case+0x170/0x3f0
[   21.314741]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.314784]  kthread+0x328/0x630
[   21.314818]  ret_from_fork+0x10/0x20
[   21.314856] 
[   21.314900] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.314976] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.315005] Hardware name: linux,dummy-virt (DT)
[   21.315039] ==================================================================
[   21.521553] ==================================================================
[   21.521637] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   21.521637] 
[   21.521696] Corrupted memory at 0x000000000ce38d7b [ ! ] (in kfence-#102):
[   21.521810]  test_corruption+0x1d8/0x378
[   21.521855]  kunit_try_run_case+0x170/0x3f0
[   21.521898]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.521942]  kthread+0x328/0x630
[   21.521981]  ret_from_fork+0x10/0x20
[   21.522020] 
[   21.522044] kfence-#102: 0x000000002c599e00-0x000000004c3b1b94, size=32, cache=test
[   21.522044] 
[   21.522098] allocated by task 314 on cpu 1 at 21.521410s (0.000684s ago):
[   21.522159]  test_alloc+0x230/0x628
[   21.522213]  test_corruption+0x198/0x378
[   21.522253]  kunit_try_run_case+0x170/0x3f0
[   21.522291]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.522335]  kthread+0x328/0x630
[   21.522371]  ret_from_fork+0x10/0x20
[   21.522409] 
[   21.522434] freed by task 314 on cpu 1 at 21.521471s (0.000959s ago):
[   21.522492]  test_corruption+0x1d8/0x378
[   21.522531]  kunit_try_run_case+0x170/0x3f0
[   21.522571]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.522612]  kthread+0x328/0x630
[   21.522647]  ret_from_fork+0x10/0x20
[   21.522684] 
[   21.522725] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.522802] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.522830] Hardware name: linux,dummy-virt (DT)
[   21.522863] ==================================================================
[   21.001722] ==================================================================
[   21.001828] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   21.001828] 
[   21.001898] Corrupted memory at 0x00000000e78db7bc [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   21.003019]  test_corruption+0x278/0x378
[   21.003073]  kunit_try_run_case+0x170/0x3f0
[   21.003120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.003165]  kthread+0x328/0x630
[   21.003216]  ret_from_fork+0x10/0x20
[   21.003255] 
[   21.003280] kfence-#97: 0x000000008ab2bb6a-0x00000000c58ee22e, size=32, cache=kmalloc-32
[   21.003280] 
[   21.003339] allocated by task 312 on cpu 1 at 21.001418s (0.001916s ago):
[   21.003401]  test_alloc+0x29c/0x628
[   21.003442]  test_corruption+0xdc/0x378
[   21.003483]  kunit_try_run_case+0x170/0x3f0
[   21.003523]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.003568]  kthread+0x328/0x630
[   21.003604]  ret_from_fork+0x10/0x20
[   21.003643] 
[   21.003665] freed by task 312 on cpu 1 at 21.001543s (0.002119s ago):
[   21.003725]  test_corruption+0x278/0x378
[   21.003765]  kunit_try_run_case+0x170/0x3f0
[   21.003805]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.003846]  kthread+0x328/0x630
[   21.003881]  ret_from_fork+0x10/0x20
[   21.003921] 
[   21.003971] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.004051] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.004080] Hardware name: linux,dummy-virt (DT)
[   21.004116] ==================================================================
[   21.417512] ==================================================================
[   21.417601] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   21.417601] 
[   21.417663] Corrupted memory at 0x000000001ba10f96 [ ! . . . . . . . . . . . . . . . ] (in kfence-#101):
[   21.417973]  test_corruption+0x120/0x378
[   21.418020]  kunit_try_run_case+0x170/0x3f0
[   21.418065]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.418109]  kthread+0x328/0x630
[   21.418148]  ret_from_fork+0x10/0x20
[   21.418200] 
[   21.418223] kfence-#101: 0x000000000c9d92db-0x000000006f78a71a, size=32, cache=test
[   21.418223] 
[   21.418278] allocated by task 314 on cpu 1 at 21.417366s (0.000909s ago):
[   21.418339]  test_alloc+0x230/0x628
[   21.418379]  test_corruption+0xdc/0x378
[   21.418419]  kunit_try_run_case+0x170/0x3f0
[   21.418458]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.418503]  kthread+0x328/0x630
[   21.418538]  ret_from_fork+0x10/0x20
[   21.418577] 
[   21.418599] freed by task 314 on cpu 1 at 21.417426s (0.001169s ago):
[   21.418659]  test_corruption+0x120/0x378
[   21.418699]  kunit_try_run_case+0x170/0x3f0
[   21.418737]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.418780]  kthread+0x328/0x630
[   21.418815]  ret_from_fork+0x10/0x20
[   21.418855] 
[   21.418911] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.418988] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.419016] Hardware name: linux,dummy-virt (DT)
[   21.419051] ==================================================================

[   19.267751] ==================================================================
[   19.268179] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.268179] 
[   19.268624] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   19.269215]  test_corruption+0x131/0x3e0
[   19.269407]  kunit_try_run_case+0x1a5/0x480
[   19.269640]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.269919]  kthread+0x337/0x6f0
[   19.270051]  ret_from_fork+0x116/0x1d0
[   19.270192]  ret_from_fork_asm+0x1a/0x30
[   19.270396] 
[   19.270494] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.270494] 
[   19.270907] allocated by task 330 on cpu 1 at 19.267630s (0.003275s ago):
[   19.271196]  test_alloc+0x2a6/0x10f0
[   19.271380]  test_corruption+0xe6/0x3e0
[   19.271631]  kunit_try_run_case+0x1a5/0x480
[   19.271851]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.272088]  kthread+0x337/0x6f0
[   19.272264]  ret_from_fork+0x116/0x1d0
[   19.272418]  ret_from_fork_asm+0x1a/0x30
[   19.272561] 
[   19.272637] freed by task 330 on cpu 1 at 19.267677s (0.004958s ago):
[   19.272935]  test_corruption+0x131/0x3e0
[   19.273201]  kunit_try_run_case+0x1a5/0x480
[   19.273403]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.273636]  kthread+0x337/0x6f0
[   19.273770]  ret_from_fork+0x116/0x1d0
[   19.273936]  ret_from_fork_asm+0x1a/0x30
[   19.274145] 
[   19.274268] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.274855] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.275033] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.275400] ==================================================================
[   18.851833] ==================================================================
[   18.852277] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.852277] 
[   18.852645] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   18.853254]  test_corruption+0x2d2/0x3e0
[   18.853415]  kunit_try_run_case+0x1a5/0x480
[   18.853645]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.853878]  kthread+0x337/0x6f0
[   18.854010]  ret_from_fork+0x116/0x1d0
[   18.854204]  ret_from_fork_asm+0x1a/0x30
[   18.854414] 
[   18.854542] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.854542] 
[   18.854898] allocated by task 328 on cpu 1 at 18.851645s (0.003251s ago):
[   18.855228]  test_alloc+0x364/0x10f0
[   18.855393]  test_corruption+0xe6/0x3e0
[   18.855603]  kunit_try_run_case+0x1a5/0x480
[   18.855827]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.856056]  kthread+0x337/0x6f0
[   18.856199]  ret_from_fork+0x116/0x1d0
[   18.856368]  ret_from_fork_asm+0x1a/0x30
[   18.856510] 
[   18.856611] freed by task 328 on cpu 1 at 18.851745s (0.004864s ago):
[   18.857067]  test_corruption+0x2d2/0x3e0
[   18.857286]  kunit_try_run_case+0x1a5/0x480
[   18.857436]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.857613]  kthread+0x337/0x6f0
[   18.857924]  ret_from_fork+0x116/0x1d0
[   18.858121]  ret_from_fork_asm+0x1a/0x30
[   18.858309] 
[   18.858411] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.858739] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.858962] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.859370] ==================================================================
[   18.955917] ==================================================================
[   18.956293] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.956293] 
[   18.956804] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   18.957191]  test_corruption+0x2df/0x3e0
[   18.957356]  kunit_try_run_case+0x1a5/0x480
[   18.957681]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.957952]  kthread+0x337/0x6f0
[   18.958080]  ret_from_fork+0x116/0x1d0
[   18.958273]  ret_from_fork_asm+0x1a/0x30
[   18.958472] 
[   18.958555] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.958555] 
[   18.958905] allocated by task 328 on cpu 1 at 18.955661s (0.003242s ago):
[   18.959217]  test_alloc+0x364/0x10f0
[   18.959404]  test_corruption+0x1cb/0x3e0
[   18.959604]  kunit_try_run_case+0x1a5/0x480
[   18.959752]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.960023]  kthread+0x337/0x6f0
[   18.960201]  ret_from_fork+0x116/0x1d0
[   18.960375]  ret_from_fork_asm+0x1a/0x30
[   18.960564] 
[   18.960639] freed by task 328 on cpu 1 at 18.955766s (0.004871s ago):
[   18.960959]  test_corruption+0x2df/0x3e0
[   18.961104]  kunit_try_run_case+0x1a5/0x480
[   18.961259]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.961449]  kthread+0x337/0x6f0
[   18.961678]  ret_from_fork+0x116/0x1d0
[   18.961874]  ret_from_fork_asm+0x1a/0x30
[   18.962134] 
[   18.962225] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.962686] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.962904] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.963312] ==================================================================
[   19.579780] ==================================================================
[   19.580176] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.580176] 
[   19.580636] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   19.580978]  test_corruption+0x216/0x3e0
[   19.581167]  kunit_try_run_case+0x1a5/0x480
[   19.581388]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.581717]  kthread+0x337/0x6f0
[   19.581891]  ret_from_fork+0x116/0x1d0
[   19.582061]  ret_from_fork_asm+0x1a/0x30
[   19.582279] 
[   19.582387] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.582387] 
[   19.582771] allocated by task 330 on cpu 1 at 19.579655s (0.003114s ago):
[   19.583042]  test_alloc+0x2a6/0x10f0
[   19.583228]  test_corruption+0x1cb/0x3e0
[   19.583410]  kunit_try_run_case+0x1a5/0x480
[   19.583615]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.583879]  kthread+0x337/0x6f0
[   19.584044]  ret_from_fork+0x116/0x1d0
[   19.584228]  ret_from_fork_asm+0x1a/0x30
[   19.584371] 
[   19.584459] freed by task 330 on cpu 1 at 19.579696s (0.004761s ago):
[   19.584778]  test_corruption+0x216/0x3e0
[   19.584979]  kunit_try_run_case+0x1a5/0x480
[   19.585147]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.585325]  kthread+0x337/0x6f0
[   19.585449]  ret_from_fork+0x116/0x1d0
[   19.585816]  ret_from_fork_asm+0x1a/0x30
[   19.586019] 
[   19.586139] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.586692] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.586868] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.587232] ==================================================================