Hay
Date
July 4, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.271634] ==================================================================
[   23.271724] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.271724] 
[   23.271785] Corrupted memory at 0x0000000064acca27 [ ! ] (in kfence-#96):
[   23.271933]  test_corruption+0x284/0x378
[   23.271983]  kunit_try_run_case+0x170/0x3f0
[   23.272025]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.272069]  kthread+0x328/0x630
[   23.272109]  ret_from_fork+0x10/0x20
[   23.272149] 
[   23.272171] kfence-#96: 0x0000000058ba94c9-0x000000008507afef, size=32, cache=kmalloc-32
[   23.272171] 
[   23.272226] allocated by task 311 on cpu 1 at 23.271360s (0.000863s ago):
[   23.272286]  test_alloc+0x29c/0x628
[   23.272326]  test_corruption+0x198/0x378
[   23.272367]  kunit_try_run_case+0x170/0x3f0
[   23.272405]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.272449]  kthread+0x328/0x630
[   23.272485]  ret_from_fork+0x10/0x20
[   23.272522] 
[   23.272545] freed by task 311 on cpu 1 at 23.271464s (0.001077s ago):
[   23.272604]  test_corruption+0x284/0x378
[   23.272645]  kunit_try_run_case+0x170/0x3f0
[   23.272683]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.272725]  kthread+0x328/0x630
[   23.272762]  ret_from_fork+0x10/0x20
[   23.272800] 
[   23.272851] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.272926] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.272954] Hardware name: linux,dummy-virt (DT)
[   23.272989] ==================================================================
[   23.583560] ==================================================================
[   23.583649] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.583649] 
[   23.583710] Corrupted memory at 0x0000000009c28dc2 [ ! ] (in kfence-#99):
[   23.583837]  test_corruption+0x1d8/0x378
[   23.583884]  kunit_try_run_case+0x170/0x3f0
[   23.583938]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.583983]  kthread+0x328/0x630
[   23.584024]  ret_from_fork+0x10/0x20
[   23.584062] 
[   23.584085] kfence-#99: 0x0000000008e7c7b8-0x0000000090cd98d8, size=32, cache=test
[   23.584085] 
[   23.584137] allocated by task 313 on cpu 1 at 23.583415s (0.000719s ago):
[   23.584198]  test_alloc+0x230/0x628
[   23.584239]  test_corruption+0x198/0x378
[   23.584280]  kunit_try_run_case+0x170/0x3f0
[   23.584319]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.584362]  kthread+0x328/0x630
[   23.584397]  ret_from_fork+0x10/0x20
[   23.584436] 
[   23.584458] freed by task 313 on cpu 1 at 23.583476s (0.000979s ago):
[   23.584518]  test_corruption+0x1d8/0x378
[   23.584557]  kunit_try_run_case+0x170/0x3f0
[   23.584597]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.584642]  kthread+0x328/0x630
[   23.584677]  ret_from_fork+0x10/0x20
[   23.584716] 
[   23.584757] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.584841] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.584871] Hardware name: linux,dummy-virt (DT)
[   23.584906] ==================================================================
[   23.063597] ==================================================================
[   23.063689] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.063689] 
[   23.063752] Corrupted memory at 0x00000000ce5b419c [ ! . . . . . . . . . . . . . . . ] (in kfence-#94):
[   23.064080]  test_corruption+0x278/0x378
[   23.064130]  kunit_try_run_case+0x170/0x3f0
[   23.064173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.064219]  kthread+0x328/0x630
[   23.064257]  ret_from_fork+0x10/0x20
[   23.064296] 
[   23.064320] kfence-#94: 0x00000000506c4552-0x0000000057ccfa03, size=32, cache=kmalloc-32
[   23.064320] 
[   23.064375] allocated by task 311 on cpu 1 at 23.063393s (0.000978s ago):
[   23.064437]  test_alloc+0x29c/0x628
[   23.064478]  test_corruption+0xdc/0x378
[   23.064519]  kunit_try_run_case+0x170/0x3f0
[   23.064560]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.064603]  kthread+0x328/0x630
[   23.064638]  ret_from_fork+0x10/0x20
[   23.064677] 
[   23.064700] freed by task 311 on cpu 1 at 23.063505s (0.001192s ago):
[   23.064760]  test_corruption+0x278/0x378
[   23.064800]  kunit_try_run_case+0x170/0x3f0
[   23.064850]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.064894]  kthread+0x328/0x630
[   23.064930]  ret_from_fork+0x10/0x20
[   23.064969] 
[   23.065013] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.065091] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.065120] Hardware name: linux,dummy-virt (DT)
[   23.065157] ==================================================================
[   23.479523] ==================================================================
[   23.479616] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.479616] 
[   23.479680] Corrupted memory at 0x000000002ab86a03 [ ! . . . . . . . . . . . . . . . ] (in kfence-#98):
[   23.480010]  test_corruption+0x120/0x378
[   23.480059]  kunit_try_run_case+0x170/0x3f0
[   23.480104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.480149]  kthread+0x328/0x630
[   23.480189]  ret_from_fork+0x10/0x20
[   23.480229] 
[   23.480252] kfence-#98: 0x0000000054adf5dd-0x000000004df8406a, size=32, cache=test
[   23.480252] 
[   23.480306] allocated by task 313 on cpu 1 at 23.479379s (0.000923s ago):
[   23.480367]  test_alloc+0x230/0x628
[   23.480408]  test_corruption+0xdc/0x378
[   23.480449]  kunit_try_run_case+0x170/0x3f0
[   23.480490]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.480533]  kthread+0x328/0x630
[   23.480570]  ret_from_fork+0x10/0x20
[   23.480608] 
[   23.480631] freed by task 313 on cpu 1 at 23.479434s (0.001193s ago):
[   23.480691]  test_corruption+0x120/0x378
[   23.480730]  kunit_try_run_case+0x170/0x3f0
[   23.480769]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.480822]  kthread+0x328/0x630
[   23.480859]  ret_from_fork+0x10/0x20
[   23.480898] 
[   23.480938] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.481014] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.481042] Hardware name: linux,dummy-virt (DT)
[   23.481075] ==================================================================

