Hay
Date
Nov. 20, 2024, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   46.862500] ==================================================================
[   46.863456] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   46.863456] 
[   46.864873] Corrupted memory at 0x0000000024d0661b [ ! . . . . . . . . . . . . . . . ] (in kfence-#183):
[   46.867210]  test_corruption+0x120/0x378
[   46.867767]  kunit_try_run_case+0x14c/0x3d0
[   46.868332]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.868986]  kthread+0x24c/0x2d0
[   46.869990]  ret_from_fork+0x10/0x20
[   46.870467] 
[   46.870956] kfence-#183: 0x000000000f9b6d3f-0x00000000410c48d0, size=32, cache=test
[   46.870956] 
[   46.872067] allocated by task 302 on cpu 0 at 46.862188s (0.009868s ago):
[   46.873188]  test_alloc+0x22c/0x620
[   46.873679]  test_corruption+0xdc/0x378
[   46.874203]  kunit_try_run_case+0x14c/0x3d0
[   46.875044]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.875884]  kthread+0x24c/0x2d0
[   46.876536]  ret_from_fork+0x10/0x20
[   46.877214] 
[   46.877692] freed by task 302 on cpu 0 at 46.862309s (0.015375s ago):
[   46.878608]  test_corruption+0x120/0x378
[   46.879268]  kunit_try_run_case+0x14c/0x3d0
[   46.879832]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.880901]  kthread+0x24c/0x2d0
[   46.881327]  ret_from_fork+0x10/0x20
[   46.882027] 
[   46.882593] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   46.883768] Tainted: [B]=BAD_PAGE, [N]=TEST
[   46.884470] Hardware name: linux,dummy-virt (DT)
[   46.884990] ==================================================================
[   46.654736] ==================================================================
[   46.655612] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   46.655612] 
[   46.656266] Corrupted memory at 0x000000007fc18f3b [ ! ] (in kfence-#181):
[   46.657529]  test_corruption+0x284/0x378
[   46.658172]  kunit_try_run_case+0x14c/0x3d0
[   46.658853]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.659665]  kthread+0x24c/0x2d0
[   46.660217]  ret_from_fork+0x10/0x20
[   46.660811] 
[   46.661152] kfence-#181: 0x0000000094907e0c-0x00000000be35e98b, size=32, cache=kmalloc-32
[   46.661152] 
[   46.662237] allocated by task 300 on cpu 0 at 46.654210s (0.008016s ago):
[   46.663102]  test_alloc+0x298/0x620
[   46.663661]  test_corruption+0x198/0x378
[   46.664238]  kunit_try_run_case+0x14c/0x3d0
[   46.664789]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.665567]  kthread+0x24c/0x2d0
[   46.666097]  ret_from_fork+0x10/0x20
[   46.666597] 
[   46.666948] freed by task 300 on cpu 0 at 46.654379s (0.012557s ago):
[   46.667667]  test_corruption+0x284/0x378
[   46.668261]  kunit_try_run_case+0x14c/0x3d0
[   46.668886]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.669612]  kthread+0x24c/0x2d0
[   46.670088]  ret_from_fork+0x10/0x20
[   46.670654] 
[   46.671036] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   46.672186] Tainted: [B]=BAD_PAGE, [N]=TEST
[   46.672788] Hardware name: linux,dummy-virt (DT)
[   46.673376] ==================================================================
[   46.446612] ==================================================================
[   46.447351] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   46.447351] 
[   46.448188] Corrupted memory at 0x0000000046c0e89f [ ! . . . . . . . . . . . . . . . ] (in kfence-#179):
[   46.450519]  test_corruption+0x278/0x378
[   46.450982]  kunit_try_run_case+0x14c/0x3d0
[   46.451617]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.452240]  kthread+0x24c/0x2d0
[   46.452799]  ret_from_fork+0x10/0x20
[   46.453316] 
[   46.453647] kfence-#179: 0x0000000027c91dbc-0x00000000004a9dae, size=32, cache=kmalloc-32
[   46.453647] 
[   46.454566] allocated by task 300 on cpu 0 at 46.446236s (0.008317s ago):
[   46.455493]  test_alloc+0x298/0x620
[   46.455925]  test_corruption+0xdc/0x378
[   46.456526]  kunit_try_run_case+0x14c/0x3d0
[   46.457155]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.457838]  kthread+0x24c/0x2d0
[   46.458308]  ret_from_fork+0x10/0x20
[   46.458888] 
[   46.459240] freed by task 300 on cpu 0 at 46.446431s (0.012798s ago):
[   46.459989]  test_corruption+0x278/0x378
[   46.460605]  kunit_try_run_case+0x14c/0x3d0
[   46.461180]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.461822]  kthread+0x24c/0x2d0
[   46.462352]  ret_from_fork+0x10/0x20
[   46.462926] 
[   46.463338] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   46.464247] Tainted: [B]=BAD_PAGE, [N]=TEST
[   46.464827] Hardware name: linux,dummy-virt (DT)
[   46.465512] ==================================================================
[   46.966487] ==================================================================
[   46.967331] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   46.967331] 
[   46.968144] Corrupted memory at 0x00000000caca7fc0 [ ! ] (in kfence-#184):
[   46.970098]  test_corruption+0x1d8/0x378
[   46.970866]  kunit_try_run_case+0x14c/0x3d0
[   46.971628]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.972463]  kthread+0x24c/0x2d0
[   46.973119]  ret_from_fork+0x10/0x20
[   46.973808] 
[   46.974122] kfence-#184: 0x00000000b377c82a-0x000000003842af8f, size=32, cache=test
[   46.974122] 
[   46.975023] allocated by task 302 on cpu 0 at 46.966204s (0.008807s ago):
[   46.976235]  test_alloc+0x22c/0x620
[   46.976746]  test_corruption+0x198/0x378
[   46.977227]  kunit_try_run_case+0x14c/0x3d0
[   46.977801]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.978457]  kthread+0x24c/0x2d0
[   46.978942]  ret_from_fork+0x10/0x20
[   46.979508] 
[   46.979845] freed by task 302 on cpu 0 at 46.966303s (0.013530s ago):
[   46.980547]  test_corruption+0x1d8/0x378
[   46.981124]  kunit_try_run_case+0x14c/0x3d0
[   46.981742]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.982398]  kthread+0x24c/0x2d0
[   46.982878]  ret_from_fork+0x10/0x20
[   46.983373] 
[   46.983778] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   46.984828] Tainted: [B]=BAD_PAGE, [N]=TEST
[   46.985305] Hardware name: linux,dummy-virt (DT)
[   46.985891] ==================================================================

