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

Environment
qemu-arm64
qemu-x86_64

[   44.574371] ==================================================================
[   44.575155] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   44.575155] 
[   44.575729] Out-of-bounds read at 0x000000004fbcac5b (1B left of kfence-#161):
[   44.576940]  test_out_of_bounds_read+0x114/0x3e0
[   44.577936]  test_out_of_bounds_read+0xdc/0x3e0
[   44.578535]  kunit_try_run_case+0x14c/0x3d0
[   44.579177]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.579554]  kthread+0x24c/0x2d0
[   44.580360]  ret_from_fork+0x10/0x20
[   44.580815] 
[   44.581052] kfence-#161: 0x000000009402a092-0x0000000011856bf9, size=32, cache=test
[   44.581052] 
[   44.581904] allocated by task 278 on cpu 0 at 44.574175s (0.007723s ago):
[   44.583686]  test_alloc+0x22c/0x620
[   44.584340]  test_out_of_bounds_read+0xdc/0x3e0
[   44.584961]  kunit_try_run_case+0x14c/0x3d0
[   44.585546]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.586248]  kthread+0x24c/0x2d0
[   44.586795]  ret_from_fork+0x10/0x20
[   44.587300] 
[   44.587707] CPU: 0 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   44.588727] Tainted: [B]=BAD_PAGE, [N]=TEST
[   44.589301] Hardware name: linux,dummy-virt (DT)
[   44.589870] ==================================================================
[   44.886366] ==================================================================
[   44.887525] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   44.887525] 
[   44.888884] Out-of-bounds read at 0x0000000014404e7a (32B right of kfence-#164):
[   44.890347]  test_out_of_bounds_read+0x1c8/0x3e0
[   44.891064]  test_out_of_bounds_read+0x198/0x3e0
[   44.891694]  kunit_try_run_case+0x14c/0x3d0
[   44.892369]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.893125]  kthread+0x24c/0x2d0
[   44.893694]  ret_from_fork+0x10/0x20
[   44.894227] 
[   44.894544] kfence-#164: 0x000000008b99714c-0x00000000911e87c4, size=32, cache=test
[   44.894544] 
[   44.895363] allocated by task 278 on cpu 0 at 44.886198s (0.009153s ago):
[   44.896322]  test_alloc+0x22c/0x620
[   44.896838]  test_out_of_bounds_read+0x198/0x3e0
[   44.897570]  kunit_try_run_case+0x14c/0x3d0
[   44.898225]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.898897]  kthread+0x24c/0x2d0
[   44.899471]  ret_from_fork+0x10/0x20
[   44.900040] 
[   44.900427] CPU: 0 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   44.901555] Tainted: [B]=BAD_PAGE, [N]=TEST
[   44.902077] Hardware name: linux,dummy-virt (DT)
[   44.902739] ==================================================================
[   44.366615] ==================================================================
[   44.367433] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   44.367433] 
[   44.368291] Out-of-bounds read at 0x00000000c3b5d2e7 (32B right of kfence-#159):
[   44.369167]  test_out_of_bounds_read+0x1c8/0x3e0
[   44.369759]  test_out_of_bounds_read+0x198/0x3e0
[   44.370417]  kunit_try_run_case+0x14c/0x3d0
[   44.371065]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.371645]  kthread+0x24c/0x2d0
[   44.372177]  ret_from_fork+0x10/0x20
[   44.372792] 
[   44.373148] kfence-#159: 0x0000000032848aa7-0x00000000d379d54b, size=32, cache=kmalloc-32
[   44.373148] 
[   44.374136] allocated by task 276 on cpu 1 at 44.366196s (0.007928s ago):
[   44.375005]  test_alloc+0x298/0x620
[   44.375577]  test_out_of_bounds_read+0x198/0x3e0
[   44.376238]  kunit_try_run_case+0x14c/0x3d0
[   44.376789]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.377509]  kthread+0x24c/0x2d0
[   44.378048]  ret_from_fork+0x10/0x20
[   44.378600] 
[   44.378927] CPU: 1 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   44.380061] Tainted: [B]=BAD_PAGE, [N]=TEST
[   44.380643] Hardware name: linux,dummy-virt (DT)
[   44.381271] ==================================================================
[   44.159590] ==================================================================
[   44.160462] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   44.160462] 
[   44.161552] Out-of-bounds read at 0x00000000ac7dac03 (1B left of kfence-#157):
[   44.162528]  test_out_of_bounds_read+0x114/0x3e0
[   44.163109]  test_out_of_bounds_read+0xdc/0x3e0
[   44.163767]  kunit_try_run_case+0x14c/0x3d0
[   44.164379]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.165184]  kthread+0x24c/0x2d0
[   44.165762]  ret_from_fork+0x10/0x20
[   44.166329] 
[   44.166690] kfence-#157: 0x000000007274e0f3-0x0000000078ff0205, size=32, cache=kmalloc-32
[   44.166690] 
[   44.167648] allocated by task 276 on cpu 1 at 44.158241s (0.009395s ago):
[   44.168484]  test_alloc+0x298/0x620
[   44.169045]  test_out_of_bounds_read+0xdc/0x3e0
[   44.169723]  kunit_try_run_case+0x14c/0x3d0
[   44.170209]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.170951]  kthread+0x24c/0x2d0
[   44.171436]  ret_from_fork+0x10/0x20
[   44.172088] 
[   44.172518] CPU: 1 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   44.173495] Tainted: [B]=BAD_PAGE, [N]=TEST
[   44.174070] Hardware name: linux,dummy-virt (DT)
[   44.174711] ==================================================================

