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

Environment
qemu-arm64
qemu-x86_64

[   41.427151] ==================================================================
[   41.428061] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   41.428061] 
[   41.428866] Invalid free of 0x00000000e67ff70e (in kfence-#144):
[   41.429796]  test_double_free+0x100/0x238
[   41.430320]  kunit_try_run_case+0x14c/0x3d0
[   41.431193]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.431896]  kthread+0x24c/0x2d0
[   41.432503]  ret_from_fork+0x10/0x20
[   41.433144] 
[   41.433473] kfence-#144: 0x00000000e67ff70e-0x000000009e384c8d, size=32, cache=test
[   41.433473] 
[   41.434691] allocated by task 293 on cpu 1 at 41.426657s (0.008024s ago):
[   41.435705]  test_alloc+0x22c/0x620
[   41.436434]  test_double_free+0xd4/0x238
[   41.437150]  kunit_try_run_case+0x14c/0x3d0
[   41.437793]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.438737]  kthread+0x24c/0x2d0
[   41.439283]  ret_from_fork+0x10/0x20
[   41.439863] 
[   41.440250] freed by task 293 on cpu 1 at 41.426764s (0.013476s ago):
[   41.441104]  test_double_free+0xf0/0x238
[   41.441692]  kunit_try_run_case+0x14c/0x3d0
[   41.442499]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.443172]  kthread+0x24c/0x2d0
[   41.443829]  ret_from_fork+0x10/0x20
[   41.444443] 
[   41.444945] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.446141] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.446774] Hardware name: linux,dummy-virt (DT)
[   41.447382] ==================================================================
[   41.323256] ==================================================================
[   41.324191] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   41.324191] 
[   41.324984] Invalid free of 0x00000000317517ed (in kfence-#143):
[   41.326427]  test_double_free+0x1bc/0x238
[   41.326985]  kunit_try_run_case+0x14c/0x3d0
[   41.327850]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.328476]  kthread+0x24c/0x2d0
[   41.329149]  ret_from_fork+0x10/0x20
[   41.329711] 
[   41.330086] kfence-#143: 0x00000000317517ed-0x000000004c9a0283, size=32, cache=kmalloc-32
[   41.330086] 
[   41.331324] allocated by task 291 on cpu 0 at 41.322692s (0.008623s ago):
[   41.332115]  test_alloc+0x298/0x620
[   41.332807]  test_double_free+0xd4/0x238
[   41.333391]  kunit_try_run_case+0x14c/0x3d0
[   41.333989]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.334595]  kthread+0x24c/0x2d0
[   41.335246]  ret_from_fork+0x10/0x20
[   41.335816] 
[   41.336242] freed by task 291 on cpu 0 at 41.322817s (0.013416s ago):
[   41.337062]  test_double_free+0x1ac/0x238
[   41.337760]  kunit_try_run_case+0x14c/0x3d0
[   41.338489]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.339241]  kthread+0x24c/0x2d0
[   41.339846]  ret_from_fork+0x10/0x20
[   41.340470] 
[   41.340928] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   41.342119] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.342782] Hardware name: linux,dummy-virt (DT)
[   41.343509] ==================================================================

[   32.696077] ==================================================================
[   32.696727] BUG: KFENCE: invalid free in test_double_free+0x113/0x260
[   32.696727] 
[   32.697378] Invalid free of 0x(____ptrval____) (in kfence-#115):
[   32.697878]  test_double_free+0x113/0x260
[   32.698286]  kunit_try_run_case+0x1b3/0x490
[   32.698732]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.699619]  kthread+0x257/0x310
[   32.700304]  ret_from_fork+0x41/0x80
[   32.700944]  ret_from_fork_asm+0x1a/0x30
[   32.701626] 
[   32.701793] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.701793] 
[   32.702787] allocated by task 313 on cpu 0 at 32.695832s (0.006951s ago):
[   32.703559]  test_alloc+0x2a7/0x10d0
[   32.703998]  test_double_free+0xdc/0x260
[   32.704449]  kunit_try_run_case+0x1b3/0x490
[   32.705015]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.705430]  kthread+0x257/0x310
[   32.705976]  ret_from_fork+0x41/0x80
[   32.706471]  ret_from_fork_asm+0x1a/0x30
[   32.706835] 
[   32.707081] freed by task 313 on cpu 0 at 32.695921s (0.011156s ago):
[   32.707641]  test_double_free+0xfb/0x260
[   32.708197]  kunit_try_run_case+0x1b3/0x490
[   32.708671]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.709301]  kthread+0x257/0x310
[   32.709715]  ret_from_fork+0x41/0x80
[   32.710182]  ret_from_fork_asm+0x1a/0x30
[   32.710707] 
[   32.711015] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   32.712052] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.712608] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.713477] ==================================================================
[   32.592438] ==================================================================
[   32.593157] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260
[   32.593157] 
[   32.594857] Invalid free of 0x(____ptrval____) (in kfence-#114):
[   32.595995]  test_double_free+0x1d5/0x260
[   32.596819]  kunit_try_run_case+0x1b3/0x490
[   32.597607]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.598144]  kthread+0x257/0x310
[   32.598880]  ret_from_fork+0x41/0x80
[   32.599274]  ret_from_fork_asm+0x1a/0x30
[   32.600097] 
[   32.600566] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.600566] 
[   32.601892] allocated by task 311 on cpu 1 at 32.591998s (0.009891s ago):
[   32.602995]  test_alloc+0x35f/0x10d0
[   32.603587]  test_double_free+0xdc/0x260
[   32.603992]  kunit_try_run_case+0x1b3/0x490
[   32.604778]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.605586]  kthread+0x257/0x310
[   32.606019]  ret_from_fork+0x41/0x80
[   32.606511]  ret_from_fork_asm+0x1a/0x30
[   32.606964] 
[   32.607430] freed by task 311 on cpu 1 at 32.592076s (0.015349s ago):
[   32.608148]  test_double_free+0x1e2/0x260
[   32.608830]  kunit_try_run_case+0x1b3/0x490
[   32.609398]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.610482]  kthread+0x257/0x310
[   32.610880]  ret_from_fork+0x41/0x80
[   32.611270]  ret_from_fork_asm+0x1a/0x30
[   32.611749] 
[   32.612049] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   32.613706] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.614024] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.615140] ==================================================================