Hay
Date
Dec. 5, 2024, 2:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   38.960248] ==================================================================
[   38.961040] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   38.961040] 
[   38.962087] Invalid free of 0x00000000a1677d62 (in kfence-#146):
[   38.962721]  test_double_free+0x100/0x238
[   38.963475]  kunit_try_run_case+0x14c/0x3d0
[   38.964019]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.964565]  kthread+0x24c/0x2d0
[   38.965242]  ret_from_fork+0x10/0x20
[   38.965820] 
[   38.966181] kfence-#146: 0x00000000a1677d62-0x000000004d07bffc, size=32, cache=test
[   38.966181] 
[   38.967256] allocated by task 294 on cpu 1 at 38.959866s (0.007382s ago):
[   38.968235]  test_alloc+0x22c/0x620
[   38.968755]  test_double_free+0xd4/0x238
[   38.969344]  kunit_try_run_case+0x14c/0x3d0
[   38.969970]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.970633]  kthread+0x24c/0x2d0
[   38.971230]  ret_from_fork+0x10/0x20
[   38.971796] 
[   38.972161] freed by task 294 on cpu 1 at 38.959967s (0.012185s ago):
[   38.973008]  test_double_free+0xf0/0x238
[   38.973553]  kunit_try_run_case+0x14c/0x3d0
[   38.974243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.974958]  kthread+0x24c/0x2d0
[   38.975436]  ret_from_fork+0x10/0x20
[   38.976112] 
[   38.976510] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   38.977698] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.978334] Hardware name: linux,dummy-virt (DT)
[   38.978965] ==================================================================
[   38.856301] ==================================================================
[   38.857108] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   38.857108] 
[   38.858087] Invalid free of 0x00000000119ff20a (in kfence-#145):
[   38.858840]  test_double_free+0x1bc/0x238
[   38.859529]  kunit_try_run_case+0x14c/0x3d0
[   38.860634]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.861360]  kthread+0x24c/0x2d0
[   38.861944]  ret_from_fork+0x10/0x20
[   38.862523] 
[   38.862949] kfence-#145: 0x00000000119ff20a-0x00000000339e45ee, size=32, cache=kmalloc-32
[   38.862949] 
[   38.863981] allocated by task 292 on cpu 0 at 38.855810s (0.008162s ago):
[   38.864905]  test_alloc+0x298/0x620
[   38.865430]  test_double_free+0xd4/0x238
[   38.866005]  kunit_try_run_case+0x14c/0x3d0
[   38.866676]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.867361]  kthread+0x24c/0x2d0
[   38.867983]  ret_from_fork+0x10/0x20
[   38.868509] 
[   38.868827] freed by task 292 on cpu 0 at 38.855930s (0.012888s ago):
[   38.869685]  test_double_free+0x1ac/0x238
[   38.870220]  kunit_try_run_case+0x14c/0x3d0
[   38.870913]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.871609]  kthread+0x24c/0x2d0
[   38.872184]  ret_from_fork+0x10/0x20
[   38.872629] 
[   38.873097] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   38.874352] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.875007] Hardware name: linux,dummy-virt (DT)
[   38.875699] ==================================================================

[   37.141747] ==================================================================
[   37.142524] BUG: KFENCE: invalid free in test_double_free+0x113/0x260
[   37.142524] 
[   37.144207] Invalid free of 0x(____ptrval____) (in kfence-#110):
[   37.145250]  test_double_free+0x113/0x260
[   37.146168]  kunit_try_run_case+0x1b3/0x490
[   37.146653]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.147477]  kthread+0x257/0x310
[   37.148106]  ret_from_fork+0x41/0x80
[   37.148674]  ret_from_fork_asm+0x1a/0x30
[   37.149107] 
[   37.149369] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   37.149369] 
[   37.150009] allocated by task 312 on cpu 0 at 37.141395s (0.008610s ago):
[   37.150787]  test_alloc+0x2a7/0x10d0
[   37.151199]  test_double_free+0xdc/0x260
[   37.151921]  kunit_try_run_case+0x1b3/0x490
[   37.152327]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.152894]  kthread+0x257/0x310
[   37.153444]  ret_from_fork+0x41/0x80
[   37.153952]  ret_from_fork_asm+0x1a/0x30
[   37.154359] 
[   37.154696] freed by task 312 on cpu 0 at 37.141457s (0.013216s ago):
[   37.155345]  test_double_free+0xfb/0x260
[   37.156090]  kunit_try_run_case+0x1b3/0x490
[   37.156442]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.157166]  kthread+0x257/0x310
[   37.157425]  ret_from_fork+0x41/0x80
[   37.157855]  ret_from_fork_asm+0x1a/0x30
[   37.158468] 
[   37.158712] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   37.159565] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.160362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.161238] ==================================================================
[   37.037706] ==================================================================
[   37.038288] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260
[   37.038288] 
[   37.038638] Invalid free of 0x(____ptrval____) (in kfence-#109):
[   37.039044]  test_double_free+0x1d5/0x260
[   37.039604]  kunit_try_run_case+0x1b3/0x490
[   37.039998]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.040870]  kthread+0x257/0x310
[   37.041488]  ret_from_fork+0x41/0x80
[   37.041998]  ret_from_fork_asm+0x1a/0x30
[   37.042292] 
[   37.042459] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   37.042459] 
[   37.043609] allocated by task 310 on cpu 1 at 37.037380s (0.006225s ago):
[   37.044078]  test_alloc+0x35f/0x10d0
[   37.044508]  test_double_free+0xdc/0x260
[   37.045043]  kunit_try_run_case+0x1b3/0x490
[   37.045364]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.045930]  kthread+0x257/0x310
[   37.046337]  ret_from_fork+0x41/0x80
[   37.046844]  ret_from_fork_asm+0x1a/0x30
[   37.047286] 
[   37.047483] freed by task 310 on cpu 1 at 37.037461s (0.010018s ago):
[   37.048235]  test_double_free+0x1e2/0x260
[   37.048646]  kunit_try_run_case+0x1b3/0x490
[   37.049164]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.049726]  kthread+0x257/0x310
[   37.050206]  ret_from_fork+0x41/0x80
[   37.050563]  ret_from_fork_asm+0x1a/0x30
[   37.051003] 
[   37.051282] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241205 #1
[   37.052177] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.052549] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.053383] ==================================================================