Hay
Date
Dec. 5, 2024, 2:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   39.272266] ==================================================================
[   39.273048] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   39.273048] 
[   39.273971] Corrupted memory at 0x000000003cec2d35 [ ! . . . . . . . . . . . . . . . ] (in kfence-#149):
[   39.277589]  test_corruption+0x278/0x378
[   39.278274]  kunit_try_run_case+0x14c/0x3d0
[   39.278982]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.279792]  kthread+0x24c/0x2d0
[   39.280375]  ret_from_fork+0x10/0x20
[   39.280990] 
[   39.281330] kfence-#149: 0x00000000eab72c63-0x0000000094d5f37c, size=32, cache=kmalloc-32
[   39.281330] 
[   39.282550] allocated by task 300 on cpu 1 at 39.271806s (0.010734s ago):
[   39.283603]  test_alloc+0x298/0x620
[   39.284260]  test_corruption+0xdc/0x378
[   39.284936]  kunit_try_run_case+0x14c/0x3d0
[   39.285602]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.286411]  kthread+0x24c/0x2d0
[   39.287071]  ret_from_fork+0x10/0x20
[   39.287687] 
[   39.288359] freed by task 300 on cpu 1 at 39.271966s (0.016383s ago):
[   39.288948]  test_corruption+0x278/0x378
[   39.289334]  kunit_try_run_case+0x14c/0x3d0
[   39.289752]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.292961]  kthread+0x24c/0x2d0
[   39.293804]  ret_from_fork+0x10/0x20
[   39.295402] 
[   39.296344] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   39.298727] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.300143] Hardware name: linux,dummy-virt (DT)
[   39.301407] ==================================================================
[   39.480280] ==================================================================
[   39.481107] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   39.481107] 
[   39.481824] Corrupted memory at 0x00000000d834d574 [ ! ] (in kfence-#151):
[   39.483181]  test_corruption+0x284/0x378
[   39.483764]  kunit_try_run_case+0x14c/0x3d0
[   39.484510]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.485309]  kthread+0x24c/0x2d0
[   39.485789]  ret_from_fork+0x10/0x20
[   39.486336] 
[   39.486715] kfence-#151: 0x000000005dc35715-0x00000000e38eaca2, size=32, cache=kmalloc-32
[   39.486715] 
[   39.487804] allocated by task 300 on cpu 1 at 39.479810s (0.007985s ago):
[   39.488674]  test_alloc+0x298/0x620
[   39.489156]  test_corruption+0x198/0x378
[   39.489936]  kunit_try_run_case+0x14c/0x3d0
[   39.490569]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.491444]  kthread+0x24c/0x2d0
[   39.491981]  ret_from_fork+0x10/0x20
[   39.492681] 
[   39.493071] freed by task 300 on cpu 1 at 39.479981s (0.013080s ago):
[   39.493891]  test_corruption+0x284/0x378
[   39.494615]  kunit_try_run_case+0x14c/0x3d0
[   39.495365]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.495957]  kthread+0x24c/0x2d0
[   39.496533]  ret_from_fork+0x10/0x20
[   39.497118] 
[   39.497592] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   39.498900] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.499481] Hardware name: linux,dummy-virt (DT)
[   39.500134] ==================================================================
[   39.584117] ==================================================================
[   39.585013] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   39.585013] 
[   39.585901] Corrupted memory at 0x00000000ee26f81d [ ! . . . . . . . . . . . . . . . ] (in kfence-#152):
[   39.588373]  test_corruption+0x120/0x378
[   39.588957]  kunit_try_run_case+0x14c/0x3d0
[   39.589527]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.590417]  kthread+0x24c/0x2d0
[   39.590891]  ret_from_fork+0x10/0x20
[   39.591396] 
[   39.591749] kfence-#152: 0x000000007eea6791-0x00000000ab207009, size=32, cache=test
[   39.591749] 
[   39.592964] allocated by task 302 on cpu 0 at 39.583920s (0.009035s ago):
[   39.593942]  test_alloc+0x22c/0x620
[   39.594462]  test_corruption+0xdc/0x378
[   39.595118]  kunit_try_run_case+0x14c/0x3d0
[   39.595702]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.596503]  kthread+0x24c/0x2d0
[   39.596978]  ret_from_fork+0x10/0x20
[   39.597645] 
[   39.598017] freed by task 302 on cpu 0 at 39.583995s (0.014013s ago):
[   39.598776]  test_corruption+0x120/0x378
[   39.599446]  kunit_try_run_case+0x14c/0x3d0
[   39.600163]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.600851]  kthread+0x24c/0x2d0
[   39.601426]  ret_from_fork+0x10/0x20
[   39.602047] 
[   39.602372] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   39.603589] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.604266] Hardware name: linux,dummy-virt (DT)
[   39.604856] ==================================================================
[   40.000003] ==================================================================
[   40.000824] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   40.000824] 
[   40.001724] Corrupted memory at 0x00000000abcd8030 [ ! ] (in kfence-#156):
[   40.002917]  test_corruption+0x1d8/0x378
[   40.003572]  kunit_try_run_case+0x14c/0x3d0
[   40.004259]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.005005]  kthread+0x24c/0x2d0
[   40.005496]  ret_from_fork+0x10/0x20
[   40.006151] 
[   40.006467] kfence-#156: 0x00000000cceb83fc-0x000000008903fadd, size=32, cache=test
[   40.006467] 
[   40.007577] allocated by task 302 on cpu 0 at 39.999781s (0.007787s ago):
[   40.008460]  test_alloc+0x22c/0x620
[   40.009045]  test_corruption+0x198/0x378
[   40.009682]  kunit_try_run_case+0x14c/0x3d0
[   40.010279]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.011022]  kthread+0x24c/0x2d0
[   40.011449]  ret_from_fork+0x10/0x20
[   40.012175] 
[   40.012568] freed by task 302 on cpu 0 at 39.999859s (0.012700s ago):
[   40.013299]  test_corruption+0x1d8/0x378
[   40.013979]  kunit_try_run_case+0x14c/0x3d0
[   40.014554]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.015338]  kthread+0x24c/0x2d0
[   40.015831]  ret_from_fork+0x10/0x20
[   40.016423] 
[   40.016785] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   40.017986] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.018624] Hardware name: linux,dummy-virt (DT)
[   40.019123] ==================================================================

