Hay
Date
April 22, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   22.365229] ==================================================================
[   22.365448] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.365448] 
[   22.365692] Out-of-bounds read at 0x0000000038dca8a1 (1B left of kfence-#103):
[   22.366013]  test_out_of_bounds_read+0x114/0x3e0
[   22.366120]  kunit_try_run_case+0x170/0x3f0
[   22.366235]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.366340]  kthread+0x328/0x630
[   22.366644]  ret_from_fork+0x10/0x20
[   22.366764] 
[   22.366834] kfence-#103: 0x0000000015b080d7-0x0000000078f919b0, size=32, cache=test
[   22.366834] 
[   22.367008] allocated by task 291 on cpu 0 at 22.364971s (0.002027s ago):
[   22.367472]  test_alloc+0x230/0x628
[   22.367652]  test_out_of_bounds_read+0xdc/0x3e0
[   22.367873]  kunit_try_run_case+0x170/0x3f0
[   22.368203]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.368385]  kthread+0x328/0x630
[   22.368469]  ret_from_fork+0x10/0x20
[   22.368648] 
[   22.368857] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   22.369079] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.369336] Hardware name: linux,dummy-virt (DT)
[   22.369596] ==================================================================
[   22.156818] ==================================================================
[   22.156968] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.156968] 
[   22.157163] Out-of-bounds read at 0x000000009f96cf92 (32B right of kfence-#101):
[   22.157289]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.157397]  kunit_try_run_case+0x170/0x3f0
[   22.157508]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.157632]  kthread+0x328/0x630
[   22.157722]  ret_from_fork+0x10/0x20
[   22.157810] 
[   22.157869] kfence-#101: 0x00000000c07d91fe-0x0000000004d0d87f, size=32, cache=kmalloc-32
[   22.157869] 
[   22.157988] allocated by task 289 on cpu 0 at 22.156343s (0.001636s ago):
[   22.158132]  test_alloc+0x29c/0x628
[   22.158220]  test_out_of_bounds_read+0x198/0x3e0
[   22.158316]  kunit_try_run_case+0x170/0x3f0
[   22.158410]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.158510]  kthread+0x328/0x630
[   22.158602]  ret_from_fork+0x10/0x20
[   22.158685] 
[   22.158779] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   22.159199] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.159435] Hardware name: linux,dummy-virt (DT)
[   22.159488] ==================================================================
[   21.950745] ==================================================================
[   21.951031] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   21.951031] 
[   21.951298] Out-of-bounds read at 0x000000007b7cf928 (1B left of kfence-#99):
[   21.951807]  test_out_of_bounds_read+0x114/0x3e0
[   21.951939]  kunit_try_run_case+0x170/0x3f0
[   21.952038]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.952138]  kthread+0x328/0x630
[   21.952231]  ret_from_fork+0x10/0x20
[   21.952319] 
[   21.952368] kfence-#99: 0x0000000097b45901-0x00000000d050b7f8, size=32, cache=kmalloc-32
[   21.952368] 
[   21.952588] allocated by task 289 on cpu 0 at 21.948513s (0.003943s ago):
[   21.952915]  test_alloc+0x29c/0x628
[   21.953400]  test_out_of_bounds_read+0xdc/0x3e0
[   21.953607]  kunit_try_run_case+0x170/0x3f0
[   21.953700]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.954661]  kthread+0x328/0x630
[   21.954750]  ret_from_fork+0x10/0x20
[   21.955580] 
[   21.956216] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   21.956737] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.957524] Hardware name: linux,dummy-virt (DT)
[   21.957744] ==================================================================
[   22.678809] ==================================================================
[   22.679003] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.679003] 
[   22.679163] Out-of-bounds read at 0x000000000fdba11f (32B right of kfence-#106):
[   22.679292]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.680449]  kunit_try_run_case+0x170/0x3f0
[   22.680574]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.680664]  kthread+0x328/0x630
[   22.680745]  ret_from_fork+0x10/0x20
[   22.681242] 
[   22.681306] kfence-#106: 0x00000000fa3a127c-0x000000002f16dccc, size=32, cache=test
[   22.681306] 
[   22.681849] allocated by task 291 on cpu 0 at 22.677304s (0.004531s ago):
[   22.682020]  test_alloc+0x230/0x628
[   22.682566]  test_out_of_bounds_read+0x198/0x3e0
[   22.683120]  kunit_try_run_case+0x170/0x3f0
[   22.683658]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.683919]  kthread+0x328/0x630
[   22.684116]  ret_from_fork+0x10/0x20
[   22.684228] 
[   22.684329] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   22.684511] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.684590] Hardware name: linux,dummy-virt (DT)
[   22.684667] ==================================================================

