Hay
Date
Dec. 3, 2024, 11:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   40.848042] ==================================================================
[   40.848985] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   40.848985] 
[   40.849808] Corrupted memory at 0x00000000f43d9b27 [ ! ] (in kfence-#162):
[   40.851590]  test_corruption+0x1d8/0x378
[   40.852293]  kunit_try_run_case+0x14c/0x3d0
[   40.852881]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.853605]  kthread+0x24c/0x2d0
[   40.854081]  ret_from_fork+0x10/0x20
[   40.854735] 
[   40.855088] kfence-#162: 0x000000008dc80d51-0x000000000b5d420c, size=32, cache=test
[   40.855088] 
[   40.856153] allocated by task 302 on cpu 1 at 40.847797s (0.008346s ago):
[   40.857074]  test_alloc+0x22c/0x620
[   40.857633]  test_corruption+0x198/0x378
[   40.858272]  kunit_try_run_case+0x14c/0x3d0
[   40.858920]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.859678]  kthread+0x24c/0x2d0
[   40.860270]  ret_from_fork+0x10/0x20
[   40.861001] 
[   40.861361] freed by task 302 on cpu 1 at 40.847889s (0.013462s ago):
[   40.862176]  test_corruption+0x1d8/0x378
[   40.862872]  kunit_try_run_case+0x14c/0x3d0
[   40.863494]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.864251]  kthread+0x24c/0x2d0
[   40.864833]  ret_from_fork+0x10/0x20
[   40.865374] 
[   40.865734] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   40.867099] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.867796] Hardware name: linux,dummy-virt (DT)
[   40.868415] ==================================================================
[   40.640316] ==================================================================
[   40.641146] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   40.641146] 
[   40.641989] Corrupted memory at 0x00000000f8ac087e [ ! ] (in kfence-#160):
[   40.643828]  test_corruption+0x284/0x378
[   40.644602]  kunit_try_run_case+0x14c/0x3d0
[   40.645362]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.646134]  kthread+0x24c/0x2d0
[   40.646681]  ret_from_fork+0x10/0x20
[   40.647225] 
[   40.647574] kfence-#160: 0x00000000a4f8051d-0x000000006ccf8bb6, size=32, cache=kmalloc-32
[   40.647574] 
[   40.648690] allocated by task 300 on cpu 0 at 40.639841s (0.008839s ago):
[   40.649634]  test_alloc+0x298/0x620
[   40.650293]  test_corruption+0x198/0x378
[   40.650886]  kunit_try_run_case+0x14c/0x3d0
[   40.651587]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.652235]  kthread+0x24c/0x2d0
[   40.652879]  ret_from_fork+0x10/0x20
[   40.653456] 
[   40.653803] freed by task 300 on cpu 0 at 40.640020s (0.013773s ago):
[   40.654686]  test_corruption+0x284/0x378
[   40.655232]  kunit_try_run_case+0x14c/0x3d0
[   40.655907]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.656625]  kthread+0x24c/0x2d0
[   40.657230]  ret_from_fork+0x10/0x20
[   40.657822] 
[   40.658287] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   40.659507] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.660078] Hardware name: linux,dummy-virt (DT)
[   40.660767] ==================================================================
[   40.744176] ==================================================================
[   40.745112] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   40.745112] 
[   40.745933] Corrupted memory at 0x00000000f7fb708c [ ! . . . . . . . . . . . . . . . ] (in kfence-#161):
[   40.748673]  test_corruption+0x120/0x378
[   40.749262]  kunit_try_run_case+0x14c/0x3d0
[   40.749999]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.750865]  kthread+0x24c/0x2d0
[   40.751480]  ret_from_fork+0x10/0x20
[   40.751989] 
[   40.752445] kfence-#161: 0x00000000ab3e9321-0x00000000648505f3, size=32, cache=test
[   40.752445] 
[   40.753509] allocated by task 302 on cpu 1 at 40.743920s (0.009579s ago):
[   40.754441]  test_alloc+0x22c/0x620
[   40.755054]  test_corruption+0xdc/0x378
[   40.755661]  kunit_try_run_case+0x14c/0x3d0
[   40.756318]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.757135]  kthread+0x24c/0x2d0
[   40.757724]  ret_from_fork+0x10/0x20
[   40.758191] 
[   40.758600] freed by task 302 on cpu 1 at 40.744021s (0.014570s ago):
[   40.759473]  test_corruption+0x120/0x378
[   40.760214]  kunit_try_run_case+0x14c/0x3d0
[   40.760835]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.761637]  kthread+0x24c/0x2d0
[   40.762247]  ret_from_fork+0x10/0x20
[   40.762765] 
[   40.763170] CPU: 1 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   40.764368] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.765036] Hardware name: linux,dummy-virt (DT)
[   40.765699] ==================================================================
[   40.536082] ==================================================================
[   40.536988] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   40.536988] 
[   40.537816] Corrupted memory at 0x00000000efe49d57 [ ! . . . . . . . . . . . . . . . ] (in kfence-#159):
[   40.540349]  test_corruption+0x278/0x378
[   40.540986]  kunit_try_run_case+0x14c/0x3d0
[   40.541697]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.542489]  kthread+0x24c/0x2d0
[   40.543090]  ret_from_fork+0x10/0x20
[   40.543727] 
[   40.544130] kfence-#159: 0x000000006c714b99-0x0000000092e78bd8, size=32, cache=kmalloc-32
[   40.544130] 
[   40.545374] allocated by task 300 on cpu 0 at 40.535755s (0.009610s ago):
[   40.546411]  test_alloc+0x298/0x620
[   40.547059]  test_corruption+0xdc/0x378
[   40.547763]  kunit_try_run_case+0x14c/0x3d0
[   40.548461]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.549261]  kthread+0x24c/0x2d0
[   40.549890]  ret_from_fork+0x10/0x20
[   40.550521] 
[   40.550869] freed by task 300 on cpu 0 at 40.535921s (0.014939s ago):
[   40.551955]  test_corruption+0x278/0x378
[   40.552610]  kunit_try_run_case+0x14c/0x3d0
[   40.553287]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.554080]  kthread+0x24c/0x2d0
[   40.554689]  ret_from_fork+0x10/0x20
[   40.555287] 
[   40.555751] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   40.556949] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.557368] Hardware name: linux,dummy-virt (DT)
[   40.557798] ==================================================================

