Hay
Date
July 5, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.268880] ==================================================================
[   23.268979] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   23.268979] 
[   23.269041] Invalid free of 0x000000006ffa8a85 (in kfence-#92):
[   23.269092]  test_double_free+0x100/0x238
[   23.269139]  kunit_try_run_case+0x170/0x3f0
[   23.269205]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.269247]  kthread+0x328/0x630
[   23.269288]  ret_from_fork+0x10/0x20
[   23.269328] 
[   23.269352] kfence-#92: 0x000000006ffa8a85-0x00000000462bf713, size=32, cache=test
[   23.269352] 
[   23.269405] allocated by task 305 on cpu 0 at 23.268680s (0.000721s ago):
[   23.269467]  test_alloc+0x230/0x628
[   23.269506]  test_double_free+0xd4/0x238
[   23.269547]  kunit_try_run_case+0x170/0x3f0
[   23.269587]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.269630]  kthread+0x328/0x630
[   23.269665]  ret_from_fork+0x10/0x20
[   23.269704] 
[   23.269727] freed by task 305 on cpu 0 at 23.268740s (0.000983s ago):
[   23.269788]  test_double_free+0xf0/0x238
[   23.269827]  kunit_try_run_case+0x170/0x3f0
[   23.269868]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.269912]  kthread+0x328/0x630
[   23.269948]  ret_from_fork+0x10/0x20
[   23.269987] 
[   23.270027] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.270115] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.270146] Hardware name: linux,dummy-virt (DT)
[   23.270192] ==================================================================
[   23.164643] ==================================================================
[   23.164770] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   23.164770] 
[   23.164837] Invalid free of 0x000000007425c3e1 (in kfence-#91):
[   23.164901]  test_double_free+0x1bc/0x238
[   23.164946]  kunit_try_run_case+0x170/0x3f0
[   23.164990]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.165032]  kthread+0x328/0x630
[   23.165071]  ret_from_fork+0x10/0x20
[   23.165110] 
[   23.165135] kfence-#91: 0x000000007425c3e1-0x00000000e119e386, size=32, cache=kmalloc-32
[   23.165135] 
[   23.165204] allocated by task 303 on cpu 0 at 23.164352s (0.000848s ago):
[   23.165266]  test_alloc+0x29c/0x628
[   23.165306]  test_double_free+0xd4/0x238
[   23.165347]  kunit_try_run_case+0x170/0x3f0
[   23.165386]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.165428]  kthread+0x328/0x630
[   23.165464]  ret_from_fork+0x10/0x20
[   23.165504] 
[   23.165527] freed by task 303 on cpu 0 at 23.164429s (0.001093s ago):
[   23.165588]  test_double_free+0x1ac/0x238
[   23.165628]  kunit_try_run_case+0x170/0x3f0
[   23.165668]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.165712]  kthread+0x328/0x630
[   23.165746]  ret_from_fork+0x10/0x20
[   23.165785] 
[   23.165827] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.165905] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.165932] Hardware name: linux,dummy-virt (DT)
[   23.165968] ==================================================================

[   20.287719] ==================================================================
[   20.288270] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   20.288270] 
[   20.288678] Invalid free of 0x(____ptrval____) (in kfence-#90):
[   20.289629]  test_double_free+0x112/0x260
[   20.290079]  kunit_try_run_case+0x1a5/0x480
[   20.290358]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.290672]  kthread+0x337/0x6f0
[   20.290875]  ret_from_fork+0x116/0x1d0
[   20.291395]  ret_from_fork_asm+0x1a/0x30
[   20.291633] 
[   20.291728] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.291728] 
[   20.292397] allocated by task 323 on cpu 0 at 20.287525s (0.004869s ago):
[   20.292928]  test_alloc+0x2a6/0x10f0
[   20.293256]  test_double_free+0xdb/0x260
[   20.293565]  kunit_try_run_case+0x1a5/0x480
[   20.293886]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.294319]  kthread+0x337/0x6f0
[   20.294573]  ret_from_fork+0x116/0x1d0
[   20.294926]  ret_from_fork_asm+0x1a/0x30
[   20.295300] 
[   20.295396] freed by task 323 on cpu 0 at 20.287595s (0.007797s ago):
[   20.295739]  test_double_free+0xfa/0x260
[   20.295962]  kunit_try_run_case+0x1a5/0x480
[   20.296467]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.296751]  kthread+0x337/0x6f0
[   20.296953]  ret_from_fork+0x116/0x1d0
[   20.297349]  ret_from_fork_asm+0x1a/0x30
[   20.297586] 
[   20.297917] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   20.298531] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.298744] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.299310] ==================================================================
[   20.183747] ==================================================================
[   20.184295] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   20.184295] 
[   20.184777] Invalid free of 0x(____ptrval____) (in kfence-#89):
[   20.185159]  test_double_free+0x1d3/0x260
[   20.186055]  kunit_try_run_case+0x1a5/0x480
[   20.186287]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.186591]  kthread+0x337/0x6f0
[   20.186814]  ret_from_fork+0x116/0x1d0
[   20.187037]  ret_from_fork_asm+0x1a/0x30
[   20.187689] 
[   20.187829] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.187829] 
[   20.188538] allocated by task 321 on cpu 0 at 20.183494s (0.005041s ago):
[   20.189088]  test_alloc+0x364/0x10f0
[   20.189349]  test_double_free+0xdb/0x260
[   20.189753]  kunit_try_run_case+0x1a5/0x480
[   20.190124]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.190455]  kthread+0x337/0x6f0
[   20.190808]  ret_from_fork+0x116/0x1d0
[   20.191141]  ret_from_fork_asm+0x1a/0x30
[   20.191462] 
[   20.191602] freed by task 321 on cpu 0 at 20.183578s (0.008022s ago):
[   20.192121]  test_double_free+0x1e0/0x260
[   20.192357]  kunit_try_run_case+0x1a5/0x480
[   20.192762]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.193075]  kthread+0x337/0x6f0
[   20.193531]  ret_from_fork+0x116/0x1d0
[   20.193942]  ret_from_fork_asm+0x1a/0x30
[   20.194199] 
[   20.194602] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   20.195341] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.195573] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.196133] ==================================================================