Hay
Date
Dec. 4, 2024, 3:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   41.843128] ==================================================================
[   41.843903] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   41.843903] 
[   41.844873] Corrupted memory at 0x00000000cd9f54ff [ ! ] (in kfence-#148):
[   41.846109]  test_corruption+0x284/0x378
[   41.846732]  kunit_try_run_case+0x14c/0x3d0
[   41.847350]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.848348]  kthread+0x24c/0x2d0
[   41.848940]  ret_from_fork+0x10/0x20
[   41.849697] 
[   41.850047] kfence-#148: 0x00000000494f9c82-0x00000000489c03c0, size=32, cache=kmalloc-32
[   41.850047] 
[   41.851233] allocated by task 299 on cpu 1 at 41.842652s (0.008570s ago):
[   41.852230]  test_alloc+0x298/0x620
[   41.852881]  test_corruption+0x198/0x378
[   41.853405]  kunit_try_run_case+0x14c/0x3d0
[   41.854068]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.854895]  kthread+0x24c/0x2d0
[   41.855406]  ret_from_fork+0x10/0x20
[   41.856072] 
[   41.856398] freed by task 299 on cpu 1 at 41.842809s (0.013578s ago):
[   41.857376]  test_corruption+0x284/0x378
[   41.858001]  kunit_try_run_case+0x14c/0x3d0
[   41.858540]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.859415]  kthread+0x24c/0x2d0
[   41.859948]  ret_from_fork+0x10/0x20
[   41.860494] 
[   41.860972] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.862139] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.862753] Hardware name: linux,dummy-virt (DT)
[   41.863270] ==================================================================
[   41.739225] ==================================================================
[   41.740150] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   41.740150] 
[   41.740999] Corrupted memory at 0x0000000039ea7e98 [ ! . . . . . . . . . . . . . . . ] (in kfence-#147):
[   41.744530]  test_corruption+0x278/0x378
[   41.745042]  kunit_try_run_case+0x14c/0x3d0
[   41.745743]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.746546]  kthread+0x24c/0x2d0
[   41.747136]  ret_from_fork+0x10/0x20
[   41.747681] 
[   41.748059] kfence-#147: 0x00000000ee66ca16-0x00000000cb77f3b0, size=32, cache=kmalloc-32
[   41.748059] 
[   41.749246] allocated by task 299 on cpu 1 at 41.738772s (0.010464s ago):
[   41.750265]  test_alloc+0x298/0x620
[   41.751033]  test_corruption+0xdc/0x378
[   41.751533]  kunit_try_run_case+0x14c/0x3d0
[   41.752309]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.753114]  kthread+0x24c/0x2d0
[   41.753617]  ret_from_fork+0x10/0x20
[   41.754131] 
[   41.754595] freed by task 299 on cpu 1 at 41.738958s (0.015628s ago):
[   41.755419]  test_corruption+0x278/0x378
[   41.756111]  kunit_try_run_case+0x14c/0x3d0
[   41.756817]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.757751]  kthread+0x24c/0x2d0
[   41.758283]  ret_from_fork+0x10/0x20
[   41.759070] 
[   41.759462] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.760642] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.761321] Hardware name: linux,dummy-virt (DT)
[   41.761880] ==================================================================
[   41.946829] ==================================================================
[   41.947934] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   41.947934] 
[   41.948848] Corrupted memory at 0x00000000212e2aa9 [ ! . . . . . . . . . . . . . . . ] (in kfence-#149):
[   41.951357]  test_corruption+0x120/0x378
[   41.951974]  kunit_try_run_case+0x14c/0x3d0
[   41.952614]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.953447]  kthread+0x24c/0x2d0
[   41.954072]  ret_from_fork+0x10/0x20
[   41.954561] 
[   41.954921] kfence-#149: 0x000000007f718833-0x00000000c354d21f, size=32, cache=test
[   41.954921] 
[   41.955934] allocated by task 301 on cpu 0 at 41.946553s (0.009371s ago):
[   41.956884]  test_alloc+0x22c/0x620
[   41.957512]  test_corruption+0xdc/0x378
[   41.958082]  kunit_try_run_case+0x14c/0x3d0
[   41.958614]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.959435]  kthread+0x24c/0x2d0
[   41.960021]  ret_from_fork+0x10/0x20
[   41.960584] 
[   41.960950] freed by task 301 on cpu 0 at 41.946676s (0.014263s ago):
[   41.961886]  test_corruption+0x120/0x378
[   41.962448]  kunit_try_run_case+0x14c/0x3d0
[   41.962983]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.963785]  kthread+0x24c/0x2d0
[   41.964389]  ret_from_fork+0x10/0x20
[   41.964923] 
[   41.965410] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.966585] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.967249] Hardware name: linux,dummy-virt (DT)
[   41.967878] ==================================================================
[   42.050919] ==================================================================
[   42.051773] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   42.051773] 
[   42.052683] Corrupted memory at 0x00000000e02c6ea8 [ ! ] (in kfence-#150):
[   42.053729]  test_corruption+0x1d8/0x378
[   42.054340]  kunit_try_run_case+0x14c/0x3d0
[   42.054993]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.055732]  kthread+0x24c/0x2d0
[   42.056426]  ret_from_fork+0x10/0x20
[   42.057152] 
[   42.057603] kfence-#150: 0x00000000904db895-0x00000000468e1d0a, size=32, cache=test
[   42.057603] 
[   42.058815] allocated by task 301 on cpu 0 at 42.050660s (0.008145s ago):
[   42.059766]  test_alloc+0x22c/0x620
[   42.060354]  test_corruption+0x198/0x378
[   42.060991]  kunit_try_run_case+0x14c/0x3d0
[   42.061570]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.062441]  kthread+0x24c/0x2d0
[   42.062972]  ret_from_fork+0x10/0x20
[   42.063517] 
[   42.063891] freed by task 301 on cpu 0 at 42.050757s (0.013124s ago):
[   42.064758]  test_corruption+0x1d8/0x378
[   42.065396]  kunit_try_run_case+0x14c/0x3d0
[   42.066089]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.066843]  kthread+0x24c/0x2d0
[   42.067365]  ret_from_fork+0x10/0x20
[   42.068052] 
[   42.068421] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   42.069565] Tainted: [B]=BAD_PAGE, [N]=TEST
[   42.070290] Hardware name: linux,dummy-virt (DT)
[   42.070944] ==================================================================