[   26.394158] ==================================================================
[   26.394706] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   26.394706] 
[   26.395392] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#97):
[   26.396034]  test_out_of_bounds_read+0x126/0x4e0
[   26.396496]  kunit_try_run_case+0x1a5/0x480
[   26.396833]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.397204]  kthread+0x337/0x6f0
[   26.397602]  ret_from_fork+0x41/0x80
[   26.398013]  ret_from_fork_asm+0x1a/0x30
[   26.398447] 
[   26.398780] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   26.398780] 
[   26.399690] allocated by task 309 on cpu 0 at 26.394057s (0.005627s ago):
[   26.400486]  test_alloc+0x2a6/0x10f0
[   26.400818]  test_out_of_bounds_read+0xed/0x4e0
[   26.401158]  kunit_try_run_case+0x1a5/0x480
[   26.401602]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.402123]  kthread+0x337/0x6f0
[   26.402590]  ret_from_fork+0x41/0x80
[   26.403058]  ret_from_fork_asm+0x1a/0x30
[   26.403554] 
[   26.403875] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   26.404847] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.405288] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.405909] ==================================================================
[   26.186259] ==================================================================
[   26.186955] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   26.186955] 
[   26.187820] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#95):
[   26.188487]  test_out_of_bounds_read+0x216/0x4e0
[   26.188953]  kunit_try_run_case+0x1a5/0x480
[   26.189385]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.190062]  kthread+0x337/0x6f0
[   26.190453]  ret_from_fork+0x41/0x80
[   26.190782]  ret_from_fork_asm+0x1a/0x30
[   26.191259] 
[   26.191538] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.191538] 
[   26.192258] allocated by task 307 on cpu 1 at 26.186061s (0.006191s ago):
[   26.193118]  test_alloc+0x364/0x10f0
[   26.193628]  test_out_of_bounds_read+0x1e2/0x4e0
[   26.194121]  kunit_try_run_case+0x1a5/0x480
[   26.194602]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.195265]  kthread+0x337/0x6f0
[   26.195634]  ret_from_fork+0x41/0x80
[   26.195975]  ret_from_fork_asm+0x1a/0x30
[   26.196406] 
[   26.196799] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   26.197772] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.198115] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.198934] ==================================================================
[   25.978349] ==================================================================
[   25.978883] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   25.978883] 
[   25.980160] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#93):
[   25.980789]  test_out_of_bounds_read+0x126/0x4e0
[   25.981336]  kunit_try_run_case+0x1a5/0x480
[   25.981929]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.982332]  kthread+0x337/0x6f0
[   25.982660]  ret_from_fork+0x41/0x80
[   25.983128]  ret_from_fork_asm+0x1a/0x30
[   25.984007] 
[   25.984255] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   25.984255] 
[   25.985115] allocated by task 307 on cpu 1 at 25.978053s (0.007056s ago):
[   25.985664]  test_alloc+0x364/0x10f0
[   25.986512]  test_out_of_bounds_read+0xed/0x4e0
[   25.987043]  kunit_try_run_case+0x1a5/0x480
[   25.987412]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.987955]  kthread+0x337/0x6f0
[   25.988361]  ret_from_fork+0x41/0x80
[   25.988831]  ret_from_fork_asm+0x1a/0x30
[   25.989374] 
[   25.989781] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   25.990553] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.991069] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.992222] ==================================================================
[   26.498157] ==================================================================
[   26.498923] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   26.498923] 
[   26.500111] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#98):
[   26.501180]  test_out_of_bounds_read+0x216/0x4e0
[   26.501726]  kunit_try_run_case+0x1a5/0x480
[   26.502164]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.502729]  kthread+0x337/0x6f0
[   26.503151]  ret_from_fork+0x41/0x80
[   26.503617]  ret_from_fork_asm+0x1a/0x30
[   26.504061] 
[   26.504336] kfence-#98: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   26.504336] 
[   26.505133] allocated by task 309 on cpu 0 at 26.498068s (0.007059s ago):
[   26.505796]  test_alloc+0x2a6/0x10f0
[   26.506266]  test_out_of_bounds_read+0x1e2/0x4e0
[   26.506675]  kunit_try_run_case+0x1a5/0x480
[   26.507203]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.507784]  kthread+0x337/0x6f0
[   26.508134]  ret_from_fork+0x41/0x80
[   26.508586]  ret_from_fork_asm+0x1a/0x30
[   26.509117] 
[   26.509388] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   26.510350] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.510867] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.511666] ==================================================================