[   18.730847] ==================================================================
[   18.731323] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.731323] 
[   18.731673] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#88):
[   18.732824]  test_corruption+0x2d2/0x3e0
[   18.733030]  kunit_try_run_case+0x1a5/0x480
[   18.733240]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.733867]  kthread+0x337/0x6f0
[   18.734139]  ret_from_fork+0x116/0x1d0
[   18.734414]  ret_from_fork_asm+0x1a/0x30
[   18.734768] 
[   18.734875] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.734875] 
[   18.735400] allocated by task 328 on cpu 0 at 18.730580s (0.004818s ago):
[   18.735839]  test_alloc+0x364/0x10f0
[   18.736005]  test_corruption+0xe6/0x3e0
[   18.736177]  kunit_try_run_case+0x1a5/0x480
[   18.736611]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.736826]  kthread+0x337/0x6f0
[   18.737130]  ret_from_fork+0x116/0x1d0
[   18.737384]  ret_from_fork_asm+0x1a/0x30
[   18.737566] 
[   18.737665] freed by task 328 on cpu 0 at 18.730688s (0.006975s ago):
[   18.737942]  test_corruption+0x2d2/0x3e0
[   18.738120]  kunit_try_run_case+0x1a5/0x480
[   18.738679]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.738992]  kthread+0x337/0x6f0
[   18.739125]  ret_from_fork+0x116/0x1d0
[   18.739351]  ret_from_fork_asm+0x1a/0x30
[   18.739691] 
[   18.739827] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.740436] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.740701] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.741064] ==================================================================
[   19.042823] ==================================================================
[   19.043296] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.043296] 
[   19.043694] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#91):
[   19.044098]  test_corruption+0x2df/0x3e0
[   19.044305]  kunit_try_run_case+0x1a5/0x480
[   19.044531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.044713]  kthread+0x337/0x6f0
[   19.044896]  ret_from_fork+0x116/0x1d0
[   19.045089]  ret_from_fork_asm+0x1a/0x30
[   19.045309] 
[   19.045392] kfence-#91: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.045392] 
[   19.045738] allocated by task 328 on cpu 0 at 19.042549s (0.003187s ago):
[   19.045976]  test_alloc+0x364/0x10f0
[   19.046158]  test_corruption+0x1cb/0x3e0
[   19.046371]  kunit_try_run_case+0x1a5/0x480
[   19.046590]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.046834]  kthread+0x337/0x6f0
[   19.047005]  ret_from_fork+0x116/0x1d0
[   19.047189]  ret_from_fork_asm+0x1a/0x30
[   19.047340] 
[   19.047414] freed by task 328 on cpu 0 at 19.042658s (0.004753s ago):
[   19.047708]  test_corruption+0x2df/0x3e0
[   19.047904]  kunit_try_run_case+0x1a5/0x480
[   19.048258]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.048478]  kthread+0x337/0x6f0
[   19.048642]  ret_from_fork+0x116/0x1d0
[   19.048776]  ret_from_fork_asm+0x1a/0x30
[   19.048924] 
[   19.049050] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.049627] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.049828] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.050196] ==================================================================
[   19.250728] ==================================================================
[   19.251120] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.251120] 
[   19.251459] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#93):
[   19.251843]  test_corruption+0x216/0x3e0
[   19.252038]  kunit_try_run_case+0x1a5/0x480
[   19.252190]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.252532]  kthread+0x337/0x6f0
[   19.252691]  ret_from_fork+0x116/0x1d0
[   19.252835]  ret_from_fork_asm+0x1a/0x30
[   19.253203] 
[   19.253355] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.253355] 
[   19.253638] allocated by task 330 on cpu 1 at 19.250596s (0.003040s ago):
[   19.253908]  test_alloc+0x2a6/0x10f0
[   19.254098]  test_corruption+0x1cb/0x3e0
[   19.254310]  kunit_try_run_case+0x1a5/0x480
[   19.254526]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.254885]  kthread+0x337/0x6f0
[   19.255008]  ret_from_fork+0x116/0x1d0
[   19.255173]  ret_from_fork_asm+0x1a/0x30
[   19.255377] 
[   19.255474] freed by task 330 on cpu 1 at 19.250656s (0.004815s ago):
[   19.255868]  test_corruption+0x216/0x3e0
[   19.256006]  kunit_try_run_case+0x1a5/0x480
[   19.256155]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.256652]  kthread+0x337/0x6f0
[   19.256839]  ret_from_fork+0x116/0x1d0
[   19.257034]  ret_from_fork_asm+0x1a/0x30
[   19.257196] 
[   19.257331] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.257834] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.257996] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.258276] ==================================================================
[   19.146713] ==================================================================
[   19.147122] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.147122] 
[   19.147484] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#92):
[   19.148107]  test_corruption+0x131/0x3e0
[   19.148283]  kunit_try_run_case+0x1a5/0x480
[   19.148434]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.148685]  kthread+0x337/0x6f0
[   19.148923]  ret_from_fork+0x116/0x1d0
[   19.149099]  ret_from_fork_asm+0x1a/0x30
[   19.149254] 
[   19.149332] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.149332] 
[   19.150053] allocated by task 330 on cpu 1 at 19.146594s (0.003457s ago):
[   19.150369]  test_alloc+0x2a6/0x10f0
[   19.150558]  test_corruption+0xe6/0x3e0
[   19.150734]  kunit_try_run_case+0x1a5/0x480
[   19.150922]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.151095]  kthread+0x337/0x6f0
[   19.151289]  ret_from_fork+0x116/0x1d0
[   19.151482]  ret_from_fork_asm+0x1a/0x30
[   19.151681] 
[   19.151753] freed by task 330 on cpu 1 at 19.146638s (0.005113s ago):
[   19.151964]  test_corruption+0x131/0x3e0
[   19.152130]  kunit_try_run_case+0x1a5/0x480
[   19.152343]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.152601]  kthread+0x337/0x6f0
[   19.152749]  ret_from_fork+0x116/0x1d0
[   19.152891]  ret_from_fork_asm+0x1a/0x30
[   19.153031] 
[   19.153134] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.154139] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.154326] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.154625] ==================================================================