Hay
Date
Nov. 27, 2024, 3:37 a.m.

Environment
qemu-arm64
qemu-x86_64

[   58.317962] ==================================================================
[   58.318891] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   58.318891] 
[   58.319595] Corrupted memory at 0x0000000093590f96 [ ! . . . . . . . . . . . . . . . ] (in kfence-#174):
[   58.322212]  test_corruption+0x120/0x378
[   58.322980]  kunit_try_run_case+0x14c/0x3d0
[   58.323776]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   58.324429]  kthread+0x24c/0x2d0
[   58.324981]  ret_from_fork+0x10/0x20
[   58.325521] 
[   58.325816] kfence-#174: 0x00000000cc0f8d77-0x0000000098966412, size=32, cache=test
[   58.325816] 
[   58.326804] allocated by task 302 on cpu 1 at 58.317728s (0.009066s ago):
[   58.327782]  test_alloc+0x22c/0x620
[   58.328281]  test_corruption+0xdc/0x378
[   58.329034]  kunit_try_run_case+0x14c/0x3d0
[   58.329726]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   58.330344]  kthread+0x24c/0x2d0
[   58.330916]  ret_from_fork+0x10/0x20
[   58.331477] 
[   58.331924] freed by task 302 on cpu 1 at 58.317817s (0.014099s ago):
[   58.332901]  test_corruption+0x120/0x378
[   58.333546]  kunit_try_run_case+0x14c/0x3d0
[   58.334100]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   58.334862]  kthread+0x24c/0x2d0
[   58.335350]  ret_from_fork+0x10/0x20
[   58.335967] 
[   58.336354] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   58.337499] Tainted: [B]=BAD_PAGE, [N]=TEST
[   58.338115] Hardware name: linux,dummy-virt (DT)
[   58.338654] ==================================================================
[   58.526026] ==================================================================
[   58.526893] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   58.526893] 
[   58.527757] Corrupted memory at 0x0000000047a9992b [ ! ] (in kfence-#176):
[   58.528846]  test_corruption+0x1d8/0x378
[   58.529546]  kunit_try_run_case+0x14c/0x3d0
[   58.531717]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   58.532343]  kthread+0x24c/0x2d0
[   58.532712]  ret_from_fork+0x10/0x20
[   58.533097] 
[   58.534035] kfence-#176: 0x00000000e388f115-0x00000000711e6e3d, size=32, cache=test
[   58.534035] 
[   58.536312] allocated by task 302 on cpu 1 at 58.525795s (0.010504s ago):
[   58.537161]  test_alloc+0x22c/0x620
[   58.537549]  test_corruption+0x198/0x378
[   58.537957]  kunit_try_run_case+0x14c/0x3d0
[   58.539584]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   58.541483]  kthread+0x24c/0x2d0
[   58.542566]  ret_from_fork+0x10/0x20
[   58.543935] 
[   58.544560] freed by task 302 on cpu 1 at 58.525886s (0.018664s ago):
[   58.546651]  test_corruption+0x1d8/0x378
[   58.547707]  kunit_try_run_case+0x14c/0x3d0
[   58.548472]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   58.549468]  kthread+0x24c/0x2d0
[   58.550400]  ret_from_fork+0x10/0x20
[   58.551246] 
[   58.551642] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   58.553124] Tainted: [B]=BAD_PAGE, [N]=TEST
[   58.553774] Hardware name: linux,dummy-virt (DT)
[   58.554435] ==================================================================
[   57.798146] ==================================================================
[   57.798997] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   57.798997] 
[   57.799853] Corrupted memory at 0x000000007751a015 [ ! . . . . . . . . . . . . . . . ] (in kfence-#169):
[   57.803434]  test_corruption+0x278/0x378
[   57.804073]  kunit_try_run_case+0x14c/0x3d0
[   57.804646]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   57.805275]  kthread+0x24c/0x2d0
[   57.805831]  ret_from_fork+0x10/0x20
[   57.806542] 
[   57.806960] kfence-#169: 0x0000000019aa0747-0x00000000e3cc0d9f, size=32, cache=kmalloc-32
[   57.806960] 
[   57.808226] allocated by task 300 on cpu 1 at 57.797711s (0.010507s ago):
[   57.809074]  test_alloc+0x298/0x620
[   57.809689]  test_corruption+0xdc/0x378
[   57.810203]  kunit_try_run_case+0x14c/0x3d0
[   57.811047]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   57.811913]  kthread+0x24c/0x2d0
[   57.812402]  ret_from_fork+0x10/0x20
[   57.812840] 
[   57.813198] freed by task 300 on cpu 1 at 57.797859s (0.015330s ago):
[   57.814333]  test_corruption+0x278/0x378
[   57.815127]  kunit_try_run_case+0x14c/0x3d0
[   57.815653]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   57.816333]  kthread+0x24c/0x2d0
[   57.816763]  ret_from_fork+0x10/0x20
[   57.817368] 
[   57.817758] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   57.818870] Tainted: [B]=BAD_PAGE, [N]=TEST
[   57.819484] Hardware name: linux,dummy-virt (DT)
[   57.820088] ==================================================================
[   57.902132] ==================================================================
[   57.902947] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   57.902947] 
[   57.903856] Corrupted memory at 0x000000008f2d0cf5 [ ! ] (in kfence-#170):
[   57.905024]  test_corruption+0x284/0x378
[   57.905637]  kunit_try_run_case+0x14c/0x3d0
[   57.906218]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   57.906860]  kthread+0x24c/0x2d0
[   57.907436]  ret_from_fork+0x10/0x20
[   57.908057] 
[   57.908368] kfence-#170: 0x00000000604ed725-0x00000000a98ab62a, size=32, cache=kmalloc-32
[   57.908368] 
[   57.909434] allocated by task 300 on cpu 1 at 57.901743s (0.007681s ago):
[   57.910433]  test_alloc+0x298/0x620
[   57.910955]  test_corruption+0x198/0x378
[   57.911567]  kunit_try_run_case+0x14c/0x3d0
[   57.912120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   57.912988]  kthread+0x24c/0x2d0
[   57.913473]  ret_from_fork+0x10/0x20
[   57.914126] 
[   57.914433] freed by task 300 on cpu 1 at 57.901867s (0.012557s ago):
[   57.915316]  test_corruption+0x284/0x378
[   57.915869]  kunit_try_run_case+0x14c/0x3d0
[   57.916453]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   57.917258]  kthread+0x24c/0x2d0
[   57.917750]  ret_from_fork+0x10/0x20
[   57.918364] 
[   57.918712] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   57.919853] Tainted: [B]=BAD_PAGE, [N]=TEST
[   57.920462] Hardware name: linux,dummy-virt (DT)
[   57.921094] ==================================================================