[   36.753594] ==================================================================
[   36.755069] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   36.755069] 
[   36.756222] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#100):
[   36.757480]  test_out_of_bounds_read+0x217/0x4e0
[   36.758248]  kunit_try_run_case+0x1b3/0x490
[   36.758694]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.759536]  kthread+0x257/0x310
[   36.760024]  ret_from_fork+0x41/0x80
[   36.760417]  ret_from_fork_asm+0x1a/0x30
[   36.761774] 
[   36.762069] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   36.762069] 
[   36.762766] allocated by task 296 on cpu 1 at 36.753543s (0.009219s ago):
[   36.763869]  test_alloc+0x2a7/0x10d0
[   36.764265]  test_out_of_bounds_read+0x1e3/0x4e0
[   36.765307]  kunit_try_run_case+0x1b3/0x490
[   36.765987]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.766442]  kthread+0x257/0x310
[   36.766769]  ret_from_fork+0x41/0x80
[   36.767525]  ret_from_fork_asm+0x1a/0x30
[   36.768074] 
[   36.768290] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   36.769581] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.770135] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.771219] ==================================================================
[   36.440734] ==================================================================
[   36.441345] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   36.441345] 
[   36.442469] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#97):
[   36.443165]  test_out_of_bounds_read+0x217/0x4e0
[   36.443731]  kunit_try_run_case+0x1b3/0x490
[   36.444214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.445002]  kthread+0x257/0x310
[   36.445284]  ret_from_fork+0x41/0x80
[   36.445816]  ret_from_fork_asm+0x1a/0x30
[   36.446430] 
[   36.446585] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   36.446585] 
[   36.448350] allocated by task 294 on cpu 0 at 36.440466s (0.007881s ago):
[   36.450311]  test_alloc+0x35f/0x10d0
[   36.450913]  test_out_of_bounds_read+0x1e3/0x4e0
[   36.452175]  kunit_try_run_case+0x1b3/0x490
[   36.452474]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.453334]  kthread+0x257/0x310
[   36.453652]  ret_from_fork+0x41/0x80
[   36.453944]  ret_from_fork_asm+0x1a/0x30
[   36.454444] 
[   36.454783] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   36.456593] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.457301] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.458494] ==================================================================
[   36.648484] ==================================================================
[   36.649218] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   36.649218] 
[   36.650939] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#99):
[   36.652100]  test_out_of_bounds_read+0x127/0x4e0
[   36.652610]  kunit_try_run_case+0x1b3/0x490
[   36.653479]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.654071]  kthread+0x257/0x310
[   36.654509]  ret_from_fork+0x41/0x80
[   36.654977]  ret_from_fork_asm+0x1a/0x30
[   36.655386] 
[   36.655607] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   36.655607] 
[   36.657035] allocated by task 296 on cpu 1 at 36.648421s (0.008611s ago):
[   36.657368]  test_alloc+0x2a7/0x10d0
[   36.657546]  test_out_of_bounds_read+0xee/0x4e0
[   36.658084]  kunit_try_run_case+0x1b3/0x490
[   36.659240]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.659840]  kthread+0x257/0x310
[   36.660274]  ret_from_fork+0x41/0x80
[   36.661059]  ret_from_fork_asm+0x1a/0x30
[   36.661442] 
[   36.661682] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   36.662501] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.662984] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.663784] ==================================================================
[   36.337835] ==================================================================
[   36.338542] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   36.338542] 
[   36.339349] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#96):
[   36.339791]  test_out_of_bounds_read+0x127/0x4e0
[   36.340646]  kunit_try_run_case+0x1b3/0x490
[   36.341482]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.342662]  kthread+0x257/0x310
[   36.343044]  ret_from_fork+0x41/0x80
[   36.343422]  ret_from_fork_asm+0x1a/0x30
[   36.343859] 
[   36.344049] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   36.344049] 
[   36.344995] allocated by task 294 on cpu 0 at 36.336429s (0.008561s ago):
[   36.346271]  test_alloc+0x35f/0x10d0
[   36.346725]  test_out_of_bounds_read+0xee/0x4e0
[   36.347256]  kunit_try_run_case+0x1b3/0x490
[   36.347852]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.348386]  kthread+0x257/0x310
[   36.348850]  ret_from_fork+0x41/0x80
[   36.349368]  ret_from_fork_asm+0x1a/0x30
[   36.349963] 
[   36.350264] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   36.351248] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.351868] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.352723] ==================================================================