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

Environment
qemu-arm64
qemu-x86_64

[   55.407122] ==================================================================
[   55.408087] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   55.408087] 
[   55.409197] Out-of-bounds read at 0x000000004c79a626 (1B left of kfence-#146):
[   55.410733]  test_out_of_bounds_read+0x114/0x3e0
[   55.411510]  test_out_of_bounds_read+0xdc/0x3e0
[   55.412247]  kunit_try_run_case+0x14c/0x3d0
[   55.412965]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   55.413808]  kthread+0x24c/0x2d0
[   55.414378]  ret_from_fork+0x10/0x20
[   55.414976] 
[   55.415735] kfence-#146: 0x00000000bfd11f8e-0x00000000a69e739f, size=32, cache=kmalloc-32
[   55.415735] 
[   55.417230] allocated by task 276 on cpu 0 at 55.405860s (0.011199s ago):
[   55.418756]  test_alloc+0x298/0x620
[   55.419329]  test_out_of_bounds_read+0xdc/0x3e0
[   55.420027]  kunit_try_run_case+0x14c/0x3d0
[   55.420681]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   55.421463]  kthread+0x24c/0x2d0
[   55.422071]  ret_from_fork+0x10/0x20
[   55.422762] 
[   55.423307] CPU: 0 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   55.424456] Tainted: [B]=BAD_PAGE, [N]=TEST
[   55.425067] Hardware name: linux,dummy-virt (DT)
[   55.425761] ==================================================================
[   55.925980] ==================================================================
[   55.926926] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   55.926926] 
[   55.927858] Out-of-bounds read at 0x000000000c4c437c (1B left of kfence-#151):
[   55.928617]  test_out_of_bounds_read+0x114/0x3e0
[   55.929480]  test_out_of_bounds_read+0xdc/0x3e0
[   55.930380]  kunit_try_run_case+0x14c/0x3d0
[   55.931237]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   55.931967]  kthread+0x24c/0x2d0
[   55.932424]  ret_from_fork+0x10/0x20
[   55.932959] 
[   55.933349] kfence-#151: 0x0000000077289022-0x00000000023ddf0c, size=32, cache=test
[   55.933349] 
[   55.934280] allocated by task 278 on cpu 1 at 55.925814s (0.008456s ago):
[   55.935547]  test_alloc+0x22c/0x620
[   55.936176]  test_out_of_bounds_read+0xdc/0x3e0
[   55.936762]  kunit_try_run_case+0x14c/0x3d0
[   55.937197]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   55.937887]  kthread+0x24c/0x2d0
[   55.938507]  ret_from_fork+0x10/0x20
[   55.939014] 
[   55.939484] CPU: 1 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   55.940747] Tainted: [B]=BAD_PAGE, [N]=TEST
[   55.941258] Hardware name: linux,dummy-virt (DT)
[   55.941880] ==================================================================
[   56.237819] ==================================================================
[   56.238819] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   56.238819] 
[   56.239736] Out-of-bounds read at 0x000000008c164954 (32B right of kfence-#154):
[   56.240726]  test_out_of_bounds_read+0x1c8/0x3e0
[   56.241680]  test_out_of_bounds_read+0x198/0x3e0
[   56.242578]  kunit_try_run_case+0x14c/0x3d0
[   56.243311]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.244077]  kthread+0x24c/0x2d0
[   56.244653]  ret_from_fork+0x10/0x20
[   56.245259] 
[   56.245634] kfence-#154: 0x0000000073f884b6-0x00000000f56eee9b, size=32, cache=test
[   56.245634] 
[   56.246810] allocated by task 278 on cpu 1 at 56.237677s (0.009124s ago):
[   56.247866]  test_alloc+0x22c/0x620
[   56.248576]  test_out_of_bounds_read+0x198/0x3e0
[   56.249235]  kunit_try_run_case+0x14c/0x3d0
[   56.249882]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.250772]  kthread+0x24c/0x2d0
[   56.251366]  ret_from_fork+0x10/0x20
[   56.251956] 
[   56.252395] CPU: 1 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   56.253635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   56.254252] Hardware name: linux,dummy-virt (DT)
[   56.254913] ==================================================================
[   55.614156] ==================================================================
[   55.614987] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   55.614987] 
[   55.615964] Out-of-bounds read at 0x000000003a0da0d1 (32B right of kfence-#148):
[   55.616711]  test_out_of_bounds_read+0x1c8/0x3e0
[   55.617759]  test_out_of_bounds_read+0x198/0x3e0
[   55.618551]  kunit_try_run_case+0x14c/0x3d0
[   55.619053]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   55.619930]  kthread+0x24c/0x2d0
[   55.620607]  ret_from_fork+0x10/0x20
[   55.621080] 
[   55.621531] kfence-#148: 0x000000007ce66532-0x0000000027d75871, size=32, cache=kmalloc-32
[   55.621531] 
[   55.622636] allocated by task 276 on cpu 0 at 55.613741s (0.008887s ago):
[   55.623555]  test_alloc+0x298/0x620
[   55.624129]  test_out_of_bounds_read+0x198/0x3e0
[   55.624682]  kunit_try_run_case+0x14c/0x3d0
[   55.625398]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   55.626092]  kthread+0x24c/0x2d0
[   55.626608]  ret_from_fork+0x10/0x20
[   55.627196] 
[   55.627578] CPU: 0 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   55.628865] Tainted: [B]=BAD_PAGE, [N]=TEST
[   55.629430] Hardware name: linux,dummy-virt (DT)
[   55.629992] ==================================================================