[   38.493530] ==================================================================
[   38.494428] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   38.494428] 
[   38.495104] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#123):
[   38.496517]  test_corruption+0x132/0x3e0
[   38.497033]  kunit_try_run_case+0x1b3/0x490
[   38.497417]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.497996]  kthread+0x257/0x310
[   38.498451]  ret_from_fork+0x41/0x80
[   38.498878]  ret_from_fork_asm+0x1a/0x30
[   38.499326] 
[   38.499575] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   38.499575] 
[   38.500172] allocated by task 320 on cpu 1 at 38.493375s (0.006793s ago):
[   38.501064]  test_alloc+0x2a7/0x10d0
[   38.501343]  test_corruption+0xe7/0x3e0
[   38.501867]  kunit_try_run_case+0x1b3/0x490
[   38.502393]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.503074]  kthread+0x257/0x310
[   38.503338]  ret_from_fork+0x41/0x80
[   38.503818]  ret_from_fork_asm+0x1a/0x30
[   38.504316] 
[   38.504544] freed by task 320 on cpu 1 at 38.493432s (0.011107s ago):
[   38.505292]  test_corruption+0x132/0x3e0
[   38.505585]  kunit_try_run_case+0x1b3/0x490
[   38.506257]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.506948]  kthread+0x257/0x310
[   38.507360]  ret_from_fork+0x41/0x80
[   38.507648]  ret_from_fork_asm+0x1a/0x30
[   38.508190] 
[   38.508633] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   38.509313] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.509607] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.511021] ==================================================================
[   37.765771] ==================================================================
[   37.766519] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   37.766519] 
[   37.767278] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#116):
[   37.768089]  test_corruption+0x2e1/0x3e0
[   37.768414]  kunit_try_run_case+0x1b3/0x490
[   37.768854]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.769479]  kthread+0x257/0x310
[   37.769826]  ret_from_fork+0x41/0x80
[   37.770146]  ret_from_fork_asm+0x1a/0x30
[   37.770597] 
[   37.770873] kfence-#116: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   37.770873] 
[   37.771722] allocated by task 318 on cpu 1 at 37.765436s (0.006280s ago):
[   37.772353]  test_alloc+0x35f/0x10d0
[   37.772856]  test_corruption+0x1cc/0x3e0
[   37.773252]  kunit_try_run_case+0x1b3/0x490
[   37.773816]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.774215]  kthread+0x257/0x310
[   37.774718]  ret_from_fork+0x41/0x80
[   37.775226]  ret_from_fork_asm+0x1a/0x30
[   37.775605] 
[   37.775880] freed by task 318 on cpu 1 at 37.765554s (0.010322s ago):
[   37.776530]  test_corruption+0x2e1/0x3e0
[   37.776899]  kunit_try_run_case+0x1b3/0x490
[   37.777455]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.778071]  kthread+0x257/0x310
[   37.778337]  ret_from_fork+0x41/0x80
[   37.778618]  ret_from_fork_asm+0x1a/0x30
[   37.779296] 
[   37.779563] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   37.780701] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.781171] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.781845] ==================================================================
[   37.661640] ==================================================================
[   37.662311] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   37.662311] 
[   37.662959] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#115):
[   37.664794]  test_corruption+0x2d4/0x3e0
[   37.665183]  kunit_try_run_case+0x1b3/0x490
[   37.665697]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.666119]  kthread+0x257/0x310
[   37.666576]  ret_from_fork+0x41/0x80
[   37.667016]  ret_from_fork_asm+0x1a/0x30
[   37.667421] 
[   37.667674] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   37.667674] 
[   37.668605] allocated by task 318 on cpu 1 at 37.661338s (0.007263s ago):
[   37.669055]  test_alloc+0x35f/0x10d0
[   37.669525]  test_corruption+0xe7/0x3e0
[   37.670120]  kunit_try_run_case+0x1b3/0x490
[   37.670603]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.671147]  kthread+0x257/0x310
[   37.671549]  ret_from_fork+0x41/0x80
[   37.672025]  ret_from_fork_asm+0x1a/0x30
[   37.672503] 
[   37.672717] freed by task 318 on cpu 1 at 37.661445s (0.011268s ago):
[   37.673304]  test_corruption+0x2d4/0x3e0
[   37.673796]  kunit_try_run_case+0x1b3/0x490
[   37.674215]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.674714]  kthread+0x257/0x310
[   37.675105]  ret_from_fork+0x41/0x80
[   37.675391]  ret_from_fork_asm+0x1a/0x30
[   37.675953] 
[   37.676203] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   37.677077] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.677509] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.678033] ==================================================================
[   38.805556] ==================================================================
[   38.806293] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   38.806293] 
[   38.807017] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#126):
[   38.807643]  test_corruption+0x217/0x3e0
[   38.807990]  kunit_try_run_case+0x1b3/0x490
[   38.808538]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.809185]  kthread+0x257/0x310
[   38.809500]  ret_from_fork+0x41/0x80
[   38.809982]  ret_from_fork_asm+0x1a/0x30
[   38.810335] 
[   38.810595] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   38.810595] 
[   38.811317] allocated by task 320 on cpu 1 at 38.805383s (0.005930s ago):
[   38.812214]  test_alloc+0x2a7/0x10d0
[   38.812532]  test_corruption+0x1cc/0x3e0
[   38.812845]  kunit_try_run_case+0x1b3/0x490
[   38.813426]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.814276]  kthread+0x257/0x310
[   38.814609]  ret_from_fork+0x41/0x80
[   38.814920]  ret_from_fork_asm+0x1a/0x30
[   38.815402] 
[   38.815650] freed by task 320 on cpu 1 at 38.805458s (0.010187s ago):
[   38.816437]  test_corruption+0x217/0x3e0
[   38.816965]  kunit_try_run_case+0x1b3/0x490
[   38.817366]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.817794]  kthread+0x257/0x310
[   38.818063]  ret_from_fork+0x41/0x80
[   38.818550]  ret_from_fork_asm+0x1a/0x30
[   38.819119] 
[   38.819351] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   38.820305] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.820968] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.821466] ==================================================================