Hay
Date
July 25, 2025, 3:13 a.m.

Environment
qemu-arm64
qemu-x86_64

[   37.903721] ==================================================================
[   37.903817] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   37.903817] 
[   37.903876] Corrupted memory at 0x00000000343c3ed7 [ ! ] (in kfence-#139):
[   37.904006]  test_corruption+0x284/0x378
[   37.904050]  kunit_try_run_case+0x170/0x3f0
[   37.904091]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.904136]  kthread+0x328/0x630
[   37.904174]  ret_from_fork+0x10/0x20
[   37.904215] 
[   37.904238] kfence-#139: 0x0000000007aec171-0x00000000dddfc131, size=32, cache=kmalloc-32
[   37.904238] 
[   37.904291] allocated by task 343 on cpu 1 at 37.903422s (0.000865s ago):
[   37.904356]  test_alloc+0x29c/0x628
[   37.904394]  test_corruption+0x198/0x378
[   37.904433]  kunit_try_run_case+0x170/0x3f0
[   37.904472]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.904514]  kthread+0x328/0x630
[   37.904550]  ret_from_fork+0x10/0x20
[   37.904589] 
[   37.904612] freed by task 343 on cpu 1 at 37.903531s (0.001077s ago):
[   37.904688]  test_corruption+0x284/0x378
[   37.904727]  kunit_try_run_case+0x170/0x3f0
[   37.904765]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.904809]  kthread+0x328/0x630
[   37.904843]  ret_from_fork+0x10/0x20
[   37.904882] 
[   37.904925] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   37.905010] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   37.905042] Hardware name: linux,dummy-virt (DT)
[   37.905075] ==================================================================
[   38.111548] ==================================================================
[   38.111637] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   38.111637] 
[   38.111714] Corrupted memory at 0x00000000f6055e62 [ ! ] (in kfence-#141):
[   38.111837]  test_corruption+0x1d8/0x378
[   38.111881]  kunit_try_run_case+0x170/0x3f0
[   38.111924]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.111968]  kthread+0x328/0x630
[   38.112008]  ret_from_fork+0x10/0x20
[   38.112046] 
[   38.112072] kfence-#141: 0x000000000ffde778-0x00000000506e5d33, size=32, cache=test
[   38.112072] 
[   38.112126] allocated by task 345 on cpu 1 at 38.111396s (0.000726s ago):
[   38.112188]  test_alloc+0x230/0x628
[   38.112226]  test_corruption+0x198/0x378
[   38.112264]  kunit_try_run_case+0x170/0x3f0
[   38.112302]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.112346]  kthread+0x328/0x630
[   38.112382]  ret_from_fork+0x10/0x20
[   38.112420] 
[   38.112443] freed by task 345 on cpu 1 at 38.111458s (0.000981s ago):
[   38.112504]  test_corruption+0x1d8/0x378
[   38.112542]  kunit_try_run_case+0x170/0x3f0
[   38.112581]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.112622]  kthread+0x328/0x630
[   38.112672]  ret_from_fork+0x10/0x20
[   38.112709] 
[   38.112755] CPU: 1 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   38.112838] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   38.112868] Hardware name: linux,dummy-virt (DT)
[   38.112901] ==================================================================
[   37.799971] ==================================================================
[   37.800084] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   37.800084] 
[   37.800149] Corrupted memory at 0x000000004c512947 [ ! . . . . . . . . . . . . . . . ] (in kfence-#138):
[   37.800569]  test_corruption+0x278/0x378
[   37.800614]  kunit_try_run_case+0x170/0x3f0
[   37.800680]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.800726]  kthread+0x328/0x630
[   37.800766]  ret_from_fork+0x10/0x20
[   37.800807] 
[   37.800831] kfence-#138: 0x000000008b114885-0x0000000078c09164, size=32, cache=kmalloc-32
[   37.800831] 
[   37.800886] allocated by task 343 on cpu 1 at 37.799688s (0.001195s ago):
[   37.800948]  test_alloc+0x29c/0x628
[   37.800985]  test_corruption+0xdc/0x378
[   37.801024]  kunit_try_run_case+0x170/0x3f0
[   37.801061]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.801104]  kthread+0x328/0x630
[   37.801139]  ret_from_fork+0x10/0x20
[   37.801178] 
[   37.801201] freed by task 343 on cpu 1 at 37.799795s (0.001402s ago):
[   37.801262]  test_corruption+0x278/0x378
[   37.801299]  kunit_try_run_case+0x170/0x3f0
[   37.801338]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.801379]  kthread+0x328/0x630
[   37.801415]  ret_from_fork+0x10/0x20
[   37.801453] 
[   37.801500] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   37.801584] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   37.801616] Hardware name: linux,dummy-virt (DT)
[   37.801660] ==================================================================
[   38.007532] ==================================================================
[   38.007631] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   38.007631] 
[   38.007707] Corrupted memory at 0x0000000048178b9f [ ! . . . . . . . . . . . . . . . ] (in kfence-#140):
[   38.008025]  test_corruption+0x120/0x378
[   38.008069]  kunit_try_run_case+0x170/0x3f0
[   38.008112]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.008154]  kthread+0x328/0x630
[   38.008193]  ret_from_fork+0x10/0x20
[   38.008232] 
[   38.008255] kfence-#140: 0x00000000a6091d5a-0x00000000eeca93e1, size=32, cache=test
[   38.008255] 
[   38.008310] allocated by task 345 on cpu 1 at 38.007384s (0.000922s ago):
[   38.008371]  test_alloc+0x230/0x628
[   38.008407]  test_corruption+0xdc/0x378
[   38.008445]  kunit_try_run_case+0x170/0x3f0
[   38.008484]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.008528]  kthread+0x328/0x630
[   38.008565]  ret_from_fork+0x10/0x20
[   38.008603] 
[   38.008627] freed by task 345 on cpu 1 at 38.007444s (0.001180s ago):
[   38.008708]  test_corruption+0x120/0x378
[   38.008746]  kunit_try_run_case+0x170/0x3f0
[   38.008786]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.008828]  kthread+0x328/0x630
[   38.008863]  ret_from_fork+0x10/0x20
[   38.008900] 
[   38.008945] CPU: 1 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   38.009026] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   38.009057] Hardware name: linux,dummy-virt (DT)
[   38.009090] ==================================================================

