Hay
Date
Nov. 28, 2024, 2:36 a.m.

Environment
qemu-arm64
qemu-x86_64

[   38.098175] ==================================================================
[   38.098962] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   38.098962] 
[   38.099833] Out-of-bounds read at 0x00000000c873d958 (1B left of kfence-#128):
[   38.100718]  test_out_of_bounds_read+0x114/0x3e0
[   38.101325]  test_out_of_bounds_read+0xdc/0x3e0
[   38.102040]  kunit_try_run_case+0x14c/0x3d0
[   38.102732]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.103337]  kthread+0x24c/0x2d0
[   38.103925]  ret_from_fork+0x10/0x20
[   38.104601] 
[   38.104977] kfence-#128: 0x0000000053c348f8-0x000000004c5c4abd, size=32, cache=test
[   38.104977] 
[   38.105945] allocated by task 277 on cpu 0 at 38.097975s (0.007925s ago):
[   38.106910]  test_alloc+0x22c/0x620
[   38.107526]  test_out_of_bounds_read+0xdc/0x3e0
[   38.108200]  kunit_try_run_case+0x14c/0x3d0
[   38.108799]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.109348]  kthread+0x24c/0x2d0
[   38.109895]  ret_from_fork+0x10/0x20
[   38.110480] 
[   38.110860] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   38.111979] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.112444] Hardware name: linux,dummy-virt (DT)
[   38.113052] ==================================================================
[   37.682947] ==================================================================
[   37.683785] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   37.683785] 
[   37.684721] Out-of-bounds read at 0x00000000cba0af09 (1B left of kfence-#124):
[   37.686214]  test_out_of_bounds_read+0x114/0x3e0
[   37.686897]  test_out_of_bounds_read+0xdc/0x3e0
[   37.687600]  kunit_try_run_case+0x14c/0x3d0
[   37.688337]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.688971]  kthread+0x24c/0x2d0
[   37.689569]  ret_from_fork+0x10/0x20
[   37.690198] 
[   37.690977] kfence-#124: 0x00000000ad559932-0x000000009c8bba09, size=32, cache=kmalloc-32
[   37.690977] 
[   37.692284] allocated by task 275 on cpu 1 at 37.681696s (0.010440s ago):
[   37.693785]  test_alloc+0x298/0x620
[   37.694294]  test_out_of_bounds_read+0xdc/0x3e0
[   37.694947]  kunit_try_run_case+0x14c/0x3d0
[   37.695544]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.696253]  kthread+0x24c/0x2d0
[   37.696796]  ret_from_fork+0x10/0x20
[   37.697570] 
[   37.698074] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   37.699175] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.699713] Hardware name: linux,dummy-virt (DT)
[   37.700356] ==================================================================
[   37.786230] ==================================================================
[   37.786953] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   37.786953] 
[   37.787832] Out-of-bounds read at 0x00000000eda49ade (32B right of kfence-#125):
[   37.788685]  test_out_of_bounds_read+0x1c8/0x3e0
[   37.789230]  test_out_of_bounds_read+0x198/0x3e0
[   37.789884]  kunit_try_run_case+0x14c/0x3d0
[   37.790445]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.791158]  kthread+0x24c/0x2d0
[   37.791719]  ret_from_fork+0x10/0x20
[   37.792272] 
[   37.792641] kfence-#125: 0x00000000904cf1b3-0x000000008480aa66, size=32, cache=kmalloc-32
[   37.792641] 
[   37.793690] allocated by task 275 on cpu 1 at 37.785765s (0.007914s ago):
[   37.794571]  test_alloc+0x298/0x620
[   37.795139]  test_out_of_bounds_read+0x198/0x3e0
[   37.795804]  kunit_try_run_case+0x14c/0x3d0
[   37.796406]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.797034]  kthread+0x24c/0x2d0
[   37.797538]  ret_from_fork+0x10/0x20
[   37.798107] 
[   37.798501] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   37.799494] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.800069] Hardware name: linux,dummy-virt (DT)
[   37.800603] ==================================================================
[   38.305931] ==================================================================
[   38.306810] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   38.306810] 
[   38.307644] Out-of-bounds read at 0x00000000aa410bad (32B right of kfence-#130):
[   38.308513]  test_out_of_bounds_read+0x1c8/0x3e0
[   38.309206]  test_out_of_bounds_read+0x198/0x3e0
[   38.309793]  kunit_try_run_case+0x14c/0x3d0
[   38.310333]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.311043]  kthread+0x24c/0x2d0
[   38.311627]  ret_from_fork+0x10/0x20
[   38.312201] 
[   38.312561] kfence-#130: 0x00000000f9f9b5f5-0x00000000864333b8, size=32, cache=test
[   38.312561] 
[   38.313508] allocated by task 277 on cpu 0 at 38.305774s (0.007723s ago):
[   38.314373]  test_alloc+0x22c/0x620
[   38.314865]  test_out_of_bounds_read+0x198/0x3e0
[   38.315479]  kunit_try_run_case+0x14c/0x3d0
[   38.316103]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.316860]  kthread+0x24c/0x2d0
[   38.317336]  ret_from_fork+0x10/0x20
[   38.317885] 
[   38.318284] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   38.319282] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.319766] Hardware name: linux,dummy-virt (DT)
[   38.320299] ==================================================================

