Hay
Date
Nov. 26, 2024, 6:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   39.749597] ==================================================================
[   39.750490] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   39.750490] 
[   39.751494] Invalid free of 0x000000001d1b7f50 (in kfence-#156):
[   39.752148]  test_double_free+0x1bc/0x238
[   39.753457]  kunit_try_run_case+0x14c/0x3d0
[   39.754291]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.755217]  kthread+0x24c/0x2d0
[   39.755977]  ret_from_fork+0x10/0x20
[   39.756746] 
[   39.757188] kfence-#156: 0x000000001d1b7f50-0x0000000025a1d3ac, size=32, cache=kmalloc-32
[   39.757188] 
[   39.758216] allocated by task 292 on cpu 0 at 39.749137s (0.009068s ago):
[   39.759262]  test_alloc+0x298/0x620
[   39.759732]  test_double_free+0xd4/0x238
[   39.760239]  kunit_try_run_case+0x14c/0x3d0
[   39.760753]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.761888]  kthread+0x24c/0x2d0
[   39.762392]  ret_from_fork+0x10/0x20
[   39.763034] 
[   39.763402] freed by task 292 on cpu 0 at 39.749269s (0.014123s ago):
[   39.764196]  test_double_free+0x1ac/0x238
[   39.764886]  kunit_try_run_case+0x14c/0x3d0
[   39.765569]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.766324]  kthread+0x24c/0x2d0
[   39.766878]  ret_from_fork+0x10/0x20
[   39.767496] 
[   39.767934] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   39.769075] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.769634] Hardware name: linux,dummy-virt (DT)
[   39.770253] ==================================================================
[   39.853504] ==================================================================
[   39.854280] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   39.854280] 
[   39.854998] Invalid free of 0x0000000018b95eb7 (in kfence-#157):
[   39.855815]  test_double_free+0x100/0x238
[   39.856501]  kunit_try_run_case+0x14c/0x3d0
[   39.857086]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.857858]  kthread+0x24c/0x2d0
[   39.858397]  ret_from_fork+0x10/0x20
[   39.859027] 
[   39.859344] kfence-#157: 0x0000000018b95eb7-0x000000001110de10, size=32, cache=test
[   39.859344] 
[   39.860195] allocated by task 294 on cpu 0 at 39.853104s (0.007079s ago):
[   39.861129]  test_alloc+0x22c/0x620
[   39.861711]  test_double_free+0xd4/0x238
[   39.862349]  kunit_try_run_case+0x14c/0x3d0
[   39.862958]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.863563]  kthread+0x24c/0x2d0
[   39.864143]  ret_from_fork+0x10/0x20
[   39.864738] 
[   39.865130] freed by task 294 on cpu 0 at 39.853209s (0.011910s ago):
[   39.866009]  test_double_free+0xf0/0x238
[   39.866499]  kunit_try_run_case+0x14c/0x3d0
[   39.867171]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.867814]  kthread+0x24c/0x2d0
[   39.868406]  ret_from_fork+0x10/0x20
[   39.868894] 
[   39.869327] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   39.870413] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.870881] Hardware name: linux,dummy-virt (DT)
[   39.871548] ==================================================================

