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

Environment
qemu-arm64
qemu-x86_64

[   41.530845] ==================================================================
[   41.531823] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   41.531823] 
[   41.532611] Invalid free of 0x00000000bf589abd (in kfence-#145):
[   41.533349]  test_invalid_addr_free+0x1ac/0x238
[   41.534531]  kunit_try_run_case+0x14c/0x3d0
[   41.535290]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.536034]  kthread+0x24c/0x2d0
[   41.536616]  ret_from_fork+0x10/0x20
[   41.537246] 
[   41.537562] kfence-#145: 0x00000000fc9d4e1e-0x0000000044d87612, size=32, cache=kmalloc-32
[   41.537562] 
[   41.538672] allocated by task 295 on cpu 0 at 41.530589s (0.008072s ago):
[   41.539583]  test_alloc+0x298/0x620
[   41.540241]  test_invalid_addr_free+0xd4/0x238
[   41.541086]  kunit_try_run_case+0x14c/0x3d0
[   41.541808]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.542619]  kthread+0x24c/0x2d0
[   41.543130]  ret_from_fork+0x10/0x20
[   41.543819] 
[   41.544290] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.545493] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.546123] Hardware name: linux,dummy-virt (DT)
[   41.546775] ==================================================================
[   41.634806] ==================================================================
[   41.635881] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   41.635881] 
[   41.636794] Invalid free of 0x00000000daab33ce (in kfence-#146):
[   41.637578]  test_invalid_addr_free+0xec/0x238
[   41.639143]  kunit_try_run_case+0x14c/0x3d0
[   41.639817]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.640570]  kthread+0x24c/0x2d0
[   41.641243]  ret_from_fork+0x10/0x20
[   41.642095] 
[   41.642539] kfence-#146: 0x00000000eb414d9d-0x000000009e8cf10c, size=32, cache=test
[   41.642539] 
[   41.644013] allocated by task 297 on cpu 1 at 41.634584s (0.009417s ago):
[   41.645022]  test_alloc+0x22c/0x620
[   41.645769]  test_invalid_addr_free+0xd4/0x238
[   41.646506]  kunit_try_run_case+0x14c/0x3d0
[   41.647191]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.648232]  kthread+0x24c/0x2d0
[   41.648851]  ret_from_fork+0x10/0x20
[   41.649394] 
[   41.649784] CPU: 1 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.650959] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.651452] Hardware name: linux,dummy-virt (DT)
[   41.652280] ==================================================================

[   32.904062] ==================================================================
[   32.904761] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfc/0x260
[   32.904761] 
[   32.905666] Invalid free of 0x(____ptrval____) (in kfence-#117):
[   32.906024]  test_invalid_addr_free+0xfc/0x260
[   32.906237]  kunit_try_run_case+0x1b3/0x490
[   32.906610]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.907238]  kthread+0x257/0x310
[   32.907759]  ret_from_fork+0x41/0x80
[   32.908220]  ret_from_fork_asm+0x1a/0x30
[   32.908507] 
[   32.908723] kfence-#117: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.908723] 
[   32.910499] allocated by task 317 on cpu 0 at 32.903895s (0.006599s ago):
[   32.911234]  test_alloc+0x2a7/0x10d0
[   32.911700]  test_invalid_addr_free+0xdc/0x260
[   32.912196]  kunit_try_run_case+0x1b3/0x490
[   32.912878]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.913608]  kthread+0x257/0x310
[   32.914012]  ret_from_fork+0x41/0x80
[   32.914331]  ret_from_fork_asm+0x1a/0x30
[   32.914815] 
[   32.915122] CPU: 0 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   32.915999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.916406] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.917170] ==================================================================
[   32.800083] ==================================================================
[   32.800878] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e3/0x260
[   32.800878] 
[   32.801579] Invalid free of 0x(____ptrval____) (in kfence-#116):
[   32.802230]  test_invalid_addr_free+0x1e3/0x260
[   32.802753]  kunit_try_run_case+0x1b3/0x490
[   32.803355]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.804102]  kthread+0x257/0x310
[   32.804704]  ret_from_fork+0x41/0x80
[   32.805136]  ret_from_fork_asm+0x1a/0x30
[   32.805559] 
[   32.805719] kfence-#116: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.805719] 
[   32.806703] allocated by task 315 on cpu 1 at 32.799890s (0.006809s ago):
[   32.807174]  test_alloc+0x35f/0x10d0
[   32.807986]  test_invalid_addr_free+0xdc/0x260
[   32.808328]  kunit_try_run_case+0x1b3/0x490
[   32.808862]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.809520]  kthread+0x257/0x310
[   32.810070]  ret_from_fork+0x41/0x80
[   32.810505]  ret_from_fork_asm+0x1a/0x30
[   32.810933] 
[   32.811266] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   32.812169] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.812452] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.813773] ==================================================================