[   35.869489] ==================================================================
[   35.870154] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   35.870154] 
[   35.870788] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#115):
[   35.872204]  test_corruption+0x132/0x3e0
[   35.872665]  kunit_try_run_case+0x1b3/0x490
[   35.873047]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.873556]  kthread+0x257/0x310
[   35.873900]  ret_from_fork+0x41/0x80
[   35.874447]  ret_from_fork_asm+0x1a/0x30
[   35.874755] 
[   35.875016] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   35.875016] 
[   35.875752] allocated by task 321 on cpu 0 at 35.869345s (0.006403s ago):
[   35.876588]  test_alloc+0x2a7/0x10d0
[   35.876870]  test_corruption+0xe7/0x3e0
[   35.877420]  kunit_try_run_case+0x1b3/0x490
[   35.877823]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.878219]  kthread+0x257/0x310
[   35.878637]  ret_from_fork+0x41/0x80
[   35.879087]  ret_from_fork_asm+0x1a/0x30
[   35.879476] 
[   35.879633] freed by task 321 on cpu 0 at 35.869415s (0.010215s ago):
[   35.880616]  test_corruption+0x132/0x3e0
[   35.880941]  kunit_try_run_case+0x1b3/0x490
[   35.881449]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.882025]  kthread+0x257/0x310
[   35.882396]  ret_from_fork+0x41/0x80
[   35.882804]  ret_from_fork_asm+0x1a/0x30
[   35.883341] 
[   35.883530] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   35.884524] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.884799] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.885368] ==================================================================
[   35.973406] ==================================================================
[   35.974201] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   35.974201] 
[   35.975014] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#116):
[   35.976008]  test_corruption+0x217/0x3e0
[   35.977031]  kunit_try_run_case+0x1b3/0x490
[   35.977541]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.978631]  kthread+0x257/0x310
[   35.978963]  ret_from_fork+0x41/0x80
[   35.979674]  ret_from_fork_asm+0x1a/0x30
[   35.980133] 
[   35.980862] kfence-#116: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   35.980862] 
[   35.982123] allocated by task 321 on cpu 0 at 35.973291s (0.008828s ago):
[   35.982644]  test_alloc+0x2a7/0x10d0
[   35.983021]  test_corruption+0x1cc/0x3e0
[   35.983825]  kunit_try_run_case+0x1b3/0x490
[   35.984380]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.985425]  kthread+0x257/0x310
[   35.985800]  ret_from_fork+0x41/0x80
[   35.986685]  ret_from_fork_asm+0x1a/0x30
[   35.986964] 
[   35.987264] freed by task 321 on cpu 0 at 35.973347s (0.013913s ago):
[   35.987816]  test_corruption+0x217/0x3e0
[   35.988798]  kunit_try_run_case+0x1b3/0x490
[   35.989342]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.990011]  kthread+0x257/0x310
[   35.990618]  ret_from_fork+0x41/0x80
[   35.991232]  ret_from_fork_asm+0x1a/0x30
[   35.991572] 
[   35.991838] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   35.992803] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.993265] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.994510] ==================================================================
[   35.765574] ==================================================================
[   35.766252] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   35.766252] 
[   35.766907] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#114):
[   35.767710]  test_corruption+0x2e1/0x3e0
[   35.768092]  kunit_try_run_case+0x1b3/0x490
[   35.768592]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.769214]  kthread+0x257/0x310
[   35.769545]  ret_from_fork+0x41/0x80
[   35.769837]  ret_from_fork_asm+0x1a/0x30
[   35.770366] 
[   35.770678] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   35.770678] 
[   35.771506] allocated by task 319 on cpu 0 at 35.765318s (0.006184s ago):
[   35.772008]  test_alloc+0x35f/0x10d0
[   35.772473]  test_corruption+0x1cc/0x3e0
[   35.772844]  kunit_try_run_case+0x1b3/0x490
[   35.773430]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.773866]  kthread+0x257/0x310
[   35.774228]  ret_from_fork+0x41/0x80
[   35.774671]  ret_from_fork_asm+0x1a/0x30
[   35.775212] 
[   35.775371] freed by task 319 on cpu 0 at 35.765422s (0.009945s ago):
[   35.775767]  test_corruption+0x2e1/0x3e0
[   35.776246]  kunit_try_run_case+0x1b3/0x490
[   35.776875]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.777694]  kthread+0x257/0x310
[   35.778028]  ret_from_fork+0x41/0x80
[   35.778459]  ret_from_fork_asm+0x1a/0x30
[   35.778842] 
[   35.779042] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   35.779966] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.780601] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.781549] ==================================================================
[   35.661598] ==================================================================
[   35.662462] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   35.662462] 
[   35.663111] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#113):
[   35.664750]  test_corruption+0x2d4/0x3e0
[   35.665268]  kunit_try_run_case+0x1b3/0x490
[   35.665737]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.666305]  kthread+0x257/0x310
[   35.666729]  ret_from_fork+0x41/0x80
[   35.667149]  ret_from_fork_asm+0x1a/0x30
[   35.667611] 
[   35.667816] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   35.667816] 
[   35.668750] allocated by task 319 on cpu 0 at 35.661315s (0.007432s ago):
[   35.669786]  test_alloc+0x35f/0x10d0
[   35.670119]  test_corruption+0xe7/0x3e0
[   35.670412]  kunit_try_run_case+0x1b3/0x490
[   35.671166]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.671664]  kthread+0x257/0x310
[   35.671933]  ret_from_fork+0x41/0x80
[   35.672411]  ret_from_fork_asm+0x1a/0x30
[   35.672786] 
[   35.672945] freed by task 319 on cpu 0 at 35.661428s (0.011514s ago):
[   35.673397]  test_corruption+0x2d4/0x3e0
[   35.673868]  kunit_try_run_case+0x1b3/0x490
[   35.674426]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.675032]  kthread+0x257/0x310
[   35.675371]  ret_from_fork+0x41/0x80
[   35.675807]  ret_from_fork_asm+0x1a/0x30
[   35.676340] 
[   35.676580] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   35.677158] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.677633] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.678680] ==================================================================