Hay
Date
July 14, 2025, 10:38 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   85.313843] ==================================================================
[   85.313978] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   85.313978] 
[   85.314106] Invalid free of 0x(____ptrval____) (in kfence-#146):
[   85.314210]  test_double_free+0x1bc/0x238
[   85.316683]  kunit_try_run_case+0x170/0x3f0
[   85.320850]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.326318]  kthread+0x328/0x630
[   85.329530]  ret_from_fork+0x10/0x20
[   85.333089] 
[   85.334567] kfence-#146: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   85.334567] 
[   85.344202] allocated by task 387 on cpu 5 at 85.313761s (0.030439s ago):
[   85.350986]  test_alloc+0x29c/0x628
[   85.354443]  test_double_free+0xd4/0x238
[   85.358349]  kunit_try_run_case+0x170/0x3f0
[   85.362516]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.367984]  kthread+0x328/0x630
[   85.371197]  ret_from_fork+0x10/0x20
[   85.374757] 
[   85.376234] freed by task 387 on cpu 5 at 85.313777s (0.062452s ago):
[   85.382675]  test_double_free+0x1ac/0x238
[   85.386648]  kunit_try_run_case+0x170/0x3f0
[   85.390814]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.396283]  kthread+0x328/0x630
[   85.399494]  ret_from_fork+0x10/0x20
[   85.403055] 
[   85.404540] CPU: 5 UID: 0 PID: 387 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   85.415648] Tainted: [B]=BAD_PAGE, [N]=TEST
[   85.419808] Hardware name: WinLink E850-96 board (DT)
[   85.424845] ==================================================================
[   85.533824] ==================================================================
[   85.533954] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   85.533954] 
[   85.534091] Invalid free of 0x(____ptrval____) (in kfence-#148):
[   85.534196]  test_double_free+0x100/0x238
[   85.536659]  kunit_try_run_case+0x170/0x3f0
[   85.540825]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.546294]  kthread+0x328/0x630
[   85.549506]  ret_from_fork+0x10/0x20
[   85.553065] 
[   85.554543] kfence-#148: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   85.554543] 
[   85.563657] allocated by task 389 on cpu 2 at 85.533747s (0.029908s ago):
[   85.570445]  test_alloc+0x230/0x628
[   85.573898]  test_double_free+0xd4/0x238
[   85.577804]  kunit_try_run_case+0x170/0x3f0
[   85.581971]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.587440]  kthread+0x328/0x630
[   85.590651]  ret_from_fork+0x10/0x20
[   85.594211] 
[   85.595690] freed by task 389 on cpu 2 at 85.533763s (0.061922s ago):
[   85.602130]  test_double_free+0xf0/0x238
[   85.606016]  kunit_try_run_case+0x170/0x3f0
[   85.610183]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.615651]  kthread+0x328/0x630
[   85.618863]  ret_from_fork+0x10/0x20
[   85.622423] 
[   85.623909] CPU: 2 UID: 0 PID: 389 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   85.635018] Tainted: [B]=BAD_PAGE, [N]=TEST
[   85.639176] Hardware name: WinLink E850-96 board (DT)
[   85.644212] ==================================================================

[   34.724994] ==================================================================
[   34.725139] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   34.725139] 
[   34.725214] Invalid free of 0x00000000fe351f62 (in kfence-#133):
[   34.725281]  test_double_free+0x1bc/0x238
[   34.725330]  kunit_try_run_case+0x170/0x3f0
[   34.725378]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.725420]  kthread+0x328/0x630
[   34.725459]  ret_from_fork+0x10/0x20
[   34.725499] 
[   34.725525] kfence-#133: 0x00000000fe351f62-0x00000000a5ca718a, size=32, cache=kmalloc-32
[   34.725525] 
[   34.725580] allocated by task 334 on cpu 1 at 34.724654s (0.000922s ago):
[   34.725653]  test_alloc+0x29c/0x628
[   34.725695]  test_double_free+0xd4/0x238
[   34.725737]  kunit_try_run_case+0x170/0x3f0
[   34.725777]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.725821]  kthread+0x328/0x630
[   34.725857]  ret_from_fork+0x10/0x20
[   34.725899] 
[   34.725924] freed by task 334 on cpu 1 at 34.724737s (0.001183s ago):
[   34.725990]  test_double_free+0x1ac/0x238
[   34.726030]  kunit_try_run_case+0x170/0x3f0
[   34.726084]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.726125]  kthread+0x328/0x630
[   34.726162]  ret_from_fork+0x10/0x20
[   34.726200] 
[   34.726250] CPU: 1 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   34.726334] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.726363] Hardware name: linux,dummy-virt (DT)
[   34.726397] ==================================================================
[   34.828804] ==================================================================
[   34.828900] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   34.828900] 
[   34.828963] Invalid free of 0x00000000c920656e (in kfence-#134):
[   34.829014]  test_double_free+0x100/0x238
[   34.829078]  kunit_try_run_case+0x170/0x3f0
[   34.829122]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.829163]  kthread+0x328/0x630
[   34.829201]  ret_from_fork+0x10/0x20
[   34.829241] 
[   34.829265] kfence-#134: 0x00000000c920656e-0x00000000012ddf33, size=32, cache=test
[   34.829265] 
[   34.829323] allocated by task 336 on cpu 1 at 34.828573s (0.000746s ago):
[   34.829389]  test_alloc+0x230/0x628
[   34.829431]  test_double_free+0xd4/0x238
[   34.829470]  kunit_try_run_case+0x170/0x3f0
[   34.829511]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.829552]  kthread+0x328/0x630
[   34.829591]  ret_from_fork+0x10/0x20
[   34.829630] 
[   34.829654] freed by task 336 on cpu 1 at 34.828632s (0.001018s ago):
[   34.829717]  test_double_free+0xf0/0x238
[   34.829758]  kunit_try_run_case+0x170/0x3f0
[   34.829798]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.829839]  kthread+0x328/0x630
[   34.829874]  ret_from_fork+0x10/0x20
[   34.829913] 
[   34.829955] CPU: 1 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   34.830034] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.830070] Hardware name: linux,dummy-virt (DT)
[   34.830104] ==================================================================