[   32.476168] ==================================================================
[   32.476558] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   32.476558] 
[   32.476859] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#105):
[   32.477357]  test_corruption+0x216/0x3e0
[   32.477508]  kunit_try_run_case+0x1a5/0x480
[   32.477720]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.477997]  kthread+0x337/0x6f0
[   32.478153]  ret_from_fork+0x116/0x1d0
[   32.478289]  ret_from_fork_asm+0x1a/0x30
[   32.478554] 
[   32.478660] kfence-#105: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.478660] 
[   32.479020] allocated by task 362 on cpu 1 at 32.476055s (0.002962s ago):
[   32.479360]  test_alloc+0x2a6/0x10f0
[   32.479521]  test_corruption+0x1cb/0x3e0
[   32.479657]  kunit_try_run_case+0x1a5/0x480
[   32.479834]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.480133]  kthread+0x337/0x6f0
[   32.480293]  ret_from_fork+0x116/0x1d0
[   32.480432]  ret_from_fork_asm+0x1a/0x30
[   32.480571] 
[   32.480663] freed by task 362 on cpu 1 at 32.476091s (0.004570s ago):
[   32.480982]  test_corruption+0x216/0x3e0
[   32.481346]  kunit_try_run_case+0x1a5/0x480
[   32.481510]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.481771]  kthread+0x337/0x6f0
[   32.481916]  ret_from_fork+0x116/0x1d0
[   32.482144]  ret_from_fork_asm+0x1a/0x30
[   32.482307] 
[   32.482420] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   32.482839] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.482990] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.483344] ==================================================================
[   32.060374] ==================================================================
[   32.060775] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   32.060775] 
[   32.061208] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#101):
[   32.062035]  test_corruption+0x2df/0x3e0
[   32.062291]  kunit_try_run_case+0x1a5/0x480
[   32.062665]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.063136]  kthread+0x337/0x6f0
[   32.063419]  ret_from_fork+0x116/0x1d0
[   32.063639]  ret_from_fork_asm+0x1a/0x30
[   32.063969] 
[   32.064135] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.064135] 
[   32.064645] allocated by task 360 on cpu 0 at 32.060133s (0.004509s ago):
[   32.065233]  test_alloc+0x364/0x10f0
[   32.065513]  test_corruption+0x1cb/0x3e0
[   32.065702]  kunit_try_run_case+0x1a5/0x480
[   32.066005]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.066271]  kthread+0x337/0x6f0
[   32.066540]  ret_from_fork+0x116/0x1d0
[   32.066797]  ret_from_fork_asm+0x1a/0x30
[   32.067028] 
[   32.067108] freed by task 360 on cpu 0 at 32.060215s (0.006891s ago):
[   32.067699]  test_corruption+0x2df/0x3e0
[   32.067905]  kunit_try_run_case+0x1a5/0x480
[   32.068273]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.068609]  kthread+0x337/0x6f0
[   32.068868]  ret_from_fork+0x116/0x1d0
[   32.069070]  ret_from_fork_asm+0x1a/0x30
[   32.069435] 
[   32.069564] CPU: 0 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   32.070262] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.070464] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.070982] ==================================================================
[   31.956324] ==================================================================
[   31.956720] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   31.956720] 
[   31.957387] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   31.958212]  test_corruption+0x2d2/0x3e0
[   31.958412]  kunit_try_run_case+0x1a5/0x480
[   31.958624]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.958864]  kthread+0x337/0x6f0
[   31.959501]  ret_from_fork+0x116/0x1d0
[   31.959669]  ret_from_fork_asm+0x1a/0x30
[   31.959899] 
[   31.960026] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.960026] 
[   31.960698] allocated by task 360 on cpu 0 at 31.956085s (0.004610s ago):
[   31.961075]  test_alloc+0x364/0x10f0
[   31.961494]  test_corruption+0xe6/0x3e0
[   31.961782]  kunit_try_run_case+0x1a5/0x480
[   31.962077]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.962315]  kthread+0x337/0x6f0
[   31.962443]  ret_from_fork+0x116/0x1d0
[   31.962814]  ret_from_fork_asm+0x1a/0x30
[   31.963037] 
[   31.963256] freed by task 360 on cpu 0 at 31.956164s (0.007090s ago):
[   31.963568]  test_corruption+0x2d2/0x3e0
[   31.963873]  kunit_try_run_case+0x1a5/0x480
[   31.964226]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.964505]  kthread+0x337/0x6f0
[   31.964785]  ret_from_fork+0x116/0x1d0
[   31.965094]  ret_from_fork_asm+0x1a/0x30
[   31.965294] 
[   31.965402] CPU: 0 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   31.966157] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.966380] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.966893] ==================================================================
[   32.268209] ==================================================================
[   32.268607] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   32.268607] 
[   32.268983] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   32.269603]  test_corruption+0x131/0x3e0
[   32.269753]  kunit_try_run_case+0x1a5/0x480
[   32.269980]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.270337]  kthread+0x337/0x6f0
[   32.270496]  ret_from_fork+0x116/0x1d0
[   32.270682]  ret_from_fork_asm+0x1a/0x30
[   32.270836] 
[   32.270928] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.270928] 
[   32.271374] allocated by task 362 on cpu 1 at 32.268087s (0.003284s ago):
[   32.271683]  test_alloc+0x2a6/0x10f0
[   32.271815]  test_corruption+0xe6/0x3e0
[   32.272026]  kunit_try_run_case+0x1a5/0x480
[   32.272226]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.272406]  kthread+0x337/0x6f0
[   32.272526]  ret_from_fork+0x116/0x1d0
[   32.272717]  ret_from_fork_asm+0x1a/0x30
[   32.272916] 
[   32.273017] freed by task 362 on cpu 1 at 32.268128s (0.004887s ago):
[   32.273355]  test_corruption+0x131/0x3e0
[   32.273537]  kunit_try_run_case+0x1a5/0x480
[   32.273734]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.273970]  kthread+0x337/0x6f0
[   32.274144]  ret_from_fork+0x116/0x1d0
[   32.274277]  ret_from_fork_asm+0x1a/0x30
[   32.274416] 
[   32.274514] CPU: 1 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   32.275073] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.275279] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.275591] ==================================================================