Hay
Date
May 13, 2025, 12:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.387905] ==================================================================
[   24.388058] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.388058] 
[   24.388137] Corrupted memory at 0x00000000218d4ac5 [ ! ] (in kfence-#114):
[   24.388287]  test_corruption+0x284/0x378
[   24.388338]  kunit_try_run_case+0x170/0x3f0
[   24.388385]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.388434]  kthread+0x328/0x630
[   24.388480]  ret_from_fork+0x10/0x20
[   24.388528] 
[   24.388554] kfence-#114: 0x00000000929cba9c-0x00000000153bb2cd, size=32, cache=kmalloc-32
[   24.388554] 
[   24.388615] allocated by task 311 on cpu 1 at 24.387443s (0.001168s ago):
[   24.388683]  test_alloc+0x29c/0x628
[   24.388728]  test_corruption+0x198/0x378
[   24.388772]  kunit_try_run_case+0x170/0x3f0
[   24.388812]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.388861]  kthread+0x328/0x630
[   24.388904]  ret_from_fork+0x10/0x20
[   24.388946] 
[   24.388983] freed by task 311 on cpu 1 at 24.387605s (0.001372s ago):
[   24.389057]  test_corruption+0x284/0x378
[   24.389104]  kunit_try_run_case+0x170/0x3f0
[   24.389149]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.389198]  kthread+0x328/0x630
[   24.389241]  ret_from_fork+0x10/0x20
[   24.389286] 
[   24.389340] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   24.389429] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.389466] Hardware name: linux,dummy-virt (DT)
[   24.389507] ==================================================================
[   24.595675] ==================================================================
[   24.595869] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.595869] 
[   24.595968] Corrupted memory at 0x00000000d455faf6 [ ! . . . . . . . . . . . . . . . ] (in kfence-#116):
[   24.596352]  test_corruption+0x120/0x378
[   24.596410]  kunit_try_run_case+0x170/0x3f0
[   24.596464]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.596513]  kthread+0x328/0x630
[   24.596559]  ret_from_fork+0x10/0x20
[   24.596606] 
[   24.596634] kfence-#116: 0x0000000072ee961d-0x00000000a03ffaf6, size=32, cache=test
[   24.596634] 
[   24.596695] allocated by task 313 on cpu 1 at 24.595417s (0.001274s ago):
[   24.596769]  test_alloc+0x230/0x628
[   24.596817]  test_corruption+0xdc/0x378
[   24.596861]  kunit_try_run_case+0x170/0x3f0
[   24.596905]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.596954]  kthread+0x328/0x630
[   24.597014]  ret_from_fork+0x10/0x20
[   24.597060] 
[   24.597087] freed by task 313 on cpu 1 at 24.595512s (0.001570s ago):
[   24.597155]  test_corruption+0x120/0x378
[   24.597199]  kunit_try_run_case+0x170/0x3f0
[   24.597244]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.597296]  kthread+0x328/0x630
[   24.597339]  ret_from_fork+0x10/0x20
[   24.597385] 
[   24.597442] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   24.597533] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.597567] Hardware name: linux,dummy-virt (DT)
[   24.597607] ==================================================================
[   24.699601] ==================================================================
[   24.699765] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.699765] 
[   24.699846] Corrupted memory at 0x0000000037831a29 [ ! ] (in kfence-#117):
[   24.700014]  test_corruption+0x1d8/0x378
[   24.700074]  kunit_try_run_case+0x170/0x3f0
[   24.700126]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.700178]  kthread+0x328/0x630
[   24.700226]  ret_from_fork+0x10/0x20
[   24.700270] 
[   24.700300] kfence-#117: 0x00000000bf803449-0x000000002042216c, size=32, cache=test
[   24.700300] 
[   24.700363] allocated by task 313 on cpu 1 at 24.699338s (0.001020s ago):
[   24.700436]  test_alloc+0x230/0x628
[   24.700484]  test_corruption+0x198/0x378
[   24.700530]  kunit_try_run_case+0x170/0x3f0
[   24.700574]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.700623]  kthread+0x328/0x630
[   24.700667]  ret_from_fork+0x10/0x20
[   24.700710] 
[   24.700738] freed by task 313 on cpu 1 at 24.699437s (0.001297s ago):
[   24.700806]  test_corruption+0x1d8/0x378
[   24.700852]  kunit_try_run_case+0x170/0x3f0
[   24.700896]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.700944]  kthread+0x328/0x630
[   24.701002]  ret_from_fork+0x10/0x20
[   24.701052] 
[   24.701105] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   24.701196] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.701231] Hardware name: linux,dummy-virt (DT)
[   24.701275] ==================================================================
[   24.179631] ==================================================================
[   24.179781] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   24.179781] 
[   24.179870] Corrupted memory at 0x00000000eb886328 [ ! . . . . . . . . . . . . . . . ] (in kfence-#112):
[   24.181270]  test_corruption+0x278/0x378
[   24.181338]  kunit_try_run_case+0x170/0x3f0
[   24.181394]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.181446]  kthread+0x328/0x630
[   24.181497]  ret_from_fork+0x10/0x20
[   24.181543] 
[   24.181571] kfence-#112: 0x0000000023cf7a8b-0x00000000ee5a2f08, size=32, cache=kmalloc-32
[   24.181571] 
[   24.181639] allocated by task 311 on cpu 1 at 24.179261s (0.002373s ago):
[   24.181713]  test_alloc+0x29c/0x628
[   24.181763]  test_corruption+0xdc/0x378
[   24.181829]  kunit_try_run_case+0x170/0x3f0
[   24.181883]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.181933]  kthread+0x328/0x630
[   24.181993]  ret_from_fork+0x10/0x20
[   24.182044] 
[   24.182073] freed by task 311 on cpu 1 at 24.179396s (0.002672s ago):
[   24.182143]  test_corruption+0x278/0x378
[   24.182192]  kunit_try_run_case+0x170/0x3f0
[   24.182239]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.182289]  kthread+0x328/0x630
[   24.182334]  ret_from_fork+0x10/0x20
[   24.182383] 
[   24.182442] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   24.182539] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.182577] Hardware name: linux,dummy-virt (DT)
[   24.182618] ==================================================================

