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

Environment
qemu-arm64
qemu-x86_64

[   39.753724] ==================================================================
[   39.754672] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   39.754672] 
[   39.755600] Out-of-bounds read at 0x00000000c3dd76c4 (1B left of kfence-#151):
[   39.756595]  test_out_of_bounds_read+0x114/0x3e0
[   39.757159]  test_out_of_bounds_read+0xdc/0x3e0
[   39.757988]  kunit_try_run_case+0x14c/0x3d0
[   39.758674]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.759274]  kthread+0x24c/0x2d0
[   39.759939]  ret_from_fork+0x10/0x20
[   39.760541] 
[   39.760897] kfence-#151: 0x0000000077d273df-0x00000000a32e4c28, size=32, cache=test
[   39.760897] 
[   39.761906] allocated by task 278 on cpu 0 at 39.753552s (0.008343s ago):
[   39.763289]  test_alloc+0x22c/0x620
[   39.763836]  test_out_of_bounds_read+0xdc/0x3e0
[   39.764679]  kunit_try_run_case+0x14c/0x3d0
[   39.765399]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.766281]  kthread+0x24c/0x2d0
[   39.766857]  ret_from_fork+0x10/0x20
[   39.767528] 
[   39.767977] CPU: 0 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   39.768928] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.769668] Hardware name: linux,dummy-virt (DT)
[   39.770422] ==================================================================
[   39.649856] ==================================================================
[   39.650719] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   39.650719] 
[   39.651666] Out-of-bounds read at 0x00000000ce2266b2 (32B right of kfence-#150):
[   39.652682]  test_out_of_bounds_read+0x1c8/0x3e0
[   39.653216]  test_out_of_bounds_read+0x198/0x3e0
[   39.653989]  kunit_try_run_case+0x14c/0x3d0
[   39.654460]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.654967]  kthread+0x24c/0x2d0
[   39.655367]  ret_from_fork+0x10/0x20
[   39.655814] 
[   39.656080] kfence-#150: 0x00000000742458cb-0x00000000f7254f92, size=32, cache=kmalloc-32
[   39.656080] 
[   39.657038] allocated by task 276 on cpu 1 at 39.649462s (0.007567s ago):
[   39.658066]  test_alloc+0x298/0x620
[   39.658572]  test_out_of_bounds_read+0x198/0x3e0
[   39.659431]  kunit_try_run_case+0x14c/0x3d0
[   39.659949]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.660896]  kthread+0x24c/0x2d0
[   39.661550]  ret_from_fork+0x10/0x20
[   39.662311] 
[   39.662786] CPU: 1 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   39.663674] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.664126] Hardware name: linux,dummy-virt (DT)
[   39.664655] ==================================================================
[   40.065674] ==================================================================
[   40.066861] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   40.066861] 
[   40.068058] Out-of-bounds read at 0x00000000745b01ae (32B right of kfence-#154):
[   40.069324]  test_out_of_bounds_read+0x1c8/0x3e0
[   40.070077]  test_out_of_bounds_read+0x198/0x3e0
[   40.070889]  kunit_try_run_case+0x14c/0x3d0
[   40.071641]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.072592]  kthread+0x24c/0x2d0
[   40.073248]  ret_from_fork+0x10/0x20
[   40.073858] 
[   40.074315] kfence-#154: 0x000000000b01dddb-0x000000006c956e5a, size=32, cache=test
[   40.074315] 
[   40.075431] allocated by task 278 on cpu 0 at 40.065524s (0.009898s ago):
[   40.076614]  test_alloc+0x22c/0x620
[   40.077321]  test_out_of_bounds_read+0x198/0x3e0
[   40.078047]  kunit_try_run_case+0x14c/0x3d0
[   40.078795]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.079687]  kthread+0x24c/0x2d0
[   40.080285]  ret_from_fork+0x10/0x20
[   40.080883] 
[   40.081321] CPU: 0 UID: 0 PID: 278 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   40.082710] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.083452] Hardware name: linux,dummy-virt (DT)
[   40.084143] ==================================================================
[   39.442986] ==================================================================
[   39.443869] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   39.443869] 
[   39.445222] Out-of-bounds read at 0x0000000064338d2d (1B left of kfence-#148):
[   39.446526]  test_out_of_bounds_read+0x114/0x3e0
[   39.447341]  test_out_of_bounds_read+0xdc/0x3e0
[   39.448202]  kunit_try_run_case+0x14c/0x3d0
[   39.448942]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.449713]  kthread+0x24c/0x2d0
[   39.450409]  ret_from_fork+0x10/0x20
[   39.451105] 
[   39.451519] kfence-#148: 0x00000000fff2224a-0x0000000062fa5e52, size=32, cache=kmalloc-32
[   39.451519] 
[   39.452836] allocated by task 276 on cpu 1 at 39.441663s (0.011164s ago):
[   39.453932]  test_alloc+0x298/0x620
[   39.454671]  test_out_of_bounds_read+0xdc/0x3e0
[   39.455398]  kunit_try_run_case+0x14c/0x3d0
[   39.456119]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.456948]  kthread+0x24c/0x2d0
[   39.457573]  ret_from_fork+0x10/0x20
[   39.458297] 
[   39.458728] CPU: 1 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   39.459978] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.460538] Hardware name: linux,dummy-virt (DT)
[   39.461146] ==================================================================

