Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-x86_64

[   55.788313] ==================================================================
[   55.789039] BUG: KFENCE: memory corruption in test_corruption+0x160/0x280
[   55.789039] 
[   55.789803] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#176):
[   55.790564]  test_corruption+0x160/0x280
[   55.791212]  kunit_try_run_case+0x126/0x290
[   55.791861]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   55.792544]  kthread+0x19e/0x1e0
[   55.793078]  ret_from_fork+0x41/0x70
[   55.793515]  ret_from_fork_asm+0x1b/0x30
[   55.794134] 
[   55.794422] kfence-#176: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   55.794422] 
[   55.795255] allocated by task 271 on cpu 1 at 55.787832s:
[   55.795850]  test_alloc+0x1e8/0x8d0
[   55.796372]  test_corruption+0x133/0x280
[   55.796962]  kunit_try_run_case+0x126/0x290
[   55.797565]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   55.798185]  kthread+0x19e/0x1e0
[   55.798623]  ret_from_fork+0x41/0x70
[   55.799168]  ret_from_fork_asm+0x1b/0x30
[   55.799725] 
[   55.800058] freed by task 271 on cpu 1 at 55.788112s:
[   55.800777]  test_corruption+0x160/0x280
[   55.801340]  kunit_try_run_case+0x126/0x290
[   55.801964]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   55.802490]  kthread+0x19e/0x1e0
[   55.803056]  ret_from_fork+0x41/0x70
[   55.803609]  ret_from_fork_asm+0x1b/0x30
[   55.804186] 
[   55.804489] CPU: 1 PID: 271 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   55.805305] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   55.806113] ==================================================================
[   54.020341] ==================================================================
[   54.021164] BUG: KFENCE: memory corruption in test_corruption+0x1c0/0x280
[   54.021164] 
[   54.022712] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#159):
[   54.025308]  test_corruption+0x1c0/0x280
[   54.025896]  kunit_try_run_case+0x126/0x290
[   54.026431]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   54.027273]  kthread+0x19e/0x1e0
[   54.027829]  ret_from_fork+0x41/0x70
[   54.028456]  ret_from_fork_asm+0x1b/0x30
[   54.029299] 
[   54.029687] kfence-#159: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   54.029687] 
[   54.030518] allocated by task 269 on cpu 1 at 54.019725s:
[   54.031198]  test_alloc+0x2a0/0x8d0
[   54.031714]  test_corruption+0xdb/0x280
[   54.032298]  kunit_try_run_case+0x126/0x290
[   54.032866]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   54.033566]  kthread+0x19e/0x1e0
[   54.034201]  ret_from_fork+0x41/0x70
[   54.034621]  ret_from_fork_asm+0x1b/0x30
[   54.035172] 
[   54.035543] freed by task 269 on cpu 1 at 54.019919s:
[   54.036467]  test_corruption+0x1c0/0x280
[   54.036863]  kunit_try_run_case+0x126/0x290
[   54.037353]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   54.038233]  kthread+0x19e/0x1e0
[   54.038753]  ret_from_fork+0x41/0x70
[   54.039286]  ret_from_fork_asm+0x1b/0x30
[   54.039964] 
[   54.040211] CPU: 1 PID: 269 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   54.040845] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   54.041897] ==================================================================
[   54.748458] ==================================================================
[   54.749120] BUG: KFENCE: memory corruption in test_corruption+0x20f/0x280
[   54.749120] 
[   54.750027] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#166):
[   54.750769]  test_corruption+0x20f/0x280
[   54.751363]  kunit_try_run_case+0x126/0x290
[   54.752356]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   54.752981]  kthread+0x19e/0x1e0
[   54.753501]  ret_from_fork+0x41/0x70
[   54.754097]  ret_from_fork_asm+0x1b/0x30
[   54.754646] 
[   54.755021] kfence-#166: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   54.755021] 
[   54.756088] allocated by task 269 on cpu 1 at 54.747841s:
[   54.756919]  test_alloc+0x2a0/0x8d0
[   54.757484]  test_corruption+0x133/0x280
[   54.758027]  kunit_try_run_case+0x126/0x290
[   54.758470]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   54.759279]  kthread+0x19e/0x1e0
[   54.759808]  ret_from_fork+0x41/0x70
[   54.760362]  ret_from_fork_asm+0x1b/0x30
[   54.760995] 
[   54.761274] freed by task 269 on cpu 1 at 54.748151s:
[   54.762130]  test_corruption+0x20f/0x280
[   54.762642]  kunit_try_run_case+0x126/0x290
[   54.763186]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   54.763946]  kthread+0x19e/0x1e0
[   54.764459]  ret_from_fork+0x41/0x70
[   54.765043]  ret_from_fork_asm+0x1b/0x30
[   54.765496] 
[   54.765886] CPU: 1 PID: 269 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   54.766808] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   54.767637] ==================================================================
[   55.372266] ==================================================================
[   55.373010] BUG: KFENCE: memory corruption in test_corruption+0x10c/0x280
[   55.373010] 
[   55.373724] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#172):
[   55.375517]  test_corruption+0x10c/0x280
[   55.376137]  kunit_try_run_case+0x126/0x290
[   55.376778]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   55.377497]  kthread+0x19e/0x1e0
[   55.377955]  ret_from_fork+0x41/0x70
[   55.378491]  ret_from_fork_asm+0x1b/0x30
[   55.378923] 
[   55.379301] kfence-#172: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   55.379301] 
[   55.380317] allocated by task 271 on cpu 1 at 55.371793s:
[   55.381077]  test_alloc+0x1e8/0x8d0
[   55.381537]  test_corruption+0xdb/0x280
[   55.382121]  kunit_try_run_case+0x126/0x290
[   55.382785]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   55.383472]  kthread+0x19e/0x1e0
[   55.384220]  ret_from_fork+0x41/0x70
[   55.385006]  ret_from_fork_asm+0x1b/0x30
[   55.385517] 
[   55.385817] freed by task 271 on cpu 1 at 55.372085s:
[   55.386473]  test_corruption+0x10c/0x280
[   55.387074]  kunit_try_run_case+0x126/0x290
[   55.387694]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   55.388292]  kthread+0x19e/0x1e0
[   55.388880]  ret_from_fork+0x41/0x70
[   55.389417]  ret_from_fork_asm+0x1b/0x30
[   55.389903] 
[   55.390268] CPU: 1 PID: 271 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   55.391157] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   55.392088] ==================================================================