Hay
Date
March 19, 2025, 10:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   41.917856] ==================================================================
[   41.918158] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   41.918158] 
[   41.918347] Corrupted memory at 0x00000000cc1884b8 [ ! . . . . . . . . . . . . . . . ] (in kfence-#163):
[   41.922564]  test_corruption+0x278/0x378
[   41.922724]  kunit_try_run_case+0x14c/0x3d0
[   41.922876]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.923044]  kthread+0x318/0x618
[   41.923203]  ret_from_fork+0x10/0x20
[   41.923347] 
[   41.923461] kfence-#163: 0x00000000b0a78912-0x00000000669b60e3, size=32, cache=kmalloc-32
[   41.923461] 
[   41.923744] allocated by task 313 on cpu 0 at 41.917205s (0.006521s ago):
[   41.923964]  test_alloc+0x298/0x620
[   41.924172]  test_corruption+0xdc/0x378
[   41.924366]  kunit_try_run_case+0x14c/0x3d0
[   41.924510]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.924646]  kthread+0x318/0x618
[   41.924843]  ret_from_fork+0x10/0x20
[   41.925258] 
[   41.925445] freed by task 313 on cpu 0 at 41.917361s (0.008074s ago):
[   41.925651]  test_corruption+0x278/0x378
[   41.925791]  kunit_try_run_case+0x14c/0x3d0
[   41.925944]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.926161]  kthread+0x318/0x618
[   41.926297]  ret_from_fork+0x10/0x20
[   41.926426] 
[   41.926538] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT 
[   41.926781] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.926875] Hardware name: linux,dummy-virt (DT)
[   41.926987] ==================================================================
[   42.238757] ==================================================================
[   42.240101] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   42.240101] 
[   42.240793] Corrupted memory at 0x00000000eb06b1f7 [ ! . . . . . . . . . . . . . . . ] (in kfence-#166):
[   42.244563]  test_corruption+0x120/0x378
[   42.244718]  kunit_try_run_case+0x14c/0x3d0
[   42.244865]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.244997]  kthread+0x318/0x618
[   42.245145]  ret_from_fork+0x10/0x20
[   42.245271] 
[   42.245343] kfence-#166: 0x000000008f2e9ee5-0x00000000c7e3dfc9, size=32, cache=test
[   42.245343] 
[   42.245504] allocated by task 315 on cpu 0 at 42.237367s (0.008128s ago):
[   42.245697]  test_alloc+0x22c/0x620
[   42.245822]  test_corruption+0xdc/0x378
[   42.246325]  kunit_try_run_case+0x14c/0x3d0
[   42.247149]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.248358]  kthread+0x318/0x618
[   42.248506]  ret_from_fork+0x10/0x20
[   42.248775] 
[   42.249672] freed by task 315 on cpu 0 at 42.237469s (0.012191s ago):
[   42.250127]  test_corruption+0x120/0x378
[   42.250298]  kunit_try_run_case+0x14c/0x3d0
[   42.250845]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.251845]  kthread+0x318/0x618
[   42.253119]  ret_from_fork+0x10/0x20
[   42.253297] 
[   42.253419] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT 
[   42.253657] Tainted: [B]=BAD_PAGE, [N]=TEST
[   42.254207] Hardware name: linux,dummy-virt (DT)
[   42.254350] ==================================================================
[   42.345944] ==================================================================
[   42.346105] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   42.346105] 
[   42.346267] Corrupted memory at 0x00000000618b69a2 [ ! ] (in kfence-#167):
[   42.346574]  test_corruption+0x1d8/0x378
[   42.346702]  kunit_try_run_case+0x14c/0x3d0
[   42.346844]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.346995]  kthread+0x318/0x618
[   42.347527]  ret_from_fork+0x10/0x20
[   42.347716] 
[   42.347800] kfence-#167: 0x0000000017095a8c-0x00000000e9a73b56, size=32, cache=test
[   42.347800] 
[   42.347964] allocated by task 315 on cpu 0 at 42.345707s (0.002248s ago):
[   42.348582]  test_alloc+0x22c/0x620
[   42.348773]  test_corruption+0x198/0x378
[   42.348910]  kunit_try_run_case+0x14c/0x3d0
[   42.349084]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.349423]  kthread+0x318/0x618
[   42.349575]  ret_from_fork+0x10/0x20
[   42.349964] 
[   42.350129] freed by task 315 on cpu 0 at 42.345804s (0.004293s ago):
[   42.350456]  test_corruption+0x1d8/0x378
[   42.350879]  kunit_try_run_case+0x14c/0x3d0
[   42.351646]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.351821]  kthread+0x318/0x618
[   42.351947]  ret_from_fork+0x10/0x20
[   42.352969] 
[   42.353959] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT 
[   42.354773] Tainted: [B]=BAD_PAGE, [N]=TEST
[   42.355739] Hardware name: linux,dummy-virt (DT)
[   42.356044] ==================================================================
[   42.022428] ==================================================================
[   42.022569] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   42.022569] 
[   42.023289] Corrupted memory at 0x000000006fab689a [ ! ] (in kfence-#164):
[   42.024973]  test_corruption+0x284/0x378
[   42.025674]  kunit_try_run_case+0x14c/0x3d0
[   42.025809]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.026118]  kthread+0x318/0x618
[   42.026357]  ret_from_fork+0x10/0x20
[   42.026611] 
[   42.027224] kfence-#164: 0x0000000080f9e31e-0x000000008c664082, size=32, cache=kmalloc-32
[   42.027224] 
[   42.027556] allocated by task 313 on cpu 0 at 42.021891s (0.005654s ago):
[   42.028242]  test_alloc+0x298/0x620
[   42.028395]  test_corruption+0x198/0x378
[   42.029035]  kunit_try_run_case+0x14c/0x3d0
[   42.029240]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.029480]  kthread+0x318/0x618
[   42.029660]  ret_from_fork+0x10/0x20
[   42.029887] 
[   42.030250] freed by task 313 on cpu 0 at 42.022088s (0.008149s ago):
[   42.030808]  test_corruption+0x284/0x378
[   42.030978]  kunit_try_run_case+0x14c/0x3d0
[   42.031408]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.031585]  kthread+0x318/0x618
[   42.031717]  ret_from_fork+0x10/0x20
[   42.032104] 
[   42.032227] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT 
[   42.033373] Tainted: [B]=BAD_PAGE, [N]=TEST
[   42.033496] Hardware name: linux,dummy-virt (DT)
[   42.033691] ==================================================================