[   33.034577] ==================================================================
[   33.035476] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   33.035476] 
[   33.036244] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#102):
[   33.036794]  test_out_of_bounds_read+0x127/0x4e0
[   33.037444]  kunit_try_run_case+0x1b3/0x490
[   33.037874]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.038548]  kthread+0x257/0x310
[   33.038978]  ret_from_fork+0x41/0x80
[   33.039539]  ret_from_fork_asm+0x1a/0x30
[   33.040060] 
[   33.040317] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.040317] 
[   33.041528] allocated by task 297 on cpu 0 at 33.034477s (0.007046s ago):
[   33.042244]  test_alloc+0x2a7/0x10d0
[   33.042766]  test_out_of_bounds_read+0xee/0x4e0
[   33.043249]  kunit_try_run_case+0x1b3/0x490
[   33.043895]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.044453]  kthread+0x257/0x310
[   33.044984]  ret_from_fork+0x41/0x80
[   33.045412]  ret_from_fork_asm+0x1a/0x30
[   33.045996] 
[   33.046332] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   33.047133] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.047427] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.048441] ==================================================================
[   32.826718] ==================================================================
[   32.827330] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   32.827330] 
[   32.828227] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#100):
[   32.829010]  test_out_of_bounds_read+0x217/0x4e0
[   32.829315]  kunit_try_run_case+0x1b3/0x490
[   32.829803]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.830380]  kthread+0x257/0x310
[   32.830649]  ret_from_fork+0x41/0x80
[   32.830943]  ret_from_fork_asm+0x1a/0x30
[   32.831504] 
[   32.831725] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.831725] 
[   32.832724] allocated by task 295 on cpu 1 at 32.826415s (0.006303s ago):
[   32.833256]  test_alloc+0x35f/0x10d0
[   32.833687]  test_out_of_bounds_read+0x1e3/0x4e0
[   32.834184]  kunit_try_run_case+0x1b3/0x490
[   32.834768]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.835170]  kthread+0x257/0x310
[   32.835584]  ret_from_fork+0x41/0x80
[   32.835953]  ret_from_fork_asm+0x1a/0x30
[   32.836480] 
[   32.836743] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   32.837256] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.837729] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.838655] ==================================================================
[   32.724133] ==================================================================
[   32.724949] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   32.724949] 
[   32.725920] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#99):
[   32.727102]  test_out_of_bounds_read+0x127/0x4e0
[   32.727719]  kunit_try_run_case+0x1b3/0x490
[   32.728109]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.728699]  kthread+0x257/0x310
[   32.729043]  ret_from_fork+0x41/0x80
[   32.729490]  ret_from_fork_asm+0x1a/0x30
[   32.730081] 
[   32.730710] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.730710] 
[   32.731887] allocated by task 295 on cpu 1 at 32.722463s (0.009228s ago):
[   32.733406]  test_alloc+0x35f/0x10d0
[   32.733761]  test_out_of_bounds_read+0xee/0x4e0
[   32.734097]  kunit_try_run_case+0x1b3/0x490
[   32.734586]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.735167]  kthread+0x257/0x310
[   32.735567]  ret_from_fork+0x41/0x80
[   32.736010]  ret_from_fork_asm+0x1a/0x30
[   32.736669] 
[   32.737066] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   32.737858] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.738128] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.738996] ==================================================================
[   33.242548] ==================================================================
[   33.243385] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   33.243385] 
[   33.244194] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#104):
[   33.244730]  test_out_of_bounds_read+0x217/0x4e0
[   33.245327]  kunit_try_run_case+0x1b3/0x490
[   33.245880]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.246507]  kthread+0x257/0x310
[   33.247079]  ret_from_fork+0x41/0x80
[   33.247508]  ret_from_fork_asm+0x1a/0x30
[   33.248108] 
[   33.248385] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.248385] 
[   33.248944] allocated by task 297 on cpu 0 at 33.242461s (0.006478s ago):
[   33.249840]  test_alloc+0x2a7/0x10d0
[   33.250319]  test_out_of_bounds_read+0x1e3/0x4e0
[   33.250975]  kunit_try_run_case+0x1b3/0x490
[   33.251335]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.251952]  kthread+0x257/0x310
[   33.252403]  ret_from_fork+0x41/0x80
[   33.252757]  ret_from_fork_asm+0x1a/0x30
[   33.253274] 
[   33.253563] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241122 #1
[   33.254324] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.254641] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.255472] ==================================================================