Hay
Date
Nov. 28, 2024, 2:36 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.385969] ==================================================================
[   40.386827] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   40.386827] 
[   40.387519] Corrupted memory at 0x00000000baef86a9 [ ! . . . . . . . . . . . . . . . ] (in kfence-#150):
[   40.390039]  test_corruption+0x120/0x378
[   40.390574]  kunit_try_run_case+0x14c/0x3d0
[   40.391209]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.391891]  kthread+0x24c/0x2d0
[   40.392463]  ret_from_fork+0x10/0x20
[   40.392997] 
[   40.393312] kfence-#150: 0x00000000a07d50d6-0x0000000055df8dff, size=32, cache=test
[   40.393312] 
[   40.394286] allocated by task 301 on cpu 0 at 40.385719s (0.008557s ago):
[   40.394941]  test_alloc+0x22c/0x620
[   40.395523]  test_corruption+0xdc/0x378
[   40.396102]  kunit_try_run_case+0x14c/0x3d0
[   40.396644]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.397377]  kthread+0x24c/0x2d0
[   40.397865]  ret_from_fork+0x10/0x20
[   40.398453] 
[   40.398805] freed by task 301 on cpu 0 at 40.385815s (0.012979s ago):
[   40.399657]  test_corruption+0x120/0x378
[   40.400225]  kunit_try_run_case+0x14c/0x3d0
[   40.400838]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.401576]  kthread+0x24c/0x2d0
[   40.402130]  ret_from_fork+0x10/0x20
[   40.402639] 
[   40.403025] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   40.404057] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.404595] Hardware name: linux,dummy-virt (DT)
[   40.405145] ==================================================================
[   39.970388] ==================================================================
[   39.971259] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   39.971259] 
[   39.972057] Corrupted memory at 0x00000000a5aff81e [ ! . . . . . . . . . . . . . . . ] (in kfence-#146):
[   39.975801]  test_corruption+0x278/0x378
[   39.976342]  kunit_try_run_case+0x14c/0x3d0
[   39.976840]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.977465]  kthread+0x24c/0x2d0
[   39.978062]  ret_from_fork+0x10/0x20
[   39.978649] 
[   39.978999] kfence-#146: 0x00000000d5799c5c-0x00000000a70c4600, size=32, cache=kmalloc-32
[   39.978999] 
[   39.980007] allocated by task 299 on cpu 1 at 39.969845s (0.010151s ago):
[   39.980742]  test_alloc+0x298/0x620
[   39.981311]  test_corruption+0xdc/0x378
[   39.981800]  kunit_try_run_case+0x14c/0x3d0
[   39.982441]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.983052]  kthread+0x24c/0x2d0
[   39.983601]  ret_from_fork+0x10/0x20
[   39.984167] 
[   39.984529] freed by task 299 on cpu 1 at 39.970007s (0.014511s ago):
[   39.985234]  test_corruption+0x278/0x378
[   39.985797]  kunit_try_run_case+0x14c/0x3d0
[   39.986329]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.987038]  kthread+0x24c/0x2d0
[   39.987487]  ret_from_fork+0x10/0x20
[   39.988083] 
[   39.988497] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   39.989496] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.990054] Hardware name: linux,dummy-virt (DT)
[   39.990606] ==================================================================
[   40.282636] ==================================================================
[   40.283499] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   40.283499] 
[   40.284235] Corrupted memory at 0x000000008b5aeb6a [ ! ] (in kfence-#149):
[   40.285441]  test_corruption+0x284/0x378
[   40.286055]  kunit_try_run_case+0x14c/0x3d0
[   40.286657]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.287254]  kthread+0x24c/0x2d0
[   40.287842]  ret_from_fork+0x10/0x20
[   40.288431] 
[   40.288788] kfence-#149: 0x000000002ab31c26-0x00000000f3b055e0, size=32, cache=kmalloc-32
[   40.288788] 
[   40.289719] allocated by task 299 on cpu 1 at 40.282039s (0.007669s ago):
[   40.290523]  test_alloc+0x298/0x620
[   40.291075]  test_corruption+0x198/0x378
[   40.291554]  kunit_try_run_case+0x14c/0x3d0
[   40.292189]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.292911]  kthread+0x24c/0x2d0
[   40.293397]  ret_from_fork+0x10/0x20
[   40.293902] 
[   40.294263] freed by task 299 on cpu 1 at 40.282227s (0.012025s ago):
[   40.295056]  test_corruption+0x284/0x378
[   40.295651]  kunit_try_run_case+0x14c/0x3d0
[   40.296283]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.296946]  kthread+0x24c/0x2d0
[   40.297509]  ret_from_fork+0x10/0x20
[   40.298103] 
[   40.298495] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   40.299420] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.299983] Hardware name: linux,dummy-virt (DT)
[   40.300623] ==================================================================
[   40.490056] ==================================================================
[   40.490887] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   40.490887] 
[   40.491675] Corrupted memory at 0x000000000dd04787 [ ! ] (in kfence-#151):
[   40.492794]  test_corruption+0x1d8/0x378
[   40.493555]  kunit_try_run_case+0x14c/0x3d0
[   40.494278]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.495063]  kthread+0x24c/0x2d0
[   40.495682]  ret_from_fork+0x10/0x20
[   40.496242] 
[   40.496594] kfence-#151: 0x000000005a7c2094-0x00000000bd65774b, size=32, cache=test
[   40.496594] 
[   40.497666] allocated by task 301 on cpu 0 at 40.489809s (0.007847s ago):
[   40.498612]  test_alloc+0x22c/0x620
[   40.499052]  test_corruption+0x198/0x378
[   40.499651]  kunit_try_run_case+0x14c/0x3d0
[   40.500230]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.500901]  kthread+0x24c/0x2d0
[   40.501387]  ret_from_fork+0x10/0x20
[   40.501945] 
[   40.502316] freed by task 301 on cpu 0 at 40.489905s (0.012400s ago):
[   40.503167]  test_corruption+0x1d8/0x378
[   40.503695]  kunit_try_run_case+0x14c/0x3d0
[   40.504290]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.504892]  kthread+0x24c/0x2d0
[   40.505456]  ret_from_fork+0x10/0x20
[   40.505999] 
[   40.506372] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   40.507353] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.507950] Hardware name: linux,dummy-virt (DT)
[   40.508516] ==================================================================