[   31.512236] ==================================================================
[   31.512794] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   31.512794] 
[   31.513394] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#139):
[   31.514303]  test_corruption+0x216/0x3e0
[   31.514616]  kunit_try_run_case+0x1b2/0x490
[   31.515222]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.515577]  kthread+0x323/0x710
[   31.516060]  ret_from_fork+0x41/0x80
[   31.516505]  ret_from_fork_asm+0x1a/0x30
[   31.516933] 
[   31.517150] kfence-#139: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.517150] 
[   31.517932] allocated by task 334 on cpu 1 at 31.512102s (0.005824s ago):
[   31.518485]  test_alloc+0x2a6/0x10d0
[   31.518826]  test_corruption+0x1cb/0x3e0
[   31.519286]  kunit_try_run_case+0x1b2/0x490
[   31.519779]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.520353]  kthread+0x323/0x710
[   31.520717]  ret_from_fork+0x41/0x80
[   31.521188]  ret_from_fork_asm+0x1a/0x30
[   31.521477] 
[   31.521699] freed by task 334 on cpu 1 at 31.512184s (0.009510s ago):
[   31.522410]  test_corruption+0x216/0x3e0
[   31.522932]  kunit_try_run_case+0x1b2/0x490
[   31.523408]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.523870]  kthread+0x323/0x710
[   31.524270]  ret_from_fork+0x41/0x80
[   31.524834]  ret_from_fork_asm+0x1a/0x30
[   31.525299] 
[   31.525606] CPU: 1 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT(voluntary) 
[   31.526332] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.526785] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.528011] ==================================================================
[   31.200469] ==================================================================
[   31.201071] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   31.201071] 
[   31.201634] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#136):
[   31.202448]  test_corruption+0x2df/0x3e0
[   31.203036]  kunit_try_run_case+0x1b2/0x490
[   31.203369]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.203933]  kthread+0x323/0x710
[   31.204343]  ret_from_fork+0x41/0x80
[   31.204706]  ret_from_fork_asm+0x1a/0x30
[   31.205153] 
[   31.205339] kfence-#136: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.205339] 
[   31.206061] allocated by task 332 on cpu 0 at 31.200136s (0.005919s ago):
[   31.206665]  test_alloc+0x35e/0x10d0
[   31.207071]  test_corruption+0x1cb/0x3e0
[   31.207435]  kunit_try_run_case+0x1b2/0x490
[   31.207974]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.208410]  kthread+0x323/0x710
[   31.208757]  ret_from_fork+0x41/0x80
[   31.209142]  ret_from_fork_asm+0x1a/0x30
[   31.209425] 
[   31.209582] freed by task 332 on cpu 0 at 31.200271s (0.009307s ago):
[   31.210253]  test_corruption+0x2df/0x3e0
[   31.210768]  kunit_try_run_case+0x1b2/0x490
[   31.211073]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.211427]  kthread+0x323/0x710
[   31.211716]  ret_from_fork+0x41/0x80
[   31.212155]  ret_from_fork_asm+0x1a/0x30
[   31.212588] 
[   31.212886] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT(voluntary) 
[   31.213994] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.214440] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.215334] ==================================================================
[   30.992388] ==================================================================
[   30.993148] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   30.993148] 
[   30.994094] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#134):
[   30.996038]  test_corruption+0x2d2/0x3e0
[   30.996505]  kunit_try_run_case+0x1b2/0x490
[   30.997206]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.997864]  kthread+0x323/0x710
[   30.998325]  ret_from_fork+0x41/0x80
[   30.998772]  ret_from_fork_asm+0x1a/0x30
[   30.999191] 
[   30.999360] kfence-#134: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.999360] 
[   31.000106] allocated by task 332 on cpu 0 at 30.992097s (0.008004s ago):
[   31.000774]  test_alloc+0x35e/0x10d0
[   31.001240]  test_corruption+0xe6/0x3e0
[   31.001618]  kunit_try_run_case+0x1b2/0x490
[   31.002052]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.002429]  kthread+0x323/0x710
[   31.002884]  ret_from_fork+0x41/0x80
[   31.003321]  ret_from_fork_asm+0x1a/0x30
[   31.003861] 
[   31.004068] freed by task 332 on cpu 0 at 30.992228s (0.011835s ago):
[   31.004630]  test_corruption+0x2d2/0x3e0
[   31.004961]  kunit_try_run_case+0x1b2/0x490
[   31.005449]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.006017]  kthread+0x323/0x710
[   31.006411]  ret_from_fork+0x41/0x80
[   31.006761]  ret_from_fork_asm+0x1a/0x30
[   31.007039] 
[   31.007320] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT(voluntary) 
[   31.008443] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.008799] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.009491] ==================================================================
[   31.408690] ==================================================================
[   31.409470] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   31.409470] 
[   31.410143] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#138):
[   31.411566]  test_corruption+0x131/0x3e0
[   31.412102]  kunit_try_run_case+0x1b2/0x490
[   31.412527]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.413147]  kthread+0x323/0x710
[   31.413642]  ret_from_fork+0x41/0x80
[   31.413948]  ret_from_fork_asm+0x1a/0x30
[   31.414489] 
[   31.414707] kfence-#138: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.414707] 
[   31.415403] allocated by task 334 on cpu 1 at 31.408523s (0.006874s ago):
[   31.416077]  test_alloc+0x2a6/0x10d0
[   31.416442]  test_corruption+0xe6/0x3e0
[   31.416892]  kunit_try_run_case+0x1b2/0x490
[   31.417534]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.417889]  kthread+0x323/0x710
[   31.418445]  ret_from_fork+0x41/0x80
[   31.418880]  ret_from_fork_asm+0x1a/0x30
[   31.419234] 
[   31.419417] freed by task 334 on cpu 1 at 31.408590s (0.010821s ago):
[   31.420205]  test_corruption+0x131/0x3e0
[   31.420544]  kunit_try_run_case+0x1b2/0x490
[   31.420975]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.421608]  kthread+0x323/0x710
[   31.422137]  ret_from_fork+0x41/0x80
[   31.422545]  ret_from_fork_asm+0x1a/0x30
[   31.423074] 
[   31.423408] CPU: 1 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT(voluntary) 
[   31.424797] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.425162] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.425718] ==================================================================