Hay
Date
July 6, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.576465] ==================================================================
[   21.576585] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   21.576585] 
[   21.576713] Out-of-bounds read at 0x000000000c334124 (1B left of kfence-#80):
[   21.576939]  test_out_of_bounds_read+0x114/0x3e0
[   21.576994]  kunit_try_run_case+0x170/0x3f0
[   21.577037]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.577081]  kthread+0x328/0x630
[   21.577119]  ret_from_fork+0x10/0x20
[   21.577166] 
[   21.577335] kfence-#80: 0x000000001a821520-0x00000000e64525eb, size=32, cache=kmalloc-32
[   21.577335] 
[   21.577539] allocated by task 287 on cpu 0 at 21.575478s (0.001966s ago):
[   21.578310]  test_alloc+0x29c/0x628
[   21.578443]  test_out_of_bounds_read+0xdc/0x3e0
[   21.578503]  kunit_try_run_case+0x170/0x3f0
[   21.578544]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.578596]  kthread+0x328/0x630
[   21.578631]  ret_from_fork+0x10/0x20
[   21.578737] 
[   21.578813] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.579098] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.579253] Hardware name: linux,dummy-virt (DT)
[   21.579297] ==================================================================
[   21.782883] ==================================================================
[   21.782961] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   21.782961] 
[   21.783340] Out-of-bounds read at 0x0000000013ded4d6 (32B right of kfence-#82):
[   21.783410]  test_out_of_bounds_read+0x1c8/0x3e0
[   21.783749]  kunit_try_run_case+0x170/0x3f0
[   21.783818]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.783865]  kthread+0x328/0x630
[   21.783953]  ret_from_fork+0x10/0x20
[   21.783998] 
[   21.784023] kfence-#82: 0x00000000b507ae0b-0x00000000f6ddfe90, size=32, cache=kmalloc-32
[   21.784023] 
[   21.784376] allocated by task 287 on cpu 0 at 21.781966s (0.002401s ago):
[   21.784506]  test_alloc+0x29c/0x628
[   21.784559]  test_out_of_bounds_read+0x198/0x3e0
[   21.784603]  kunit_try_run_case+0x170/0x3f0
[   21.784643]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.784686]  kthread+0x328/0x630
[   21.784724]  ret_from_fork+0x10/0x20
[   21.785030] 
[   21.785093] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.785173] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.785302] Hardware name: linux,dummy-virt (DT)
[   21.785338] ==================================================================
[   22.094716] ==================================================================
[   22.094807] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.094807] 
[   22.095028] Out-of-bounds read at 0x00000000e10658c7 (1B left of kfence-#85):
[   22.095110]  test_out_of_bounds_read+0x114/0x3e0
[   22.095168]  kunit_try_run_case+0x170/0x3f0
[   22.095475]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.095545]  kthread+0x328/0x630
[   22.095629]  ret_from_fork+0x10/0x20
[   22.095677] 
[   22.095701] kfence-#85: 0x00000000f5e64d2f-0x00000000c4a76640, size=32, cache=test
[   22.095701] 
[   22.096010] allocated by task 289 on cpu 0 at 22.094587s (0.001413s ago):
[   22.096161]  test_alloc+0x230/0x628
[   22.096561]  test_out_of_bounds_read+0xdc/0x3e0
[   22.096664]  kunit_try_run_case+0x170/0x3f0
[   22.096728]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.097036]  kthread+0x328/0x630
[   22.097163]  ret_from_fork+0x10/0x20
[   22.097226] 
[   22.097431] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.097928] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.097965] Hardware name: linux,dummy-virt (DT)
[   22.098297] ==================================================================
[   22.302360] ==================================================================
[   22.302447] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.302447] 
[   22.302837] Out-of-bounds read at 0x00000000d7f785ee (32B right of kfence-#87):
[   22.302918]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.302969]  kunit_try_run_case+0x170/0x3f0
[   22.303589]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.303688]  kthread+0x328/0x630
[   22.303731]  ret_from_fork+0x10/0x20
[   22.303818] 
[   22.304122] kfence-#87: 0x00000000bc609841-0x00000000ab883a54, size=32, cache=test
[   22.304122] 
[   22.304275] allocated by task 289 on cpu 0 at 22.302276s (0.001908s ago):
[   22.304398]  test_alloc+0x230/0x628
[   22.304515]  test_out_of_bounds_read+0x198/0x3e0
[   22.304560]  kunit_try_run_case+0x170/0x3f0
[   22.304626]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.304678]  kthread+0x328/0x630
[   22.304716]  ret_from_fork+0x10/0x20
[   22.304995] 
[   22.305055] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.305206] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.305244] Hardware name: linux,dummy-virt (DT)
[   22.305287] ==================================================================