[   31.812201] ==================================================================
[   31.813046] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   31.813046] 
[   31.814257] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#119):
[   31.814894]  test_corruption+0x2e1/0x3e0
[   31.815406]  kunit_try_run_case+0x1b3/0x490
[   31.815963]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.816797]  kthread+0x257/0x310
[   31.817403]  ret_from_fork+0x41/0x80
[   31.818027]  ret_from_fork_asm+0x1a/0x30
[   31.818665] 
[   31.819028] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.819028] 
[   31.819769] allocated by task 319 on cpu 1 at 31.811820s (0.007944s ago):
[   31.820398]  test_alloc+0x35f/0x10d0
[   31.820784]  test_corruption+0x1cc/0x3e0
[   31.821194]  kunit_try_run_case+0x1b3/0x490
[   31.821639]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.822182]  kthread+0x257/0x310
[   31.822509]  ret_from_fork+0x41/0x80
[   31.822777]  ret_from_fork_asm+0x1a/0x30
[   31.823274] 
[   31.823472] freed by task 319 on cpu 1 at 31.811964s (0.011503s ago):
[   31.824034]  test_corruption+0x2e1/0x3e0
[   31.824559]  kunit_try_run_case+0x1b3/0x490
[   31.825030]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.825708]  kthread+0x257/0x310
[   31.825997]  ret_from_fork+0x41/0x80
[   31.826487]  ret_from_fork_asm+0x1a/0x30
[   31.826829] 
[   31.827153] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   31.827944] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.828354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.829266] ==================================================================
[   31.708135] ==================================================================
[   31.708900] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   31.708900] 
[   31.709768] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#118):
[   31.711568]  test_corruption+0x2d4/0x3e0
[   31.712063]  kunit_try_run_case+0x1b3/0x490
[   31.712673]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.713443]  kthread+0x257/0x310
[   31.713750]  ret_from_fork+0x41/0x80
[   31.714166]  ret_from_fork_asm+0x1a/0x30
[   31.714712] 
[   31.714890] kfence-#118: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.714890] 
[   31.715745] allocated by task 319 on cpu 1 at 31.707752s (0.007989s ago):
[   31.716538]  test_alloc+0x35f/0x10d0
[   31.716976]  test_corruption+0xe7/0x3e0
[   31.717529]  kunit_try_run_case+0x1b3/0x490
[   31.717983]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.718541]  kthread+0x257/0x310
[   31.718968]  ret_from_fork+0x41/0x80
[   31.719636]  ret_from_fork_asm+0x1a/0x30
[   31.720008] 
[   31.720348] freed by task 319 on cpu 1 at 31.707895s (0.012448s ago):
[   31.720916]  test_corruption+0x2d4/0x3e0
[   31.721461]  kunit_try_run_case+0x1b3/0x490
[   31.721870]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.722420]  kthread+0x257/0x310
[   31.723075]  ret_from_fork+0x41/0x80
[   31.723471]  ret_from_fork_asm+0x1a/0x30
[   31.723848] 
[   31.724135] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   31.725225] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.725518] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.726875] ==================================================================
[   32.540006] ==================================================================
[   32.540712] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   32.540712] 
[   32.541459] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#126):
[   32.542445]  test_corruption+0x217/0x3e0
[   32.542885]  kunit_try_run_case+0x1b3/0x490
[   32.543359]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.543951]  kthread+0x257/0x310
[   32.544312]  ret_from_fork+0x41/0x80
[   32.544619]  ret_from_fork_asm+0x1a/0x30
[   32.545055] 
[   32.545309] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.545309] 
[   32.546284] allocated by task 321 on cpu 1 at 32.539791s (0.006488s ago):
[   32.547285]  test_alloc+0x2a7/0x10d0
[   32.547596]  test_corruption+0x1cc/0x3e0
[   32.547888]  kunit_try_run_case+0x1b3/0x490
[   32.548535]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.549130]  kthread+0x257/0x310
[   32.549536]  ret_from_fork+0x41/0x80
[   32.549845]  ret_from_fork_asm+0x1a/0x30
[   32.550139] 
[   32.550301] freed by task 321 on cpu 1 at 32.539882s (0.010415s ago):
[   32.551250]  test_corruption+0x217/0x3e0
[   32.551762]  kunit_try_run_case+0x1b3/0x490
[   32.552075]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.552746]  kthread+0x257/0x310
[   32.553202]  ret_from_fork+0x41/0x80
[   32.553679]  ret_from_fork_asm+0x1a/0x30
[   32.554046] 
[   32.554352] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   32.555011] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.555642] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.556301] ==================================================================
[   32.227970] ==================================================================
[   32.228798] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   32.228798] 
[   32.229837] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#123):
[   32.230917]  test_corruption+0x132/0x3e0
[   32.231493]  kunit_try_run_case+0x1b3/0x490
[   32.231924]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.232419]  kthread+0x257/0x310
[   32.232858]  ret_from_fork+0x41/0x80
[   32.233335]  ret_from_fork_asm+0x1a/0x30
[   32.233696] 
[   32.233858] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.233858] 
[   32.234757] allocated by task 321 on cpu 1 at 32.227775s (0.006978s ago):
[   32.235540]  test_alloc+0x2a7/0x10d0
[   32.235845]  test_corruption+0xe7/0x3e0
[   32.236247]  kunit_try_run_case+0x1b3/0x490
[   32.236582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.237047]  kthread+0x257/0x310
[   32.237579]  ret_from_fork+0x41/0x80
[   32.238034]  ret_from_fork_asm+0x1a/0x30
[   32.238578] 
[   32.238762] freed by task 321 on cpu 1 at 32.227851s (0.010907s ago):
[   32.239346]  test_corruption+0x132/0x3e0
[   32.239642]  kunit_try_run_case+0x1b3/0x490
[   32.240196]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.240837]  kthread+0x257/0x310
[   32.241306]  ret_from_fork+0x41/0x80
[   32.241816]  ret_from_fork_asm+0x1a/0x30
[   32.242309] 
[   32.242605] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   32.243454] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.243725] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.244690] ==================================================================