[   40.842978] ==================================================================
[   40.843857] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   40.843857] 
[   40.844625] Invalid free of 0x000000000143a3fb (in kfence-#151):
[   40.845446]  test_double_free+0x1bc/0x238
[   40.845967]  kunit_try_run_case+0x14c/0x3d0
[   40.846668]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.847432]  kthread+0x24c/0x2d0
[   40.848081]  ret_from_fork+0x10/0x20
[   40.848740] 
[   40.849052] kfence-#151: 0x000000000143a3fb-0x000000008e8030b2, size=32, cache=kmalloc-32
[   40.849052] 
[   40.850180] allocated by task 292 on cpu 0 at 40.842370s (0.007798s ago):
[   40.851163]  test_alloc+0x298/0x620
[   40.851676]  test_double_free+0xd4/0x238
[   40.852337]  kunit_try_run_case+0x14c/0x3d0
[   40.852915]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.853679]  kthread+0x24c/0x2d0
[   40.854206]  ret_from_fork+0x10/0x20
[   40.854843] 
[   40.855219] freed by task 292 on cpu 0 at 40.842496s (0.012711s ago):
[   40.856050]  test_double_free+0x1ac/0x238
[   40.856732]  kunit_try_run_case+0x14c/0x3d0
[   40.857393]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.858133]  kthread+0x24c/0x2d0
[   40.858740]  ret_from_fork+0x10/0x20
[   40.859355] 
[   40.859759] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   40.860968] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.861617] Hardware name: linux,dummy-virt (DT)
[   40.862134] ==================================================================
[   40.946699] ==================================================================
[   40.947431] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   40.947431] 
[   40.948210] Invalid free of 0x00000000ab3df3e0 (in kfence-#152):
[   40.948955]  test_double_free+0x100/0x238
[   40.949595]  kunit_try_run_case+0x14c/0x3d0
[   40.950287]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.951038]  kthread+0x24c/0x2d0
[   40.951639]  ret_from_fork+0x10/0x20
[   40.952154] 
[   40.952564] kfence-#152: 0x00000000ab3df3e0-0x000000008cb938fa, size=32, cache=test
[   40.952564] 
[   40.953613] allocated by task 294 on cpu 0 at 40.946358s (0.007244s ago):
[   40.954556]  test_alloc+0x22c/0x620
[   40.955154]  test_double_free+0xd4/0x238
[   40.955821]  kunit_try_run_case+0x14c/0x3d0
[   40.956361]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.957170]  kthread+0x24c/0x2d0
[   40.957699]  ret_from_fork+0x10/0x20
[   40.958309] 
[   40.958691] freed by task 294 on cpu 0 at 40.946456s (0.012224s ago):
[   40.959608]  test_double_free+0xf0/0x238
[   40.960271]  kunit_try_run_case+0x14c/0x3d0
[   40.960796]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.961607]  kthread+0x24c/0x2d0
[   40.962061]  ret_from_fork+0x10/0x20
[   40.962691] 
[   40.963101] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   40.964214] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.964855] Hardware name: linux,dummy-virt (DT)
[   40.965495] ==================================================================

[   34.441013] ==================================================================
[   34.441121] BUG: KFENCE: invalid free in test_double_free+0x113/0x260
[   34.441121] 
[   34.441121] Invalid free of 0x(____ptrval____) (in kfence-#111):
[   34.441121]  test_double_free+0x113/0x260
[   34.441121]  kunit_try_run_case+0x1b3/0x490
[   34.441121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.441121]  kthread+0x257/0x310
[   34.441121]  ret_from_fork+0x41/0x80
[   34.441121]  ret_from_fork_asm+0x1a/0x30
[   34.441121] 
[   34.441121] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.441121] 
[   34.441121] allocated by task 314 on cpu 0 at 34.440728s (0.000393s ago):
[   34.441121]  test_alloc+0x2a7/0x10d0
[   34.441121]  test_double_free+0xdc/0x260
[   34.441121]  kunit_try_run_case+0x1b3/0x490
[   34.441121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.441121]  kthread+0x257/0x310
[   34.441121]  ret_from_fork+0x41/0x80
[   34.441121]  ret_from_fork_asm+0x1a/0x30
[   34.441121] 
[   34.441121] freed by task 314 on cpu 0 at 34.440839s (0.000281s ago):
[   34.441121]  test_double_free+0xfb/0x260
[   34.441121]  kunit_try_run_case+0x1b3/0x490
[   34.441121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.441121]  kthread+0x257/0x310
[   34.441121]  ret_from_fork+0x41/0x80
[   34.441121]  ret_from_fork_asm+0x1a/0x30
[   34.441121] 
[   34.441121] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   34.441121] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.441121] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.441121] ==================================================================
[   34.337121] ==================================================================
[   34.337121] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260
[   34.337121] 
[   34.337121] Invalid free of 0x(____ptrval____) (in kfence-#110):
[   34.337121]  test_double_free+0x1d5/0x260
[   34.337121]  kunit_try_run_case+0x1b3/0x490
[   34.337121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.337121]  kthread+0x257/0x310
[   34.337121]  ret_from_fork+0x41/0x80
[   34.337121]  ret_from_fork_asm+0x1a/0x30
[   34.337121] 
[   34.337121] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.337121] 
[   34.337121] allocated by task 312 on cpu 0 at 34.336734s (0.000387s ago):
[   34.337121]  test_alloc+0x35f/0x10d0
[   34.337121]  test_double_free+0xdc/0x260
[   34.337121]  kunit_try_run_case+0x1b3/0x490
[   34.337121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.337121]  kthread+0x257/0x310
[   34.337121]  ret_from_fork+0x41/0x80
[   34.337121]  ret_from_fork_asm+0x1a/0x30
[   34.337121] 
[   34.337121] freed by task 312 on cpu 0 at 34.336855s (0.000266s ago):
[   34.337121]  test_double_free+0x1e2/0x260
[   34.337121]  kunit_try_run_case+0x1b3/0x490
[   34.337121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.337121]  kthread+0x257/0x310
[   34.337121]  ret_from_fork+0x41/0x80
[   34.337121]  ret_from_fork_asm+0x1a/0x30
[   34.337121] 
[   34.337121] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   34.337121] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.337121] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.337121] ==================================================================