[   16.200869] ==================================================================
[   16.201320] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.201320] 
[   16.201799] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#63):
[   16.202146]  test_out_of_bounds_read+0x126/0x4e0
[   16.202313]  kunit_try_run_case+0x1a5/0x480
[   16.202604]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.202925]  kthread+0x337/0x6f0
[   16.203182]  ret_from_fork+0x116/0x1d0
[   16.203392]  ret_from_fork_asm+0x1a/0x30
[   16.203555] 
[   16.203633] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.203633] 
[   16.203991] allocated by task 306 on cpu 1 at 16.200808s (0.003181s ago):
[   16.204422]  test_alloc+0x2a6/0x10f0
[   16.204604]  test_out_of_bounds_read+0xed/0x4e0
[   16.204774]  kunit_try_run_case+0x1a5/0x480
[   16.205017]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.205496]  kthread+0x337/0x6f0
[   16.205674]  ret_from_fork+0x116/0x1d0
[   16.205863]  ret_from_fork_asm+0x1a/0x30
[   16.206070] 
[   16.206214] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.206727] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.206938] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.207341] ==================================================================
[   15.993865] ==================================================================
[   15.994485] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.994485] 
[   15.994967] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#61):
[   15.995400]  test_out_of_bounds_read+0x126/0x4e0
[   15.995631]  kunit_try_run_case+0x1a5/0x480
[   15.995854]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.996110]  kthread+0x337/0x6f0
[   15.996272]  ret_from_fork+0x116/0x1d0
[   15.996432]  ret_from_fork_asm+0x1a/0x30
[   15.996710] 
[   15.996932] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.996932] 
[   15.997523] allocated by task 304 on cpu 1 at 15.992865s (0.004601s ago):
[   15.998076]  test_alloc+0x364/0x10f0
[   15.998291]  test_out_of_bounds_read+0xed/0x4e0
[   15.998527]  kunit_try_run_case+0x1a5/0x480
[   15.998702]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.998911]  kthread+0x337/0x6f0
[   15.999109]  ret_from_fork+0x116/0x1d0
[   15.999279]  ret_from_fork_asm+0x1a/0x30
[   15.999538] 
[   15.999697] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.000172] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.000320] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.000797] ==================================================================
[   16.096985] ==================================================================
[   16.097385] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.097385] 
[   16.097835] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#62):
[   16.098235]  test_out_of_bounds_read+0x216/0x4e0
[   16.098409]  kunit_try_run_case+0x1a5/0x480
[   16.098629]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.098889]  kthread+0x337/0x6f0
[   16.099093]  ret_from_fork+0x116/0x1d0
[   16.099256]  ret_from_fork_asm+0x1a/0x30
[   16.099464] 
[   16.099566] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.099566] 
[   16.099972] allocated by task 304 on cpu 1 at 16.096795s (0.003174s ago):
[   16.100309]  test_alloc+0x364/0x10f0
[   16.100460]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.100688]  kunit_try_run_case+0x1a5/0x480
[   16.100877]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.101091]  kthread+0x337/0x6f0
[   16.101366]  ret_from_fork+0x116/0x1d0
[   16.101503]  ret_from_fork_asm+0x1a/0x30
[   16.101644] 
[   16.101742] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.102182] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.102333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.102605] ==================================================================
[   16.408878] ==================================================================
[   16.409329] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.409329] 
[   16.409903] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#65):
[   16.410283]  test_out_of_bounds_read+0x216/0x4e0
[   16.410463]  kunit_try_run_case+0x1a5/0x480
[   16.410617]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.410897]  kthread+0x337/0x6f0
[   16.411105]  ret_from_fork+0x116/0x1d0
[   16.411354]  ret_from_fork_asm+0x1a/0x30
[   16.411532] 
[   16.411608] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.411608] 
[   16.412035] allocated by task 306 on cpu 1 at 16.408823s (0.003209s ago):
[   16.412360]  test_alloc+0x2a6/0x10f0
[   16.412529]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.412777]  kunit_try_run_case+0x1a5/0x480
[   16.412997]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.413335]  kthread+0x337/0x6f0
[   16.413564]  ret_from_fork+0x116/0x1d0
[   16.413828]  ret_from_fork_asm+0x1a/0x30
[   16.414045] 
[   16.414169] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.414490] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.414695] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.415122] ==================================================================