[   24.337846] ==================================================================
[   24.338519] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   24.338519] 
[   24.339344] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#89):
[   24.339987]  test_out_of_bounds_read+0x114/0x3e0
[   24.340414]  kunit_try_run_case+0x170/0x3f0
[   24.340805]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.341309]  kthread+0x328/0x630
[   24.341615]  ret_from_fork+0x10/0x20
[   24.341950] 
[   24.342094] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.342094] 
[   24.342947] allocated by task 345 on cpu 4 at 24.337819s (0.005127s ago):
[   24.343568]  test_alloc+0x29c/0x628
[   24.343892]  test_out_of_bounds_read+0xdc/0x3e0
[   24.344307]  kunit_try_run_case+0x170/0x3f0
[   24.344693]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.345195]  kthread+0x328/0x630
[   24.345499]  ret_from_fork+0x10/0x20
[   24.345832] 
[   24.345982] CPU: 4 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   24.346875] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.347254] Hardware name: Radxa ROCK Pi 4B (DT)
[   24.347673] ==================================================================
[   24.753870] ==================================================================
[   24.754538] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   24.754538] 
[   24.755353] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#93):
[   24.755989]  test_out_of_bounds_read+0x114/0x3e0
[   24.756406]  kunit_try_run_case+0x170/0x3f0
[   24.756789]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.757283]  kthread+0x328/0x630
[   24.757581]  ret_from_fork+0x10/0x20
[   24.757907] 
[   24.758046] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   24.758046] 
[   24.758844] allocated by task 347 on cpu 4 at 24.753845s (0.004998s ago):
[   24.759454]  test_alloc+0x230/0x628
[   24.759771]  test_out_of_bounds_read+0xdc/0x3e0
[   24.760176]  kunit_try_run_case+0x170/0x3f0
[   24.760553]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.761046]  kthread+0x328/0x630
[   24.761340]  ret_from_fork+0x10/0x20
[   24.761664] 
[   24.761809] CPU: 4 UID: 0 PID: 347 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   24.762689] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.763063] Hardware name: Radxa ROCK Pi 4B (DT)
[   24.763474] ==================================================================
[   24.649707] ==================================================================
[   24.650379] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   24.650379] 
[   24.651192] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#92):
[   24.651840]  test_out_of_bounds_read+0x1c8/0x3e0
[   24.652253]  kunit_try_run_case+0x170/0x3f0
[   24.652635]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.653127]  kthread+0x328/0x630
[   24.653424]  ret_from_fork+0x10/0x20
[   24.653748] 
[   24.653886] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.653886] 
[   24.654727] allocated by task 345 on cpu 4 at 24.649676s (0.005050s ago):
[   24.655335]  test_alloc+0x29c/0x628
[   24.655648]  test_out_of_bounds_read+0x198/0x3e0
[   24.656061]  kunit_try_run_case+0x170/0x3f0
[   24.656438]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.656929]  kthread+0x328/0x630
[   24.657222]  ret_from_fork+0x10/0x20
[   24.657544] 
[   24.657688] CPU: 4 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   24.658566] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.658938] Hardware name: Radxa ROCK Pi 4B (DT)
[   24.659348] ==================================================================
[   25.377675] ==================================================================
[   25.378348] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   25.378348] 
[   25.379162] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#99):
[   25.379810]  test_out_of_bounds_read+0x1c8/0x3e0
[   25.380224]  kunit_try_run_case+0x170/0x3f0
[   25.380606]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.381097]  kthread+0x328/0x630
[   25.381395]  ret_from_fork+0x10/0x20
[   25.381719] 
[   25.381857] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.381857] 
[   25.382654] allocated by task 347 on cpu 4 at 25.377648s (0.005005s ago):
[   25.383262]  test_alloc+0x230/0x628
[   25.383576]  test_out_of_bounds_read+0x198/0x3e0
[   25.383988]  kunit_try_run_case+0x170/0x3f0
[   25.384364]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.384854]  kthread+0x328/0x630
[   25.385147]  ret_from_fork+0x10/0x20
[   25.385470] 
[   25.385613] CPU: 4 UID: 0 PID: 347 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   25.386490] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.386861] Hardware name: Radxa ROCK Pi 4B (DT)
[   25.387271] ==================================================================