[   36.266414] ==================================================================
[   36.267194] BUG: KFENCE: memory corruption in test_corruption+0x217/0x3e0
[   36.267194] 
[   36.267850] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#154):
[   36.268362]  test_corruption+0x217/0x3e0
[   36.268792]  kunit_try_run_case+0x1b3/0x490
[   36.269223]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.269739]  kthread+0x257/0x310
[   36.270031]  ret_from_fork+0x41/0x80
[   36.270427]  ret_from_fork_asm+0x1a/0x30
[   36.270905] 
[   36.271083] kfence-#154: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   36.271083] 
[   36.271540] allocated by task 322 on cpu 1 at 36.266217s (0.005318s ago):
[   36.272141]  test_alloc+0x2a7/0x10d0
[   36.272739]  test_corruption+0x1cc/0x3e0
[   36.273090]  kunit_try_run_case+0x1b3/0x490
[   36.273512]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.273852]  kthread+0x257/0x310
[   36.274227]  ret_from_fork+0x41/0x80
[   36.274578]  ret_from_fork_asm+0x1a/0x30
[   36.274938] 
[   36.275118] freed by task 322 on cpu 1 at 36.266305s (0.008808s ago):
[   36.275493]  test_corruption+0x217/0x3e0
[   36.275900]  kunit_try_run_case+0x1b3/0x490
[   36.276335]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.276876]  kthread+0x257/0x310
[   36.277255]  ret_from_fork+0x41/0x80
[   36.277719]  ret_from_fork_asm+0x1a/0x30
[   36.278134] 
[   36.278336] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   36.279405] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.279745] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.280188] ==================================================================
[   35.850617] ==================================================================
[   35.851156] BUG: KFENCE: memory corruption in test_corruption+0x2e1/0x3e0
[   35.851156] 
[   35.851796] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#150):
[   35.852459]  test_corruption+0x2e1/0x3e0
[   35.852951]  kunit_try_run_case+0x1b3/0x490
[   35.853366]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.853805]  kthread+0x257/0x310
[   35.854049]  ret_from_fork+0x41/0x80
[   35.854451]  ret_from_fork_asm+0x1a/0x30
[   35.854973] 
[   35.855212] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   35.855212] 
[   35.856217] allocated by task 320 on cpu 0 at 35.850202s (0.006009s ago):
[   35.856609]  test_alloc+0x35f/0x10d0
[   35.857001]  test_corruption+0x1cc/0x3e0
[   35.857411]  kunit_try_run_case+0x1b3/0x490
[   35.857853]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.858275]  kthread+0x257/0x310
[   35.858516]  ret_from_fork+0x41/0x80
[   35.858773]  ret_from_fork_asm+0x1a/0x30
[   35.859162] 
[   35.859374] freed by task 320 on cpu 0 at 35.850370s (0.009000s ago):
[   35.859982]  test_corruption+0x2e1/0x3e0
[   35.860407]  kunit_try_run_case+0x1b3/0x490
[   35.860823]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.861331]  kthread+0x257/0x310
[   35.861801]  ret_from_fork+0x41/0x80
[   35.862133]  ret_from_fork_asm+0x1a/0x30
[   35.862449] 
[   35.862729] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   35.863415] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.863774] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.864324] ==================================================================
[   36.162417] ==================================================================
[   36.163441] BUG: KFENCE: memory corruption in test_corruption+0x132/0x3e0
[   36.163441] 
[   36.164301] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#153):
[   36.165772]  test_corruption+0x132/0x3e0
[   36.166214]  kunit_try_run_case+0x1b3/0x490
[   36.166712]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.167099]  kthread+0x257/0x310
[   36.167347]  ret_from_fork+0x41/0x80
[   36.167656]  ret_from_fork_asm+0x1a/0x30
[   36.168050] 
[   36.168322] kfence-#153: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   36.168322] 
[   36.169330] allocated by task 322 on cpu 1 at 36.162217s (0.007108s ago):
[   36.169730]  test_alloc+0x2a7/0x10d0
[   36.169985]  test_corruption+0xe7/0x3e0
[   36.170452]  kunit_try_run_case+0x1b3/0x490
[   36.171002]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.171516]  kthread+0x257/0x310
[   36.171869]  ret_from_fork+0x41/0x80
[   36.172187]  ret_from_fork_asm+0x1a/0x30
[   36.172460] 
[   36.172614] freed by task 322 on cpu 1 at 36.162303s (0.010306s ago):
[   36.173172]  test_corruption+0x132/0x3e0
[   36.173556]  kunit_try_run_case+0x1b3/0x490
[   36.173970]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.174514]  kthread+0x257/0x310
[   36.174929]  ret_from_fork+0x41/0x80
[   36.175334]  ret_from_fork_asm+0x1a/0x30
[   36.175882] 
[   36.176134] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   36.176656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.177100] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.177895] ==================================================================
[   35.330593] ==================================================================
[   35.331215] BUG: KFENCE: memory corruption in test_corruption+0x2d4/0x3e0
[   35.331215] 
[   35.331839] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#145):
[   35.333291]  test_corruption+0x2d4/0x3e0
[   35.333730]  kunit_try_run_case+0x1b3/0x490
[   35.334295]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.334701]  kthread+0x257/0x310
[   35.335012]  ret_from_fork+0x41/0x80
[   35.335410]  ret_from_fork_asm+0x1a/0x30
[   35.335832] 
[   35.336047] kfence-#145: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   35.336047] 
[   35.336882] allocated by task 320 on cpu 0 at 35.330200s (0.006677s ago):
[   35.337325]  test_alloc+0x35f/0x10d0
[   35.337703]  test_corruption+0xe7/0x3e0
[   35.338014]  kunit_try_run_case+0x1b3/0x490
[   35.338487]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.339162]  kthread+0x257/0x310
[   35.339397]  ret_from_fork+0x41/0x80
[   35.339787]  ret_from_fork_asm+0x1a/0x30
[   35.340170] 
[   35.340327] freed by task 320 on cpu 0 at 35.330355s (0.009966s ago):
[   35.340706]  test_corruption+0x2d4/0x3e0
[   35.341215]  kunit_try_run_case+0x1b3/0x490
[   35.341626]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.342069]  kthread+0x257/0x310
[   35.342508]  ret_from_fork+0x41/0x80
[   35.342769]  ret_from_fork_asm+0x1a/0x30
[   35.343031] 
[   35.343241] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   35.343740] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.344150] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.345082] ==================================================================