[   17.763048] ==================================================================
[   17.763515] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.763515] 
[   17.763902] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#84):
[   17.764303]  test_corruption+0x2df/0x3e0
[   17.764453]  kunit_try_run_case+0x1a5/0x480
[   17.764604]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.765028]  kthread+0x337/0x6f0
[   17.765208]  ret_from_fork+0x116/0x1d0
[   17.765410]  ret_from_fork_asm+0x1a/0x30
[   17.765552] 
[   17.765717] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.765717] 
[   17.766109] allocated by task 328 on cpu 0 at 17.762807s (0.003300s ago):
[   17.766484]  test_alloc+0x364/0x10f0
[   17.766679]  test_corruption+0x1cb/0x3e0
[   17.766849]  kunit_try_run_case+0x1a5/0x480
[   17.766998]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.767265]  kthread+0x337/0x6f0
[   17.767440]  ret_from_fork+0x116/0x1d0
[   17.767685]  ret_from_fork_asm+0x1a/0x30
[   17.767862] 
[   17.767947] freed by task 328 on cpu 0 at 17.762883s (0.005062s ago):
[   17.768239]  test_corruption+0x2df/0x3e0
[   17.768403]  kunit_try_run_case+0x1a5/0x480
[   17.768593]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.768828]  kthread+0x337/0x6f0
[   17.768951]  ret_from_fork+0x116/0x1d0
[   17.769109]  ret_from_fork_asm+0x1a/0x30
[   17.769309] 
[   17.769462] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   17.769893] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.770035] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.770747] ==================================================================
[   18.698885] ==================================================================
[   18.699336] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.699336] 
[   18.699752] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#93):
[   18.700130]  test_corruption+0x216/0x3e0
[   18.700303]  kunit_try_run_case+0x1a5/0x480
[   18.700470]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.700745]  kthread+0x337/0x6f0
[   18.700918]  ret_from_fork+0x116/0x1d0
[   18.701055]  ret_from_fork_asm+0x1a/0x30
[   18.701340] 
[   18.701442] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.701442] 
[   18.701832] allocated by task 330 on cpu 0 at 18.698759s (0.003071s ago):
[   18.702108]  test_alloc+0x2a6/0x10f0
[   18.702241]  test_corruption+0x1cb/0x3e0
[   18.702441]  kunit_try_run_case+0x1a5/0x480
[   18.702674]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.702926]  kthread+0x337/0x6f0
[   18.703051]  ret_from_fork+0x116/0x1d0
[   18.703231]  ret_from_fork_asm+0x1a/0x30
[   18.703436] 
[   18.703533] freed by task 330 on cpu 0 at 18.698811s (0.004720s ago):
[   18.703839]  test_corruption+0x216/0x3e0
[   18.703982]  kunit_try_run_case+0x1a5/0x480
[   18.704178]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.704445]  kthread+0x337/0x6f0
[   18.704626]  ret_from_fork+0x116/0x1d0
[   18.704790]  ret_from_fork_asm+0x1a/0x30
[   18.704993] 
[   18.705103] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   18.705597] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.705808] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.706148] ==================================================================
[   17.451005] ==================================================================
[   17.451507] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.451507] 
[   17.451891] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   17.452448]  test_corruption+0x2d2/0x3e0
[   17.452699]  kunit_try_run_case+0x1a5/0x480
[   17.452920]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.453125]  kthread+0x337/0x6f0
[   17.453435]  ret_from_fork+0x116/0x1d0
[   17.453632]  ret_from_fork_asm+0x1a/0x30
[   17.453804] 
[   17.453924] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.453924] 
[   17.454348] allocated by task 328 on cpu 0 at 17.450838s (0.003507s ago):
[   17.454718]  test_alloc+0x364/0x10f0
[   17.454906]  test_corruption+0xe6/0x3e0
[   17.455106]  kunit_try_run_case+0x1a5/0x480
[   17.455384]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.455641]  kthread+0x337/0x6f0
[   17.455834]  ret_from_fork+0x116/0x1d0
[   17.455999]  ret_from_fork_asm+0x1a/0x30
[   17.456142] 
[   17.456217] freed by task 328 on cpu 0 at 17.450929s (0.005286s ago):
[   17.456686]  test_corruption+0x2d2/0x3e0
[   17.456848]  kunit_try_run_case+0x1a5/0x480
[   17.456993]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.457555]  kthread+0x337/0x6f0
[   17.457752]  ret_from_fork+0x116/0x1d0
[   17.457931]  ret_from_fork_asm+0x1a/0x30
[   17.458116] 
[   17.458695] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   17.459448] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.459605] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.460003] ==================================================================
[   18.386933] ==================================================================
[   18.387369] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.387369] 
[   18.387684] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#90):
[   18.388283]  test_corruption+0x131/0x3e0
[   18.388509]  kunit_try_run_case+0x1a5/0x480
[   18.388729]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.388953]  kthread+0x337/0x6f0
[   18.389122]  ret_from_fork+0x116/0x1d0
[   18.389334]  ret_from_fork_asm+0x1a/0x30
[   18.389562] 
[   18.389713] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.389713] 
[   18.390154] allocated by task 330 on cpu 0 at 18.386805s (0.003347s ago):
[   18.390441]  test_alloc+0x2a6/0x10f0
[   18.390583]  test_corruption+0xe6/0x3e0
[   18.390791]  kunit_try_run_case+0x1a5/0x480
[   18.391004]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.391219]  kthread+0x337/0x6f0
[   18.391342]  ret_from_fork+0x116/0x1d0
[   18.391643]  ret_from_fork_asm+0x1a/0x30
[   18.391844] 
[   18.391919] freed by task 330 on cpu 0 at 18.386854s (0.005062s ago):
[   18.392128]  test_corruption+0x131/0x3e0
[   18.392322]  kunit_try_run_case+0x1a5/0x480
[   18.392561]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.392832]  kthread+0x337/0x6f0
[   18.393008]  ret_from_fork+0x116/0x1d0
[   18.393195]  ret_from_fork_asm+0x1a/0x30
[   18.393367] 
[   18.393489] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   18.393865] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.394069] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.394603] ==================================================================