[   38.624761] ==================================================================
[   38.625465] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   38.625465] 
[   38.626344] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#118):
[   38.627742]  test_corruption+0x132/0x3e0
[   38.628163]  kunit_try_run_case+0x1b3/0x490
[   38.628648]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.629032]  kthread+0x257/0x310
[   38.629634]  ret_from_fork+0x41/0x80
[   38.630214]  ret_from_fork_asm+0x1a/0x30
[   38.630593] 
[   38.630798] kfence-#118: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   38.630798] 
[   38.631845] allocated by task 320 on cpu 1 at 38.624563s (0.007278s ago):
[   38.632453]  test_alloc+0x2a7/0x10d0
[   38.633164]  test_corruption+0xe7/0x3e0
[   38.633596]  kunit_try_run_case+0x1b3/0x490
[   38.633997]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.634367]  kthread+0x257/0x310
[   38.635014]  ret_from_fork+0x41/0x80
[   38.635585]  ret_from_fork_asm+0x1a/0x30
[   38.636117] 
[   38.636353] freed by task 320 on cpu 1 at 38.624634s (0.011715s ago):
[   38.637002]  test_corruption+0x132/0x3e0
[   38.637286]  kunit_try_run_case+0x1b3/0x490
[   38.637582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.638408]  kthread+0x257/0x310
[   38.639162]  ret_from_fork+0x41/0x80
[   38.639590]  ret_from_fork_asm+0x1a/0x30
[   38.640086] 
[   38.640294] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   38.641395] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.641970] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.642637] ==================================================================
[   38.416893] ==================================================================
[   38.417487] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   38.417487] 
[   38.418222] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#116):
[   38.419123]  test_corruption+0x2e1/0x3e0
[   38.419554]  kunit_try_run_case+0x1b3/0x490
[   38.419898]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.420498]  kthread+0x257/0x310
[   38.420911]  ret_from_fork+0x41/0x80
[   38.421270]  ret_from_fork_asm+0x1a/0x30
[   38.421641] 
[   38.421905] kfence-#116: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   38.421905] 
[   38.422509] allocated by task 318 on cpu 0 at 38.416555s (0.005951s ago):
[   38.423211]  test_alloc+0x35f/0x10d0
[   38.423592]  test_corruption+0x1cc/0x3e0
[   38.424055]  kunit_try_run_case+0x1b3/0x490
[   38.424423]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.425127]  kthread+0x257/0x310
[   38.425379]  ret_from_fork+0x41/0x80
[   38.425869]  ret_from_fork_asm+0x1a/0x30
[   38.426438] 
[   38.426598] freed by task 318 on cpu 0 at 38.416671s (0.009923s ago):
[   38.427306]  test_corruption+0x2e1/0x3e0
[   38.427887]  kunit_try_run_case+0x1b3/0x490
[   38.428217]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.428566]  kthread+0x257/0x310
[   38.429296]  ret_from_fork+0x41/0x80
[   38.429706]  ret_from_fork_asm+0x1a/0x30
[   38.430184] 
[   38.430414] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   38.431426] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.431864] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.432492] ==================================================================
[   38.936672] ==================================================================
[   38.937432] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   38.937432] 
[   38.938179] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#121):
[   38.939115]  test_corruption+0x217/0x3e0
[   38.939653]  kunit_try_run_case+0x1b3/0x490
[   38.940224]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.940680]  kthread+0x257/0x310
[   38.941251]  ret_from_fork+0x41/0x80
[   38.941847]  ret_from_fork_asm+0x1a/0x30
[   38.942306] 
[   38.942489] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   38.942489] 
[   38.943408] allocated by task 320 on cpu 1 at 38.936505s (0.006899s ago):
[   38.944277]  test_alloc+0x2a7/0x10d0
[   38.944816]  test_corruption+0x1cc/0x3e0
[   38.945107]  kunit_try_run_case+0x1b3/0x490
[   38.945672]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.946224]  kthread+0x257/0x310
[   38.946614]  ret_from_fork+0x41/0x80
[   38.946914]  ret_from_fork_asm+0x1a/0x30
[   38.947451] 
[   38.947755] freed by task 320 on cpu 1 at 38.936567s (0.011183s ago):
[   38.948548]  test_corruption+0x217/0x3e0
[   38.949149]  kunit_try_run_case+0x1b3/0x490
[   38.949582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.950243]  kthread+0x257/0x310
[   38.950581]  ret_from_fork+0x41/0x80
[   38.950880]  ret_from_fork_asm+0x1a/0x30
[   38.951161] 
[   38.951342] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   38.952594] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.953162] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.953773] ==================================================================
[   38.312649] ==================================================================
[   38.313334] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   38.313334] 
[   38.314118] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#115):
[   38.315435]  test_corruption+0x2d4/0x3e0
[   38.316181]  kunit_try_run_case+0x1b3/0x490
[   38.316653]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.317303]  kthread+0x257/0x310
[   38.317576]  ret_from_fork+0x41/0x80
[   38.318217]  ret_from_fork_asm+0x1a/0x30
[   38.318628] 
[   38.318823] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   38.318823] 
[   38.319615] allocated by task 318 on cpu 0 at 38.312451s (0.007160s ago):
[   38.320385]  test_alloc+0x35f/0x10d0
[   38.320773]  test_corruption+0xe7/0x3e0
[   38.321133]  kunit_try_run_case+0x1b3/0x490
[   38.321521]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.322060]  kthread+0x257/0x310
[   38.322466]  ret_from_fork+0x41/0x80
[   38.322793]  ret_from_fork_asm+0x1a/0x30
[   38.323212] 
[   38.323417] freed by task 318 on cpu 0 at 38.312556s (0.010857s ago):
[   38.324031]  test_corruption+0x2d4/0x3e0
[   38.324315]  kunit_try_run_case+0x1b3/0x490
[   38.324611]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.325221]  kthread+0x257/0x310
[   38.325873]  ret_from_fork+0x41/0x80
[   38.326247]  ret_from_fork_asm+0x1a/0x30
[   38.326640] 
[   38.326853] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   38.327547] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.328058] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.329124] ==================================================================