[   30.124541] ==================================================================
[   30.124981] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   30.124981] 
[   30.125593] Invalid free of 0x(____ptrval____) (in kfence-#101):
[   30.125828]  test_double_free+0x112/0x260
[   30.125978]  kunit_try_run_case+0x1a5/0x480
[   30.126127]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.126299]  kthread+0x337/0x6f0
[   30.126418]  ret_from_fork+0x116/0x1d0
[   30.126549]  ret_from_fork_asm+0x1a/0x30
[   30.126699] 
[   30.126807] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.126807] 
[   30.127138] allocated by task 354 on cpu 1 at 30.124272s (0.002863s ago):
[   30.127430]  test_alloc+0x2a6/0x10f0
[   30.127554]  test_double_free+0xdb/0x260
[   30.127697]  kunit_try_run_case+0x1a5/0x480
[   30.127959]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.128901]  kthread+0x337/0x6f0
[   30.129075]  ret_from_fork+0x116/0x1d0
[   30.129237]  ret_from_fork_asm+0x1a/0x30
[   30.129427] 
[   30.129496] freed by task 354 on cpu 1 at 30.124328s (0.005165s ago):
[   30.129811]  test_double_free+0xfa/0x260
[   30.130402]  kunit_try_run_case+0x1a5/0x480
[   30.130699]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.131035]  kthread+0x337/0x6f0
[   30.131195]  ret_from_fork+0x116/0x1d0
[   30.131481]  ret_from_fork_asm+0x1a/0x30
[   30.131734] 
[   30.131879] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   30.132484] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.132803] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.133166] ==================================================================
[   30.020554] ==================================================================
[   30.021148] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   30.021148] 
[   30.021465] Invalid free of 0x(____ptrval____) (in kfence-#100):
[   30.021740]  test_double_free+0x1d3/0x260
[   30.022179]  kunit_try_run_case+0x1a5/0x480
[   30.022339]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.022544]  kthread+0x337/0x6f0
[   30.022728]  ret_from_fork+0x116/0x1d0
[   30.022936]  ret_from_fork_asm+0x1a/0x30
[   30.023124] 
[   30.023190] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.023190] 
[   30.023567] allocated by task 352 on cpu 0 at 30.020259s (0.003305s ago):
[   30.023982]  test_alloc+0x364/0x10f0
[   30.024141]  test_double_free+0xdb/0x260
[   30.024307]  kunit_try_run_case+0x1a5/0x480
[   30.024478]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.024721]  kthread+0x337/0x6f0
[   30.024890]  ret_from_fork+0x116/0x1d0
[   30.025048]  ret_from_fork_asm+0x1a/0x30
[   30.025224] 
[   30.025294] freed by task 352 on cpu 0 at 30.020340s (0.004951s ago):
[   30.025557]  test_double_free+0x1e0/0x260
[   30.025743]  kunit_try_run_case+0x1a5/0x480
[   30.025881]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.026055]  kthread+0x337/0x6f0
[   30.026169]  ret_from_fork+0x116/0x1d0
[   30.026343]  ret_from_fork_asm+0x1a/0x30
[   30.026543] 
[   30.026687] CPU: 0 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   30.027174] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.027329] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.027611] ==================================================================