Hay
Date
July 2, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.633432] ==================================================================
[   23.633519] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.633519] 
[   23.633591] Corrupted memory at 0x00000000d6c79fad [ ! ] (in kfence-#99):
[   23.633717]  test_corruption+0x284/0x378
[   23.633765]  kunit_try_run_case+0x170/0x3f0
[   23.633809]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.633853]  kthread+0x328/0x630
[   23.633890]  ret_from_fork+0x10/0x20
[   23.633932] 
[   23.633955] kfence-#99: 0x00000000b8922299-0x000000004d905a5e, size=32, cache=kmalloc-32
[   23.633955] 
[   23.634009] allocated by task 311 on cpu 0 at 23.633169s (0.000837s ago):
[   23.634068]  test_alloc+0x29c/0x628
[   23.634109]  test_corruption+0x198/0x378
[   23.634148]  kunit_try_run_case+0x170/0x3f0
[   23.634187]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.634231]  kthread+0x328/0x630
[   23.634266]  ret_from_fork+0x10/0x20
[   23.634304] 
[   23.634327] freed by task 311 on cpu 0 at 23.633270s (0.001053s ago):
[   23.634386]  test_corruption+0x284/0x378
[   23.634424]  kunit_try_run_case+0x170/0x3f0
[   23.634464]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.634506]  kthread+0x328/0x630
[   23.634540]  ret_from_fork+0x10/0x20
[   23.634589] 
[   23.634629] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.634704] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.634732] Hardware name: linux,dummy-virt (DT)
[   23.634767] ==================================================================
[   24.049309] ==================================================================
[   24.049408] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.049408] 
[   24.049470] Corrupted memory at 0x0000000028f83f25 [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   24.049790]  test_corruption+0x120/0x378
[   24.049837]  kunit_try_run_case+0x170/0x3f0
[   24.049882]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.049927]  kthread+0x328/0x630
[   24.049967]  ret_from_fork+0x10/0x20
[   24.050007] 
[   24.050030] kfence-#103: 0x00000000555c090b-0x00000000e555f847, size=32, cache=test
[   24.050030] 
[   24.050087] allocated by task 313 on cpu 0 at 24.049143s (0.000940s ago):
[   24.050146]  test_alloc+0x230/0x628
[   24.050187]  test_corruption+0xdc/0x378
[   24.050228]  kunit_try_run_case+0x170/0x3f0
[   24.050267]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.050310]  kthread+0x328/0x630
[   24.050344]  ret_from_fork+0x10/0x20
[   24.050382] 
[   24.050406] freed by task 313 on cpu 0 at 24.049202s (0.001201s ago):
[   24.050465]  test_corruption+0x120/0x378
[   24.050505]  kunit_try_run_case+0x170/0x3f0
[   24.050544]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.050596]  kthread+0x328/0x630
[   24.050632]  ret_from_fork+0x10/0x20
[   24.050672] 
[   24.050714] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.050795] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.050823] Hardware name: linux,dummy-virt (DT)
[   24.050860] ==================================================================
[   23.529386] ==================================================================
[   23.529487] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.529487] 
[   23.529550] Corrupted memory at 0x000000001f32d527 [ ! . . . . . . . . . . . . . . . ] (in kfence-#98):
[   23.530683]  test_corruption+0x278/0x378
[   23.530736]  kunit_try_run_case+0x170/0x3f0
[   23.530782]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.530828]  kthread+0x328/0x630
[   23.530873]  ret_from_fork+0x10/0x20
[   23.530912] 
[   23.530935] kfence-#98: 0x00000000d954ffee-0x00000000763204cc, size=32, cache=kmalloc-32
[   23.530935] 
[   23.530991] allocated by task 311 on cpu 0 at 23.529102s (0.001885s ago):
[   23.531054]  test_alloc+0x29c/0x628
[   23.531094]  test_corruption+0xdc/0x378
[   23.531134]  kunit_try_run_case+0x170/0x3f0
[   23.531173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.531216]  kthread+0x328/0x630
[   23.531252]  ret_from_fork+0x10/0x20
[   23.531290] 
[   23.531313] freed by task 311 on cpu 0 at 23.529214s (0.002095s ago):
[   23.531374]  test_corruption+0x278/0x378
[   23.531412]  kunit_try_run_case+0x170/0x3f0
[   23.531452]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.531496]  kthread+0x328/0x630
[   23.531531]  ret_from_fork+0x10/0x20
[   23.531584] 
[   23.531632] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.531711] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.531741] Hardware name: linux,dummy-virt (DT)
[   23.531778] ==================================================================
[   24.153340] ==================================================================
[   24.153429] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.153429] 
[   24.153488] Corrupted memory at 0x00000000f5809788 [ ! ] (in kfence-#104):
[   24.153618]  test_corruption+0x1d8/0x378
[   24.153664]  kunit_try_run_case+0x170/0x3f0
[   24.153707]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.153753]  kthread+0x328/0x630
[   24.153790]  ret_from_fork+0x10/0x20
[   24.153830] 
[   24.153853] kfence-#104: 0x00000000a367146a-0x00000000eb4442ba, size=32, cache=test
[   24.153853] 
[   24.153906] allocated by task 313 on cpu 0 at 24.153191s (0.000711s ago):
[   24.153966]  test_alloc+0x230/0x628
[   24.154007]  test_corruption+0x198/0x378
[   24.154046]  kunit_try_run_case+0x170/0x3f0
[   24.154085]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.154128]  kthread+0x328/0x630
[   24.154162]  ret_from_fork+0x10/0x20
[   24.154201] 
[   24.154223] freed by task 313 on cpu 0 at 24.153254s (0.000966s ago):
[   24.154283]  test_corruption+0x1d8/0x378
[   24.154321]  kunit_try_run_case+0x170/0x3f0
[   24.154360]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.154401]  kthread+0x328/0x630
[   24.154436]  ret_from_fork+0x10/0x20
[   24.154473] 
[   24.154515] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.154600] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.154630] Hardware name: linux,dummy-virt (DT)
[   24.154664] ==================================================================

