Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-arm64
qemu-i386

[  185.087969] ==================================================================
[  185.089530] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xdc/0x278
[  185.089530] 
[  185.091598] Out-of-bounds read at 0x000000002cff838b (1B left of kfence-#2):
[  185.093309]  test_out_of_bounds_read+0xdc/0x278
[  185.094756]  kunit_try_run_case+0xf8/0x260
[  185.095974]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.097430]  kthread+0x18c/0x1a8
[  185.098421]  ret_from_fork+0x10/0x20
[  185.099492] 
[  185.100013] kfence-#2: 0x00000000dcb8817d-0x000000003de44844, size=32, cache=kmalloc-32
[  185.100013] 
[  185.101995] allocated by task 231 on cpu 1 at 185.087254s:
[  185.103848]  test_alloc+0x224/0x3d8
[  185.104821]  test_out_of_bounds_read+0xcc/0x278
[  185.106148]  kunit_try_run_case+0xf8/0x260
[  185.107387]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.108832]  kthread+0x18c/0x1a8
[  185.109829]  ret_from_fork+0x10/0x20
[  185.110964] 
[  185.111662] CPU: 1 PID: 231 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  185.113486] Hardware name: linux,dummy-virt (DT)
[  185.114659] ==================================================================
[  185.399115] ==================================================================
[  185.400346] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x120/0x278
[  185.400346] 
[  185.402406] Out-of-bounds read at 0x000000002663a7ea (32B right of kfence-#30):
[  185.404152]  test_out_of_bounds_read+0x120/0x278
[  185.405468]  kunit_try_run_case+0xf8/0x260
[  185.406733]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.408173]  kthread+0x18c/0x1a8
[  185.409151]  ret_from_fork+0x10/0x20
[  185.410310] 
[  185.410938] kfence-#30: 0x00000000c64980a9-0x000000009df408e5, size=32, cache=test
[  185.410938] 
[  185.412781] allocated by task 233 on cpu 0 at 185.398749s:
[  185.414475]  test_alloc+0x1b8/0x3d8
[  185.415429]  test_out_of_bounds_read+0x110/0x278
[  185.416747]  kunit_try_run_case+0xf8/0x260
[  185.417952]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.419408]  kthread+0x18c/0x1a8
[  185.420401]  ret_from_fork+0x10/0x20
[  185.421517] 
[  185.422164] CPU: 0 PID: 233 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  185.423955] Hardware name: linux,dummy-virt (DT)
[  185.425071] ==================================================================
[  185.191079] ==================================================================
[  185.192371] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x120/0x278
[  185.192371] 
[  185.194621] Out-of-bounds read at 0x00000000e5087d93 (32B right of kfence-#11):
[  185.196005]  test_out_of_bounds_read+0x120/0x278
[  185.197330]  kunit_try_run_case+0xf8/0x260
[  185.198533]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.199984]  kthread+0x18c/0x1a8
[  185.200968]  ret_from_fork+0x10/0x20
[  185.202019] 
[  185.202559] kfence-#11: 0x000000005e00d4b9-0x000000004a729e6e, size=32, cache=kmalloc-32
[  185.202559] 
[  185.204412] allocated by task 231 on cpu 1 at 185.190648s:
[  185.206098]  test_alloc+0x224/0x3d8
[  185.207068]  test_out_of_bounds_read+0x110/0x278
[  185.208349]  kunit_try_run_case+0xf8/0x260
[  185.209513]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.210976]  kthread+0x18c/0x1a8
[  185.211930]  ret_from_fork+0x10/0x20
[  185.213001] 
[  185.213493] CPU: 1 PID: 231 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  185.215324] Hardware name: linux,dummy-virt (DT)
[  185.216423] ==================================================================
[  185.294645] ==================================================================
[  185.296045] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xdc/0x278
[  185.296045] 
[  185.298012] Out-of-bounds read at 0x000000004e4d7f8b (1B left of kfence-#24):
[  185.299539]  test_out_of_bounds_read+0xdc/0x278
[  185.300943]  kunit_try_run_case+0xf8/0x260
[  185.302150]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.303613]  kthread+0x18c/0x1a8
[  185.304603]  ret_from_fork+0x10/0x20
[  185.305676] 
[  185.306213] kfence-#24: 0x000000007e4c7e50-0x00000000d76af62b, size=32, cache=test
[  185.306213] 
[  185.307994] allocated by task 233 on cpu 0 at 185.294236s:
[  185.309548]  test_alloc+0x1b8/0x3d8
[  185.310551]  test_out_of_bounds_read+0xcc/0x278
[  185.311828]  kunit_try_run_case+0xf8/0x260
[  185.312991]  kunit_generic_run_threadfn_adapter+0x38/0x60
[  185.314399]  kthread+0x18c/0x1a8
[  185.315362]  ret_from_fork+0x10/0x20
[  185.316409] 
[  185.317029] CPU: 0 PID: 233 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[  185.318755] Hardware name: linux,dummy-virt (DT)
[  185.319845] ==================================================================