[   33.528089] ==================================================================
[   33.528971] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   33.528971] 
[   33.529517] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#123):
[   33.530417]  test_corruption+0x217/0x3e0
[   33.530914]  kunit_try_run_case+0x1b3/0x490
[   33.531315]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.531735]  kthread+0x257/0x310
[   33.532199]  ret_from_fork+0x41/0x80
[   33.532770]  ret_from_fork_asm+0x1a/0x30
[   33.533080] 
[   33.533389] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.533389] 
[   33.534138] allocated by task 321 on cpu 1 at 33.527873s (0.006260s ago):
[   33.535004]  test_alloc+0x2a7/0x10d0
[   33.535443]  test_corruption+0x1cc/0x3e0
[   33.535778]  kunit_try_run_case+0x1b3/0x490
[   33.536131]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.536683]  kthread+0x257/0x310
[   33.537163]  ret_from_fork+0x41/0x80
[   33.537567]  ret_from_fork_asm+0x1a/0x30
[   33.538011] 
[   33.538258] freed by task 321 on cpu 1 at 33.527986s (0.010268s ago):
[   33.538676]  test_corruption+0x217/0x3e0
[   33.539031]  kunit_try_run_case+0x1b3/0x490
[   33.539531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.540468]  kthread+0x257/0x310
[   33.540811]  ret_from_fork+0x41/0x80
[   33.541112]  ret_from_fork_asm+0x1a/0x30
[   33.541824] 
[   33.542102] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   33.543265] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.543654] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.544302] ==================================================================
[   33.112224] ==================================================================
[   33.112984] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   33.112984] 
[   33.113699] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#119):
[   33.115359]  test_corruption+0x2d4/0x3e0
[   33.115713]  kunit_try_run_case+0x1b3/0x490
[   33.116130]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.116683]  kthread+0x257/0x310
[   33.117003]  ret_from_fork+0x41/0x80
[   33.117453]  ret_from_fork_asm+0x1a/0x30
[   33.118057] 
[   33.118226] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.118226] 
[   33.119014] allocated by task 319 on cpu 1 at 33.111887s (0.007122s ago):
[   33.119591]  test_alloc+0x35f/0x10d0
[   33.120161]  test_corruption+0xe7/0x3e0
[   33.120733]  kunit_try_run_case+0x1b3/0x490
[   33.121089]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.121713]  kthread+0x257/0x310
[   33.122213]  ret_from_fork+0x41/0x80
[   33.122785]  ret_from_fork_asm+0x1a/0x30
[   33.123172] 
[   33.123394] freed by task 319 on cpu 1 at 33.112020s (0.011369s ago):
[   33.123835]  test_corruption+0x2d4/0x3e0
[   33.124307]  kunit_try_run_case+0x1b3/0x490
[   33.124799]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.125226]  kthread+0x257/0x310
[   33.125618]  ret_from_fork+0x41/0x80
[   33.125928]  ret_from_fork_asm+0x1a/0x30
[   33.126223] 
[   33.126521] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   33.127906] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.128196] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.129156] ==================================================================
[   33.320192] ==================================================================
[   33.320892] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   33.320892] 
[   33.321456] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#121):
[   33.322012]  test_corruption+0x2e1/0x3e0
[   33.322275]  kunit_try_run_case+0x1b3/0x490
[   33.322573]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.323349]  kthread+0x257/0x310
[   33.323905]  ret_from_fork+0x41/0x80
[   33.324406]  ret_from_fork_asm+0x1a/0x30
[   33.324703] 
[   33.324864] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.324864] 
[   33.326118] allocated by task 319 on cpu 1 at 33.319804s (0.006309s ago):
[   33.326853]  test_alloc+0x35f/0x10d0
[   33.327188]  test_corruption+0x1cc/0x3e0
[   33.327817]  kunit_try_run_case+0x1b3/0x490
[   33.328278]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.329017]  kthread+0x257/0x310
[   33.329430]  ret_from_fork+0x41/0x80
[   33.329883]  ret_from_fork_asm+0x1a/0x30
[   33.330464] 
[   33.330701] freed by task 319 on cpu 1 at 33.319980s (0.010717s ago):
[   33.331474]  test_corruption+0x2e1/0x3e0
[   33.331796]  kunit_try_run_case+0x1b3/0x490
[   33.332276]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.332971]  kthread+0x257/0x310
[   33.333379]  ret_from_fork+0x41/0x80
[   33.333862]  ret_from_fork_asm+0x1a/0x30
[   33.334429] 
[   33.334770] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   33.335745] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.336273] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.337145] ==================================================================
[   33.424087] ==================================================================
[   33.424607] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   33.424607] 
[   33.425021] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#122):
[   33.426464]  test_corruption+0x132/0x3e0
[   33.427018]  kunit_try_run_case+0x1b3/0x490
[   33.427593]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.428202]  kthread+0x257/0x310
[   33.428626]  ret_from_fork+0x41/0x80
[   33.429148]  ret_from_fork_asm+0x1a/0x30
[   33.429687] 
[   33.429963] kfence-#122: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.429963] 
[   33.430917] allocated by task 321 on cpu 1 at 33.423875s (0.007038s ago):
[   33.431618]  test_alloc+0x2a7/0x10d0
[   33.432066]  test_corruption+0xe7/0x3e0
[   33.432703]  kunit_try_run_case+0x1b3/0x490
[   33.433076]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.433691]  kthread+0x257/0x310
[   33.434232]  ret_from_fork+0x41/0x80
[   33.434623]  ret_from_fork_asm+0x1a/0x30
[   33.435092] 
[   33.435256] freed by task 321 on cpu 1 at 33.423984s (0.011269s ago):
[   33.436075]  test_corruption+0x132/0x3e0
[   33.436608]  kunit_try_run_case+0x1b3/0x490
[   33.437094]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.437550]  kthread+0x257/0x310
[   33.438066]  ret_from_fork+0x41/0x80
[   33.438626]  ret_from_fork_asm+0x1a/0x30
[   33.438992] 
[   33.439340] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   33.440259] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.440669] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.441452] ==================================================================