Hay
Date
July 13, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   20.817689] ==================================================================
[   20.817770] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   20.817770] 
[   20.817833] Invalid free of 0x00000000dd88cce0 (in kfence-#94):
[   20.817891]  test_invalid_addr_free+0xec/0x238
[   20.817945]  kunit_try_run_case+0x170/0x3f0
[   20.817987]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.818031]  kthread+0x328/0x630
[   20.818068]  ret_from_fork+0x10/0x20
[   20.818113] 
[   20.818136] kfence-#94: 0x00000000717c3d5f-0x00000000cc63125a, size=32, cache=test
[   20.818136] 
[   20.818190] allocated by task 310 on cpu 0 at 20.817563s (0.000624s ago):
[   20.818581]  test_alloc+0x230/0x628
[   20.818787]  test_invalid_addr_free+0xd4/0x238
[   20.818861]  kunit_try_run_case+0x170/0x3f0
[   20.818905]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.819594]  kthread+0x328/0x630
[   20.819652]  ret_from_fork+0x10/0x20
[   20.819715] 
[   20.819772] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.819856] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.819885] Hardware name: linux,dummy-virt (DT)
[   20.820176] ==================================================================
[   20.713875] ==================================================================
[   20.713946] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   20.713946] 
[   20.714022] Invalid free of 0x00000000e30d9f46 (in kfence-#93):
[   20.714077]  test_invalid_addr_free+0x1ac/0x238
[   20.714436]  kunit_try_run_case+0x170/0x3f0
[   20.714506]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.714552]  kthread+0x328/0x630
[   20.714651]  ret_from_fork+0x10/0x20
[   20.714696] 
[   20.714766] kfence-#93: 0x00000000d117f874-0x00000000c4f03560, size=32, cache=kmalloc-32
[   20.714766] 
[   20.714842] allocated by task 308 on cpu 0 at 20.713650s (0.001178s ago):
[   20.715158]  test_alloc+0x29c/0x628
[   20.715311]  test_invalid_addr_free+0xd4/0x238
[   20.715427]  kunit_try_run_case+0x170/0x3f0
[   20.715558]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.715633]  kthread+0x328/0x630
[   20.715677]  ret_from_fork+0x10/0x20
[   20.715787] 
[   20.715839] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.715921] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.715949] Hardware name: linux,dummy-virt (DT)
[   20.716209] ==================================================================

[   21.895968] ==================================================================
[   21.896058] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   21.896058] 
[   21.896123] Invalid free of 0x00000000675ad5ca (in kfence-#97):
[   21.896198]  test_invalid_addr_free+0x1ac/0x238
[   21.896245]  kunit_try_run_case+0x170/0x3f0
[   21.896291]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.896336]  kthread+0x328/0x630
[   21.896375]  ret_from_fork+0x10/0x20
[   21.896415] 
[   21.896439] kfence-#97: 0x0000000038b6bad2-0x00000000a0cb9c9f, size=32, cache=kmalloc-32
[   21.896439] 
[   21.896496] allocated by task 308 on cpu 1 at 21.895813s (0.000679s ago):
[   21.896561]  test_alloc+0x29c/0x628
[   21.896601]  test_invalid_addr_free+0xd4/0x238
[   21.896643]  kunit_try_run_case+0x170/0x3f0
[   21.896683]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.896727]  kthread+0x328/0x630
[   21.896764]  ret_from_fork+0x10/0x20
[   21.896803] 
[   21.896854] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.896936] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.896964] Hardware name: linux,dummy-virt (DT)
[   21.897001] ==================================================================
[   21.999900] ==================================================================
[   21.999989] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   21.999989] 
[   22.000050] Invalid free of 0x00000000413592ed (in kfence-#98):
[   22.000109]  test_invalid_addr_free+0xec/0x238
[   22.000155]  kunit_try_run_case+0x170/0x3f0
[   22.000214]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.000259]  kthread+0x328/0x630
[   22.000297]  ret_from_fork+0x10/0x20
[   22.000336] 
[   22.000360] kfence-#98: 0x0000000071fe5125-0x00000000b3d78962, size=32, cache=test
[   22.000360] 
[   22.000415] allocated by task 310 on cpu 0 at 21.999774s (0.000638s ago):
[   22.000477]  test_alloc+0x230/0x628
[   22.000518]  test_invalid_addr_free+0xd4/0x238
[   22.000558]  kunit_try_run_case+0x170/0x3f0
[   22.000599]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.000641]  kthread+0x328/0x630
[   22.000677]  ret_from_fork+0x10/0x20
[   22.000716] 
[   22.000762] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   22.000843] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.000873] Hardware name: linux,dummy-virt (DT)
[   22.000907] ==================================================================