[   17.862030] ==================================================================
[   17.862463] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.862463] 
[   17.862949] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   17.863776]  test_corruption+0x2d2/0x3e0
[   17.864115]  kunit_try_run_case+0x1a5/0x480
[   17.864302]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.864583]  kthread+0x337/0x6f0
[   17.864782]  ret_from_fork+0x116/0x1d0
[   17.864986]  ret_from_fork_asm+0x1a/0x30
[   17.865178] 
[   17.865255] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.865255] 
[   17.865672] allocated by task 330 on cpu 1 at 17.861796s (0.003873s ago):
[   17.866037]  test_alloc+0x364/0x10f0
[   17.866228]  test_corruption+0xe6/0x3e0
[   17.866437]  kunit_try_run_case+0x1a5/0x480
[   17.866593]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.866770]  kthread+0x337/0x6f0
[   17.866968]  ret_from_fork+0x116/0x1d0
[   17.867179]  ret_from_fork_asm+0x1a/0x30
[   17.867509] 
[   17.867611] freed by task 330 on cpu 1 at 17.861872s (0.005736s ago):
[   17.867964]  test_corruption+0x2d2/0x3e0
[   17.868142]  kunit_try_run_case+0x1a5/0x480
[   17.868298]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.868588]  kthread+0x337/0x6f0
[   17.868789]  ret_from_fork+0x116/0x1d0
[   17.868962]  ret_from_fork_asm+0x1a/0x30
[   17.869169] 
[   17.869291] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.869777] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.870003] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.870350] ==================================================================
[   18.174122] ==================================================================
[   18.174523] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.174523] 
[   18.174869] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#84):
[   18.175251]  test_corruption+0x216/0x3e0
[   18.175448]  kunit_try_run_case+0x1a5/0x480
[   18.175783]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.175970]  kthread+0x337/0x6f0
[   18.176122]  ret_from_fork+0x116/0x1d0
[   18.176327]  ret_from_fork_asm+0x1a/0x30
[   18.176493] 
[   18.176569] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.176569] 
[   18.177172] allocated by task 332 on cpu 0 at 18.174017s (0.003153s ago):
[   18.177519]  test_alloc+0x2a6/0x10f0
[   18.177681]  test_corruption+0x1cb/0x3e0
[   18.177915]  kunit_try_run_case+0x1a5/0x480
[   18.178078]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.178343]  kthread+0x337/0x6f0
[   18.178518]  ret_from_fork+0x116/0x1d0
[   18.178679]  ret_from_fork_asm+0x1a/0x30
[   18.178817] 
[   18.178889] freed by task 332 on cpu 0 at 18.174055s (0.004832s ago):
[   18.179340]  test_corruption+0x216/0x3e0
[   18.179483]  kunit_try_run_case+0x1a5/0x480
[   18.179634]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.179890]  kthread+0x337/0x6f0
[   18.180079]  ret_from_fork+0x116/0x1d0
[   18.180346]  ret_from_fork_asm+0x1a/0x30
[   18.180719] 
[   18.180835] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.181205] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.181418] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.181792] ==================================================================
[   18.070017] ==================================================================
[   18.070417] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.070417] 
[   18.070874] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#83):
[   18.071474]  test_corruption+0x131/0x3e0
[   18.071662]  kunit_try_run_case+0x1a5/0x480
[   18.071979]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.072193]  kthread+0x337/0x6f0
[   18.072382]  ret_from_fork+0x116/0x1d0
[   18.072557]  ret_from_fork_asm+0x1a/0x30
[   18.072710] 
[   18.072817] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.072817] 
[   18.073286] allocated by task 332 on cpu 0 at 18.069907s (0.003376s ago):
[   18.073594]  test_alloc+0x2a6/0x10f0
[   18.073821]  test_corruption+0xe6/0x3e0
[   18.073980]  kunit_try_run_case+0x1a5/0x480
[   18.074162]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.074350]  kthread+0x337/0x6f0
[   18.074517]  ret_from_fork+0x116/0x1d0
[   18.074704]  ret_from_fork_asm+0x1a/0x30
[   18.074884] 
[   18.074981] freed by task 332 on cpu 0 at 18.069950s (0.005029s ago):
[   18.075200]  test_corruption+0x131/0x3e0
[   18.075407]  kunit_try_run_case+0x1a5/0x480
[   18.075626]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.075963]  kthread+0x337/0x6f0
[   18.076135]  ret_from_fork+0x116/0x1d0
[   18.076291]  ret_from_fork_asm+0x1a/0x30
[   18.076484] 
[   18.076589] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.077044] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.077231] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.077587] ==================================================================
[   17.966146] ==================================================================
[   17.966548] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.966548] 
[   17.966987] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#82):
[   17.967476]  test_corruption+0x2df/0x3e0
[   17.967655]  kunit_try_run_case+0x1a5/0x480
[   17.967924]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.968163]  kthread+0x337/0x6f0
[   17.968354]  ret_from_fork+0x116/0x1d0
[   17.968552]  ret_from_fork_asm+0x1a/0x30
[   17.968742] 
[   17.968831] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.968831] 
[   17.969207] allocated by task 330 on cpu 1 at 17.965902s (0.003303s ago):
[   17.969558]  test_alloc+0x364/0x10f0
[   17.969740]  test_corruption+0x1cb/0x3e0
[   17.969928]  kunit_try_run_case+0x1a5/0x480
[   17.970109]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.970367]  kthread+0x337/0x6f0
[   17.970546]  ret_from_fork+0x116/0x1d0
[   17.970755]  ret_from_fork_asm+0x1a/0x30
[   17.970951] 
[   17.971041] freed by task 330 on cpu 1 at 17.965997s (0.005042s ago):
[   17.971336]  test_corruption+0x2df/0x3e0
[   17.971548]  kunit_try_run_case+0x1a5/0x480
[   17.971787]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.972038]  kthread+0x337/0x6f0
[   17.972207]  ret_from_fork+0x116/0x1d0
[   17.972401]  ret_from_fork_asm+0x1a/0x30
[   17.972539] 
[   17.972630] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.973421] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.973662] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.974081] ==================================================================