[   37.323381] ==================================================================
[   37.323732] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x6f/0x1d8
[   37.323732] 
[   37.324837] Out-of-bounds read at 0x(ptrval) (1B left of kfence-#16):
[   37.325585]  test_out_of_bounds_read+0x6f/0x1d8
[   37.325987]  kunit_try_run_case+0x8a/0x1c4
[   37.326195]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.326604]  kthread+0xe0/0x108
[   37.326772]  ret_from_fork+0x40/0x4c
[   37.327053]  ret_from_fork_asm+0x12/0x18
[   37.327328]  restore_all_switch_stack+0x0/0xc3
[   37.327602] 
[   37.327940] kfence-#16: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   37.327940] 
[   37.328615] allocated by task 133 on cpu 1 at 37.322417s:
[   37.329568]  test_alloc+0x153/0x2d4
[   37.329869]  test_out_of_bounds_read+0x67/0x1d8
[   37.330042]  kunit_try_run_case+0x8a/0x1c4
[   37.330210]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.330609]  kthread+0xe0/0x108
[   37.330895]  ret_from_fork+0x40/0x4c
[   37.331177]  ret_from_fork_asm+0x12/0x18
[   37.331325]  restore_all_switch_stack+0x0/0xc3
[   37.331775] 
[   37.332375] CPU: 1 PID: 133 Comm: kunit_try_catch Tainted: G                 N 6.6.76-rc1 #1
[   37.332739] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.333465] ==================================================================
[   37.738552] ==================================================================
[   37.738884] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xaf/0x1d8
[   37.738884] 
[   37.739223] Out-of-bounds read at 0x(ptrval) (32B right of kfence-#20):
[   37.739664]  test_out_of_bounds_read+0xaf/0x1d8
[   37.739934]  kunit_try_run_case+0x8a/0x1c4
[   37.740167]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.740542]  kthread+0xe0/0x108
[   37.740734]  ret_from_fork+0x40/0x4c
[   37.740923]  ret_from_fork_asm+0x12/0x18
[   37.741212]  restore_all_switch_stack+0x0/0xc3
[   37.741454] 
[   37.741657] kfence-#20: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   37.741657] 
[   37.741988] allocated by task 135 on cpu 0 at 37.738515s:
[   37.742433]  test_alloc+0xed/0x2d4
[   37.742709]  test_out_of_bounds_read+0xa8/0x1d8
[   37.742926]  kunit_try_run_case+0x8a/0x1c4
[   37.743107]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.743309]  kthread+0xe0/0x108
[   37.743471]  ret_from_fork+0x40/0x4c
[   37.743744]  ret_from_fork_asm+0x12/0x18
[   37.744075]  restore_all_switch_stack+0x0/0xc3
[   37.744419] 
[   37.744535] CPU: 0 PID: 135 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   37.744967] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.745302] ==================================================================
[   37.530643] ==================================================================
[   37.531132] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xaf/0x1d8
[   37.531132] 
[   37.531872] Out-of-bounds read at 0x(ptrval) (32B right of kfence-#18):
[   37.532389]  test_out_of_bounds_read+0xaf/0x1d8
[   37.532742]  kunit_try_run_case+0x8a/0x1c4
[   37.533065]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.534341]  kthread+0xe0/0x108
[   37.534823]  ret_from_fork+0x40/0x4c
[   37.535347]  ret_from_fork_asm+0x12/0x18
[   37.535572]  restore_all_switch_stack+0x0/0xc3
[   37.535947] 
[   37.536032] kfence-#18: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   37.536032] 
[   37.536777] allocated by task 133 on cpu 0 at 37.530503s:
[   37.537306]  test_alloc+0x153/0x2d4
[   37.537484]  test_out_of_bounds_read+0xa8/0x1d8
[   37.537805]  kunit_try_run_case+0x8a/0x1c4
[   37.538020]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.538420]  kthread+0xe0/0x108
[   37.538644]  ret_from_fork+0x40/0x4c
[   37.538835]  ret_from_fork_asm+0x12/0x18
[   37.539016]  restore_all_switch_stack+0x0/0xc3
[   37.539272] 
[   37.539417] CPU: 0 PID: 133 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   37.539833] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.540117] ==================================================================
[   37.634536] ==================================================================
[   37.634988] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x6f/0x1d8
[   37.634988] 
[   37.635635] Out-of-bounds read at 0x(ptrval) (1B left of kfence-#19):
[   37.635946]  test_out_of_bounds_read+0x6f/0x1d8
[   37.636338]  kunit_try_run_case+0x8a/0x1c4
[   37.636617]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.636786]  kthread+0xe0/0x108
[   37.636918]  ret_from_fork+0x40/0x4c
[   37.637054]  ret_from_fork_asm+0x12/0x18
[   37.637378]  restore_all_switch_stack+0x0/0xc3
[   37.637743] 
[   37.637889] kfence-#19: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   37.637889] 
[   37.638578] allocated by task 135 on cpu 0 at 37.634501s:
[   37.639072]  test_alloc+0xed/0x2d4
[   37.639357]  test_out_of_bounds_read+0x67/0x1d8
[   37.639682]  kunit_try_run_case+0x8a/0x1c4
[   37.640036]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   37.640487]  kthread+0xe0/0x108
[   37.640807]  ret_from_fork+0x40/0x4c
[   37.641011]  ret_from_fork_asm+0x12/0x18
[   37.641335]  restore_all_switch_stack+0x0/0xc3
[   37.641535] 
[   37.641621] CPU: 0 PID: 135 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   37.641890] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.642333] ==================================================================