Hay
Date
Dec. 9, 2024, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   32.759795] ==================================================================
[   32.760468] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   32.760468] 
[   32.761234] Invalid free of 0x00000000a6545384 (in kfence-#120):
[   32.761893]  test_double_free+0x100/0x238
[   32.762410]  kunit_try_run_case+0x14c/0x3d0
[   32.763039]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.763745]  kthread+0x24c/0x2d0
[   32.764220]  ret_from_fork+0x10/0x20
[   32.764780] 
[   32.765136] kfence-#120: 0x00000000a6545384-0x000000002975f454, size=32, cache=test
[   32.765136] 
[   32.766040] allocated by task 293 on cpu 0 at 32.759429s (0.006600s ago):
[   32.766931]  test_alloc+0x22c/0x620
[   32.767492]  test_double_free+0xd4/0x238
[   32.768069]  kunit_try_run_case+0x14c/0x3d0
[   32.768584]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.769341]  kthread+0x24c/0x2d0
[   32.769824]  ret_from_fork+0x10/0x20
[   32.770400] 
[   32.770734] freed by task 293 on cpu 0 at 32.759522s (0.011201s ago):
[   32.771485]  test_double_free+0xf0/0x238
[   32.772127]  kunit_try_run_case+0x14c/0x3d0
[   32.772648]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.773436]  kthread+0x24c/0x2d0
[   32.773987]  ret_from_fork+0x10/0x20
[   32.774539] 
[   32.774883] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   32.776032] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.776571] Hardware name: linux,dummy-virt (DT)
[   32.777157] ==================================================================
[   32.656008] ==================================================================
[   32.656860] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   32.656860] 
[   32.657559] Invalid free of 0x00000000a76696e7 (in kfence-#119):
[   32.658365]  test_double_free+0x1bc/0x238
[   32.658946]  kunit_try_run_case+0x14c/0x3d0
[   32.659585]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.660268]  kthread+0x24c/0x2d0
[   32.660785]  ret_from_fork+0x10/0x20
[   32.661353] 
[   32.661691] kfence-#119: 0x00000000a76696e7-0x00000000983d1e6f, size=32, cache=kmalloc-32
[   32.661691] 
[   32.662687] allocated by task 291 on cpu 1 at 32.655516s (0.007162s ago):
[   32.663653]  test_alloc+0x298/0x620
[   32.664183]  test_double_free+0xd4/0x238
[   32.664825]  kunit_try_run_case+0x14c/0x3d0
[   32.665474]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.666150]  kthread+0x24c/0x2d0
[   32.666784]  ret_from_fork+0x10/0x20
[   32.667335] 
[   32.667712] freed by task 291 on cpu 1 at 32.655636s (0.012049s ago):
[   32.668443]  test_double_free+0x1ac/0x238
[   32.669062]  kunit_try_run_case+0x14c/0x3d0
[   32.669631]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.670270]  kthread+0x24c/0x2d0
[   32.670864]  ret_from_fork+0x10/0x20
[   32.671369] 
[   32.671739] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   32.672852] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.673367] Hardware name: linux,dummy-virt (DT)
[   32.673947] ==================================================================

[   34.093102] ==================================================================
[   34.093815] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260
[   34.093815] 
[   34.094510] Invalid free of 0x(____ptrval____) (in kfence-#112):
[   34.095450]  test_double_free+0x1d5/0x260
[   34.095807]  kunit_try_run_case+0x1b3/0x490
[   34.096329]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.096678]  kthread+0x257/0x310
[   34.097273]  ret_from_fork+0x41/0x80
[   34.097748]  ret_from_fork_asm+0x1a/0x30
[   34.098068] 
[   34.098348] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.098348] 
[   34.099163] allocated by task 310 on cpu 0 at 34.092737s (0.006422s ago):
[   34.099852]  test_alloc+0x35f/0x10d0
[   34.100338]  test_double_free+0xdc/0x260
[   34.100652]  kunit_try_run_case+0x1b3/0x490
[   34.100945]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.101785]  kthread+0x257/0x310
[   34.102069]  ret_from_fork+0x41/0x80
[   34.102445]  ret_from_fork_asm+0x1a/0x30
[   34.103060] 
[   34.103333] freed by task 310 on cpu 0 at 34.092831s (0.010498s ago):
[   34.103956]  test_double_free+0x1e2/0x260
[   34.104293]  kunit_try_run_case+0x1b3/0x490
[   34.104643]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.105289]  kthread+0x257/0x310
[   34.105750]  ret_from_fork+0x41/0x80
[   34.106037]  ret_from_fork_asm+0x1a/0x30
[   34.106352] 
[   34.106656] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.107934] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.108233] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.108852] ==================================================================
[   34.196990] ==================================================================
[   34.197844] BUG: KFENCE: invalid free in test_double_free+0x113/0x260
[   34.197844] 
[   34.198345] Invalid free of 0x(____ptrval____) (in kfence-#113):
[   34.198958]  test_double_free+0x113/0x260
[   34.200176]  kunit_try_run_case+0x1b3/0x490
[   34.200615]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.201655]  kthread+0x257/0x310
[   34.202025]  ret_from_fork+0x41/0x80
[   34.202422]  ret_from_fork_asm+0x1a/0x30
[   34.202911] 
[   34.203090] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.203090] 
[   34.203957] allocated by task 312 on cpu 0 at 34.196740s (0.007213s ago):
[   34.204442]  test_alloc+0x2a7/0x10d0
[   34.204942]  test_double_free+0xdc/0x260
[   34.205385]  kunit_try_run_case+0x1b3/0x490
[   34.205752]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.206342]  kthread+0x257/0x310
[   34.206788]  ret_from_fork+0x41/0x80
[   34.207221]  ret_from_fork_asm+0x1a/0x30
[   34.207723] 
[   34.207988] freed by task 312 on cpu 0 at 34.196824s (0.011159s ago):
[   34.208426]  test_double_free+0xfb/0x260
[   34.208950]  kunit_try_run_case+0x1b3/0x490
[   34.209487]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.210058]  kthread+0x257/0x310
[   34.210421]  ret_from_fork+0x41/0x80
[   34.210723]  ret_from_fork_asm+0x1a/0x30
[   34.211158] 
[   34.211480] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   34.212544] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.213023] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.213684] ==================================================================