[   30.085705] ==================================================================
[   30.086300] BUG: KFENCE: invalid free in test_double_free+0x113/0x260
[   30.086300] 
[   30.087058] Invalid free of 0x(____ptrval____) (in kfence-#121):
[   30.087591]  test_double_free+0x113/0x260
[   30.087995]  kunit_try_run_case+0x1b3/0x490
[   30.088507]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.088899]  kthread+0x257/0x310
[   30.089300]  ret_from_fork+0x41/0x80
[   30.089707]  ret_from_fork_asm+0x1a/0x30
[   30.089997] 
[   30.090288] kfence-#121: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.090288] 
[   30.091220] allocated by task 312 on cpu 1 at 30.085446s (0.005769s ago):
[   30.091753]  test_alloc+0x2a7/0x10d0
[   30.092014]  test_double_free+0xdc/0x260
[   30.092426]  kunit_try_run_case+0x1b3/0x490
[   30.093028]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.093600]  kthread+0x257/0x310
[   30.093923]  ret_from_fork+0x41/0x80
[   30.094410]  ret_from_fork_asm+0x1a/0x30
[   30.094984] 
[   30.095193] freed by task 312 on cpu 1 at 30.085543s (0.009643s ago):
[   30.095770]  test_double_free+0xfb/0x260
[   30.096225]  kunit_try_run_case+0x1b3/0x490
[   30.096689]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.097123]  kthread+0x257/0x310
[   30.097422]  ret_from_fork+0x41/0x80
[   30.097925]  ret_from_fork_asm+0x1a/0x30
[   30.098385] 
[   30.098610] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   30.099507] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.099995] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.100570] ==================================================================
[   29.981873] ==================================================================
[   29.982588] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260
[   29.982588] 
[   29.983362] Invalid free of 0x(____ptrval____) (in kfence-#120):
[   29.983869]  test_double_free+0x1d5/0x260
[   29.984192]  kunit_try_run_case+0x1b3/0x490
[   29.984768]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.985240]  kthread+0x257/0x310
[   29.985721]  ret_from_fork+0x41/0x80
[   29.986005]  ret_from_fork_asm+0x1a/0x30
[   29.986298] 
[   29.986549] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.986549] 
[   29.987468] allocated by task 310 on cpu 0 at 29.981555s (0.005906s ago):
[   29.988346]  test_alloc+0x35f/0x10d0
[   29.988819]  test_double_free+0xdc/0x260
[   29.989325]  kunit_try_run_case+0x1b3/0x490
[   29.989755]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.990211]  kthread+0x257/0x310
[   29.990644]  ret_from_fork+0x41/0x80
[   29.991158]  ret_from_fork_asm+0x1a/0x30
[   29.991604] 
[   29.991815] freed by task 310 on cpu 0 at 29.981666s (0.010143s ago):
[   29.992297]  test_double_free+0x1e2/0x260
[   29.992777]  kunit_try_run_case+0x1b3/0x490
[   29.993274]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.993901]  kthread+0x257/0x310
[   29.994291]  ret_from_fork+0x41/0x80
[   29.994724]  ret_from_fork_asm+0x1a/0x30
[   29.995051] 
[   29.995362] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   29.996186] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.996552] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.997460] ==================================================================