Hay
Date
Dec. 4, 2024, 3:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   40.490813] ==================================================================
[   40.491800] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   40.491800] 
[   40.492759] Out-of-bounds read at 0x00000000f8fc7b89 (1B left of kfence-#135):
[   40.493522]  test_out_of_bounds_read+0x114/0x3e0
[   40.494412]  test_out_of_bounds_read+0xdc/0x3e0
[   40.495117]  kunit_try_run_case+0x14c/0x3d0
[   40.495743]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.496450]  kthread+0x24c/0x2d0
[   40.496966]  ret_from_fork+0x10/0x20
[   40.497656] 
[   40.497977] kfence-#135: 0x00000000aa9bdd4f-0x00000000d4f799ea, size=32, cache=test
[   40.497977] 
[   40.498967] allocated by task 277 on cpu 0 at 40.490620s (0.008336s ago):
[   40.500100]  test_alloc+0x22c/0x620
[   40.500794]  test_out_of_bounds_read+0xdc/0x3e0
[   40.501519]  kunit_try_run_case+0x14c/0x3d0
[   40.502191]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.502928]  kthread+0x24c/0x2d0
[   40.503519]  ret_from_fork+0x10/0x20
[   40.504187] 
[   40.504545] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   40.505728] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.506386] Hardware name: linux,dummy-virt (DT)
[   40.507184] ==================================================================
[   40.179037] ==================================================================
[   40.179857] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   40.179857] 
[   40.180857] Out-of-bounds read at 0x00000000948dd830 (32B right of kfence-#132):
[   40.181894]  test_out_of_bounds_read+0x1c8/0x3e0
[   40.182671]  test_out_of_bounds_read+0x198/0x3e0
[   40.183260]  kunit_try_run_case+0x14c/0x3d0
[   40.184045]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.184736]  kthread+0x24c/0x2d0
[   40.185426]  ret_from_fork+0x10/0x20
[   40.186128] 
[   40.186545] kfence-#132: 0x00000000bf9e0475-0x00000000f1b250ff, size=32, cache=kmalloc-32
[   40.186545] 
[   40.187769] allocated by task 275 on cpu 1 at 40.178673s (0.009086s ago):
[   40.188588]  test_alloc+0x298/0x620
[   40.189235]  test_out_of_bounds_read+0x198/0x3e0
[   40.189922]  kunit_try_run_case+0x14c/0x3d0
[   40.190611]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.191267]  kthread+0x24c/0x2d0
[   40.191968]  ret_from_fork+0x10/0x20
[   40.192503] 
[   40.192962] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   40.194215] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.194864] Hardware name: linux,dummy-virt (DT)
[   40.195470] ==================================================================
[   40.594876] ==================================================================
[   40.595765] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   40.595765] 
[   40.596576] Out-of-bounds read at 0x00000000fdf02350 (32B right of kfence-#136):
[   40.597599]  test_out_of_bounds_read+0x1c8/0x3e0
[   40.598299]  test_out_of_bounds_read+0x198/0x3e0
[   40.598845]  kunit_try_run_case+0x14c/0x3d0
[   40.599679]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.600541]  kthread+0x24c/0x2d0
[   40.601019]  ret_from_fork+0x10/0x20
[   40.601778] 
[   40.602169] kfence-#136: 0x0000000073e6a0ab-0x00000000e8743b31, size=32, cache=test
[   40.602169] 
[   40.603217] allocated by task 277 on cpu 0 at 40.594732s (0.008475s ago):
[   40.604220]  test_alloc+0x22c/0x620
[   40.604749]  test_out_of_bounds_read+0x198/0x3e0
[   40.605434]  kunit_try_run_case+0x14c/0x3d0
[   40.606252]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.607104]  kthread+0x24c/0x2d0
[   40.607802]  ret_from_fork+0x10/0x20
[   40.608355] 
[   40.608839] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   40.610143] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.610754] Hardware name: linux,dummy-virt (DT)
[   40.611450] ==================================================================
[   39.764024] ==================================================================
[   39.764890] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   39.764890] 
[   39.765977] Out-of-bounds read at 0x00000000f8e4ece0 (1B left of kfence-#128):
[   39.767536]  test_out_of_bounds_read+0x114/0x3e0
[   39.768279]  test_out_of_bounds_read+0xdc/0x3e0
[   39.768914]  kunit_try_run_case+0x14c/0x3d0
[   39.769587]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.770433]  kthread+0x24c/0x2d0
[   39.771187]  ret_from_fork+0x10/0x20
[   39.771764] 
[   39.772408] kfence-#128: 0x0000000042927e50-0x00000000382124db, size=32, cache=kmalloc-32
[   39.772408] 
[   39.773740] allocated by task 275 on cpu 1 at 39.762604s (0.010993s ago):
[   39.775325]  test_alloc+0x298/0x620
[   39.775899]  test_out_of_bounds_read+0xdc/0x3e0
[   39.776515]  kunit_try_run_case+0x14c/0x3d0
[   39.777155]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.777920]  kthread+0x24c/0x2d0
[   39.778568]  ret_from_fork+0x10/0x20
[   39.779323] 
[   39.779585] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   39.780202] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.780487] Hardware name: linux,dummy-virt (DT)
[   39.781212] ==================================================================