[   29.731828] ==================================================================
[   29.732540] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   29.732540] 
[   29.733361] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#99):
[   29.734082]  test_out_of_bounds_read+0x127/0x4e0
[   29.734903]  kunit_try_run_case+0x1b3/0x490
[   29.735782]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.736574]  kthread+0x257/0x310
[   29.737196]  ret_from_fork+0x41/0x80
[   29.737728]  ret_from_fork_asm+0x1a/0x30
[   29.738308] 
[   29.738494] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.738494] 
[   29.739553] allocated by task 297 on cpu 0 at 29.731734s (0.007815s ago):
[   29.740399]  test_alloc+0x2a7/0x10d0
[   29.740765]  test_out_of_bounds_read+0xee/0x4e0
[   29.741605]  kunit_try_run_case+0x1b3/0x490
[   29.742265]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.742658]  kthread+0x257/0x310
[   29.743305]  ret_from_fork+0x41/0x80
[   29.743663]  ret_from_fork_asm+0x1a/0x30
[   29.744260] 
[   29.744557] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   29.745677] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.746213] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.747016] ==================================================================
[   29.419982] ==================================================================
[   29.420743] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   29.420743] 
[   29.421578] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#96):
[   29.422167]  test_out_of_bounds_read+0x217/0x4e0
[   29.422746]  kunit_try_run_case+0x1b3/0x490
[   29.423208]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.423590]  kthread+0x257/0x310
[   29.424033]  ret_from_fork+0x41/0x80
[   29.424502]  ret_from_fork_asm+0x1a/0x30
[   29.424868] 
[   29.425066] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.425066] 
[   29.425836] allocated by task 295 on cpu 1 at 29.419728s (0.006103s ago):
[   29.426786]  test_alloc+0x35f/0x10d0
[   29.427052]  test_out_of_bounds_read+0x1e3/0x4e0
[   29.427623]  kunit_try_run_case+0x1b3/0x490
[   29.428101]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.428541]  kthread+0x257/0x310
[   29.428881]  ret_from_fork+0x41/0x80
[   29.429321]  ret_from_fork_asm+0x1a/0x30
[   29.429919] 
[   29.430122] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   29.430987] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.431444] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.432021] ==================================================================
[   29.109377] ==================================================================
[   29.110169] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   29.110169] 
[   29.110865] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#93):
[   29.111955]  test_out_of_bounds_read+0x127/0x4e0
[   29.112468]  kunit_try_run_case+0x1b3/0x490
[   29.112971]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.113441]  kthread+0x257/0x310
[   29.113895]  ret_from_fork+0x41/0x80
[   29.114189]  ret_from_fork_asm+0x1a/0x30
[   29.114640] 
[   29.115211] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.115211] 
[   29.116621] allocated by task 295 on cpu 1 at 29.107747s (0.008753s ago):
[   29.117904]  test_alloc+0x35f/0x10d0
[   29.118466]  test_out_of_bounds_read+0xee/0x4e0
[   29.119002]  kunit_try_run_case+0x1b3/0x490
[   29.119430]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.119805]  kthread+0x257/0x310
[   29.120235]  ret_from_fork+0x41/0x80
[   29.120652]  ret_from_fork_asm+0x1a/0x30
[   29.121149] 
[   29.121431] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   29.122077] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.122683] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.123478] ==================================================================
[   30.147835] ==================================================================
[   30.148544] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   30.148544] 
[   30.149220] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#103):
[   30.150040]  test_out_of_bounds_read+0x217/0x4e0
[   30.150768]  kunit_try_run_case+0x1b3/0x490
[   30.151112]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.151688]  kthread+0x257/0x310
[   30.151972]  ret_from_fork+0x41/0x80
[   30.152739]  ret_from_fork_asm+0x1a/0x30
[   30.153167] 
[   30.153356] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.153356] 
[   30.154511] allocated by task 297 on cpu 0 at 30.147752s (0.006754s ago):
[   30.154991]  test_alloc+0x2a7/0x10d0
[   30.155612]  test_out_of_bounds_read+0x1e3/0x4e0
[   30.156132]  kunit_try_run_case+0x1b3/0x490
[   30.156520]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.157106]  kthread+0x257/0x310
[   30.157520]  ret_from_fork+0x41/0x80
[   30.157834]  ret_from_fork_asm+0x1a/0x30
[   30.158130] 
[   30.158457] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241128 #1
[   30.159907] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.160398] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.161116] ==================================================================