[   19.517057] ==================================================================
[   19.517510] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   19.517510] 
[   19.517831] Invalid free of 0x(____ptrval____) (in kfence-#88):
[   19.518117]  test_invalid_addr_free+0x1e1/0x260
[   19.518296]  kunit_try_run_case+0x1a5/0x480
[   19.518465]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.518720]  kthread+0x337/0x6f0
[   19.518904]  ret_from_fork+0x116/0x1d0
[   19.519043]  ret_from_fork_asm+0x1a/0x30
[   19.519246] 
[   19.519342] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.519342] 
[   19.519786] allocated by task 325 on cpu 0 at 19.516918s (0.002866s ago):
[   19.520105]  test_alloc+0x364/0x10f0
[   19.520280]  test_invalid_addr_free+0xdb/0x260
[   19.520513]  kunit_try_run_case+0x1a5/0x480
[   19.520724]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.520903]  kthread+0x337/0x6f0
[   19.521025]  ret_from_fork+0x116/0x1d0
[   19.521209]  ret_from_fork_asm+0x1a/0x30
[   19.521411] 
[   19.521541] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.522316] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.522571] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.522952] ==================================================================
[   19.621026] ==================================================================
[   19.621421] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   19.621421] 
[   19.621814] Invalid free of 0x(____ptrval____) (in kfence-#89):
[   19.622103]  test_invalid_addr_free+0xfb/0x260
[   19.622716]  kunit_try_run_case+0x1a5/0x480
[   19.622901]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.623415]  kthread+0x337/0x6f0
[   19.623771]  ret_from_fork+0x116/0x1d0
[   19.623969]  ret_from_fork_asm+0x1a/0x30
[   19.624158] 
[   19.624233] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.624233] 
[   19.624864] allocated by task 327 on cpu 0 at 19.620917s (0.003944s ago):
[   19.625273]  test_alloc+0x2a6/0x10f0
[   19.625483]  test_invalid_addr_free+0xdb/0x260
[   19.625765]  kunit_try_run_case+0x1a5/0x480
[   19.625939]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.626294]  kthread+0x337/0x6f0
[   19.626536]  ret_from_fork+0x116/0x1d0
[   19.626782]  ret_from_fork_asm+0x1a/0x30
[   19.627038] 
[   19.627142] CPU: 0 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.627821] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.628100] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.628487] ==================================================================

[   18.985102] ==================================================================
[   18.985619] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   18.985619] 
[   18.986291] Invalid free of 0x(____ptrval____) (in kfence-#79):
[   18.986574]  test_invalid_addr_free+0xfb/0x260
[   18.986789]  kunit_try_run_case+0x1a5/0x480
[   18.986997]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.987606]  kthread+0x337/0x6f0
[   18.987756]  ret_from_fork+0x116/0x1d0
[   18.988094]  ret_from_fork_asm+0x1a/0x30
[   18.988354] 
[   18.988526] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.988526] 
[   18.988972] allocated by task 328 on cpu 1 at 18.985000s (0.003969s ago):
[   18.989435]  test_alloc+0x2a6/0x10f0
[   18.989628]  test_invalid_addr_free+0xdb/0x260
[   18.989948]  kunit_try_run_case+0x1a5/0x480
[   18.990174]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.990412]  kthread+0x337/0x6f0
[   18.990569]  ret_from_fork+0x116/0x1d0
[   18.990752]  ret_from_fork_asm+0x1a/0x30
[   18.990941] 
[   18.991063] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.991890] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.992203] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.992641] ==================================================================
[   18.881074] ==================================================================
[   18.881447] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   18.881447] 
[   18.881766] Invalid free of 0x(____ptrval____) (in kfence-#78):
[   18.882110]  test_invalid_addr_free+0x1e1/0x260
[   18.882292]  kunit_try_run_case+0x1a5/0x480
[   18.882526]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.882806]  kthread+0x337/0x6f0
[   18.882961]  ret_from_fork+0x116/0x1d0
[   18.883113]  ret_from_fork_asm+0x1a/0x30
[   18.883312] 
[   18.883434] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.883434] 
[   18.883880] allocated by task 326 on cpu 0 at 18.880926s (0.002952s ago):
[   18.884287]  test_alloc+0x364/0x10f0
[   18.884471]  test_invalid_addr_free+0xdb/0x260
[   18.884684]  kunit_try_run_case+0x1a5/0x480
[   18.884895]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.885193]  kthread+0x337/0x6f0
[   18.885364]  ret_from_fork+0x116/0x1d0
[   18.885503]  ret_from_fork_asm+0x1a/0x30
[   18.885694] 
[   18.885811] CPU: 0 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.886325] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.886469] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.886880] ==================================================================