[   31.344135] ==================================================================
[   31.344857] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   31.344857] 
[   31.345602] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#102):
[   31.346331]  test_out_of_bounds_read+0x217/0x4e0
[   31.346821]  kunit_try_run_case+0x1b3/0x490
[   31.347228]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.347587]  kthread+0x257/0x310
[   31.347877]  ret_from_fork+0x41/0x80
[   31.348333]  ret_from_fork_asm+0x1a/0x30
[   31.348880] 
[   31.349135] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.349135] 
[   31.350048] allocated by task 295 on cpu 1 at 31.343852s (0.006192s ago):
[   31.350517]  test_alloc+0x35f/0x10d0
[   31.350806]  test_out_of_bounds_read+0x1e3/0x4e0
[   31.351645]  kunit_try_run_case+0x1b3/0x490
[   31.352171]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.352635]  kthread+0x257/0x310
[   31.353202]  ret_from_fork+0x41/0x80
[   31.353676]  ret_from_fork_asm+0x1a/0x30
[   31.354105] 
[   31.354322] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   31.354917] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.355509] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.356443] ==================================================================
[   31.759854] ==================================================================
[   31.760666] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   31.760666] 
[   31.761428] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#106):
[   31.762194]  test_out_of_bounds_read+0x127/0x4e0
[   31.762843]  kunit_try_run_case+0x1b3/0x490
[   31.763149]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.763754]  kthread+0x257/0x310
[   31.764320]  ret_from_fork+0x41/0x80
[   31.764815]  ret_from_fork_asm+0x1a/0x30
[   31.765897] 
[   31.766090] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.766090] 
[   31.767549] allocated by task 297 on cpu 0 at 31.759763s (0.007782s ago):
[   31.768098]  test_alloc+0x2a7/0x10d0
[   31.768788]  test_out_of_bounds_read+0xee/0x4e0
[   31.769987]  kunit_try_run_case+0x1b3/0x490
[   31.770662]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.771448]  kthread+0x257/0x310
[   31.772007]  ret_from_fork+0x41/0x80
[   31.772385]  ret_from_fork_asm+0x1a/0x30
[   31.772868] 
[   31.773119] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   31.773999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.774498] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.775047] ==================================================================
[   31.863913] ==================================================================
[   31.864667] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   31.864667] 
[   31.865726] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#107):
[   31.866179]  test_out_of_bounds_read+0x217/0x4e0
[   31.867233]  kunit_try_run_case+0x1b3/0x490
[   31.868232]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.869041]  kthread+0x257/0x310
[   31.869403]  ret_from_fork+0x41/0x80
[   31.869822]  ret_from_fork_asm+0x1a/0x30
[   31.870592] 
[   31.870842] kfence-#107: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.870842] 
[   31.872055] allocated by task 297 on cpu 0 at 31.863832s (0.008219s ago):
[   31.872857]  test_alloc+0x2a7/0x10d0
[   31.873231]  test_out_of_bounds_read+0x1e3/0x4e0
[   31.873766]  kunit_try_run_case+0x1b3/0x490
[   31.874775]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.875368]  kthread+0x257/0x310
[   31.875950]  ret_from_fork+0x41/0x80
[   31.876338]  ret_from_fork_asm+0x1a/0x30
[   31.876934] 
[   31.877264] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   31.878668] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.879312] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.880169] ==================================================================
[   31.241366] ==================================================================
[   31.242169] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   31.242169] 
[   31.242869] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#101):
[   31.243981]  test_out_of_bounds_read+0x127/0x4e0
[   31.244549]  kunit_try_run_case+0x1b3/0x490
[   31.244994]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.245337]  kthread+0x257/0x310
[   31.245846]  ret_from_fork+0x41/0x80
[   31.246208]  ret_from_fork_asm+0x1a/0x30
[   31.246580] 
[   31.247136] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.247136] 
[   31.248154] allocated by task 295 on cpu 1 at 31.239772s (0.008235s ago):
[   31.249409]  test_alloc+0x35f/0x10d0
[   31.249828]  test_out_of_bounds_read+0xee/0x4e0
[   31.250304]  kunit_try_run_case+0x1b3/0x490
[   31.250828]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.251450]  kthread+0x257/0x310
[   31.251736]  ret_from_fork+0x41/0x80
[   31.252181]  ret_from_fork_asm+0x1a/0x30
[   31.252776] 
[   31.253120] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   31.253889] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.254477] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.255143] ==================================================================