[   33.893470] ==================================================================
[   33.894175] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   33.894175] 
[   33.894920] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#96):
[   33.896293]  test_out_of_bounds_read+0x217/0x4e0
[   33.896653]  kunit_try_run_case+0x1b3/0x490
[   33.897227]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.897742]  kthread+0x257/0x310
[   33.898224]  ret_from_fork+0x41/0x80
[   33.898645]  ret_from_fork_asm+0x1a/0x30
[   33.899209] 
[   33.899430] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.899430] 
[   33.900420] allocated by task 295 on cpu 0 at 33.893263s (0.007153s ago):
[   33.901125]  test_alloc+0x35f/0x10d0
[   33.901524]  test_out_of_bounds_read+0x1e3/0x4e0
[   33.901931]  kunit_try_run_case+0x1b3/0x490
[   33.902657]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.903187]  kthread+0x257/0x310
[   33.903672]  ret_from_fork+0x41/0x80
[   33.904207]  ret_from_fork_asm+0x1a/0x30
[   33.904820] 
[   33.905064] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   33.905920] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.906416] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.907216] ==================================================================
[   34.517322] ==================================================================
[   34.518024] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   34.518024] 
[   34.518902] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#102):
[   34.519392]  test_out_of_bounds_read+0x217/0x4e0
[   34.519801]  kunit_try_run_case+0x1b3/0x490
[   34.520429]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.520909]  kthread+0x257/0x310
[   34.521227]  ret_from_fork+0x41/0x80
[   34.521517]  ret_from_fork_asm+0x1a/0x30
[   34.521848] 
[   34.522124] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.522124] 
[   34.523227] allocated by task 297 on cpu 1 at 34.517264s (0.005959s ago):
[   34.523712]  test_alloc+0x2a7/0x10d0
[   34.524298]  test_out_of_bounds_read+0x1e3/0x4e0
[   34.524710]  kunit_try_run_case+0x1b3/0x490
[   34.525043]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.525659]  kthread+0x257/0x310
[   34.526142]  ret_from_fork+0x41/0x80
[   34.526624]  ret_from_fork_asm+0x1a/0x30
[   34.527039] 
[   34.527266] CPU: 1 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   34.528328] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.528814] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.529553] ==================================================================
[   34.101342] ==================================================================
[   34.102008] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   34.102008] 
[   34.103105] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#98):
[   34.103794]  test_out_of_bounds_read+0x127/0x4e0
[   34.104737]  kunit_try_run_case+0x1b3/0x490
[   34.105246]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.106313]  kthread+0x257/0x310
[   34.106657]  ret_from_fork+0x41/0x80
[   34.107162]  ret_from_fork_asm+0x1a/0x30
[   34.107855] 
[   34.108090] kfence-#98: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.108090] 
[   34.108766] allocated by task 297 on cpu 1 at 34.101270s (0.007493s ago):
[   34.109502]  test_alloc+0x2a7/0x10d0
[   34.110029]  test_out_of_bounds_read+0xee/0x4e0
[   34.110695]  kunit_try_run_case+0x1b3/0x490
[   34.111390]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.112229]  kthread+0x257/0x310
[   34.112900]  ret_from_fork+0x41/0x80
[   34.113844]  ret_from_fork_asm+0x1a/0x30
[   34.114290] 
[   34.114675] CPU: 1 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   34.115565] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.115921] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.116729] ==================================================================
[   33.582730] ==================================================================
[   33.583648] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   33.583648] 
[   33.584577] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#93):
[   33.585852]  test_out_of_bounds_read+0x127/0x4e0
[   33.586567]  kunit_try_run_case+0x1b3/0x490
[   33.587014]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.587489]  kthread+0x257/0x310
[   33.588127]  ret_from_fork+0x41/0x80
[   33.588618]  ret_from_fork_asm+0x1a/0x30
[   33.589720] 
[   33.590591] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.590591] 
[   33.591836] allocated by task 295 on cpu 0 at 33.581273s (0.010440s ago):
[   33.593406]  test_alloc+0x35f/0x10d0
[   33.593826]  test_out_of_bounds_read+0xee/0x4e0
[   33.594741]  kunit_try_run_case+0x1b3/0x490
[   33.595174]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.595901]  kthread+0x257/0x310
[   33.596297]  ret_from_fork+0x41/0x80
[   33.596689]  ret_from_fork_asm+0x1a/0x30
[   33.597430] 
[   33.597957] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241127 #1
[   33.599382] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.599834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.601178] ==================================================================