Hay
Date
June 3, 2025, 7:38 a.m.

Environment
qemu-arm64
qemu-x86_64
x86

[   18.116562] ==================================================================
[   18.116632] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x278/0x2b8
[   18.116685] Write of size 1 at addr fff00000c647600a by task kunit_try_catch/146
[   18.116734] 
[   18.116767] CPU: 1 UID: 0 PID: 146 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   18.116982] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.117079] Hardware name: linux,dummy-virt (DT)
[   18.117159] Call trace:
[   18.117200]  show_stack+0x20/0x38 (C)
[   18.117289]  dump_stack_lvl+0x8c/0xd0
[   18.117443]  print_report+0x118/0x608
[   18.117513]  kasan_report+0xdc/0x128
[   18.117569]  __asan_report_store1_noabort+0x20/0x30
[   18.117638]  kmalloc_large_oob_right+0x278/0x2b8
[   18.117737]  kunit_try_run_case+0x170/0x3f0
[   18.117806]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.117902]  kthread+0x328/0x630
[   18.118032]  ret_from_fork+0x10/0x20
[   18.118079] 
[   18.118138] The buggy address belongs to the physical page:
[   18.118356] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106474
[   18.118570] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   18.118640] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff)
[   18.118800] page_type: f8(unknown)
[   18.118904] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   18.119024] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   18.119124] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   18.119263] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   18.119339] head: 0bfffe0000000002 ffffc1ffc3191d01 00000000ffffffff 00000000ffffffff
[   18.119770] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   18.119811] page dumped because: kasan: bad access detected
[   18.119841] 
[   18.119859] Memory state around the buggy address:
[   18.119890]  fff00000c6475f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.119931]  fff00000c6475f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.119974] >fff00000c6476000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   18.120009]                       ^
[   18.120037]  fff00000c6476080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   18.120077]  fff00000c6476100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   18.120113] ==================================================================


[   13.686301] ==================================================================
[   13.687011] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330
[   13.687492] Write of size 1 at addr ffff88810394a00a by task kunit_try_catch/163
[   13.688492] 
[   13.688681] CPU: 1 UID: 0 PID: 163 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   13.689179] Tainted: [B]=BAD_PAGE, [N]=TEST
[   13.689215] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   13.689253] Call Trace:
[   13.689282]  <TASK>
[   13.689317]  dump_stack_lvl+0x73/0xb0
[   13.689398]  print_report+0xd1/0x650
[   13.689424]  ? __virt_addr_valid+0x1db/0x2d0
[   13.689451]  ? kmalloc_large_oob_right+0x2e9/0x330
[   13.689498]  ? kasan_addr_to_slab+0x11/0xa0
[   13.689521]  ? kmalloc_large_oob_right+0x2e9/0x330
[   13.689545]  kasan_report+0x141/0x180
[   13.689568]  ? kmalloc_large_oob_right+0x2e9/0x330
[   13.689596]  __asan_report_store1_noabort+0x1b/0x30
[   13.689618]  kmalloc_large_oob_right+0x2e9/0x330
[   13.689642]  ? __pfx_kmalloc_large_oob_right+0x10/0x10
[   13.689666]  ? __schedule+0x10cc/0x2b60
[   13.689699]  ? __pfx_read_tsc+0x10/0x10
[   13.689735]  ? ktime_get_ts64+0x86/0x230
[   13.689777]  kunit_try_run_case+0x1a5/0x480
[   13.689816]  ? __pfx_kunit_try_run_case+0x10/0x10
[   13.689842]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   13.689868]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   13.689893]  ? __kthread_parkme+0x82/0x180
[   13.689916]  ? preempt_count_sub+0x50/0x80
[   13.689941]  ? __pfx_kunit_try_run_case+0x10/0x10
[   13.689963]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   13.689988]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   13.690013]  kthread+0x337/0x6f0
[   13.690034]  ? trace_preempt_on+0x20/0xc0
[   13.690059]  ? __pfx_kthread+0x10/0x10
[   13.690080]  ? _raw_spin_unlock_irq+0x47/0x80
[   13.690104]  ? calculate_sigpending+0x7b/0xa0
[   13.690129]  ? __pfx_kthread+0x10/0x10
[   13.690153]  ret_from_fork+0x116/0x1d0
[   13.690173]  ? __pfx_kthread+0x10/0x10
[   13.690200]  ret_from_fork_asm+0x1a/0x30
[   13.690247]  </TASK>
[   13.690261] 
[   13.705636] The buggy address belongs to the physical page:
[   13.706105] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103948
[   13.706567] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   13.706889] flags: 0x200000000000040(head|node=0|zone=2)
[   13.707415] page_type: f8(unknown)
[   13.707754] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000
[   13.708440] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   13.709190] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000
[   13.709828] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   13.710115] head: 0200000000000002 ffffea00040e5201 00000000ffffffff 00000000ffffffff
[   13.710601] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   13.711296] page dumped because: kasan: bad access detected
[   13.711609] 
[   13.711902] Memory state around the buggy address:
[   13.712120]  ffff888103949f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   13.713180]  ffff888103949f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   13.713972] >ffff88810394a000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   13.714507]                       ^
[   13.714678]  ffff88810394a080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   13.715518]  ffff88810394a100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   13.716097] ==================================================================


[   19.506626] ==================================================================
[   19.517967] BUG: KASAN: slab-out-of-bounds in kmalloc_large_oob_right+0x2e9/0x330
[   19.525452] Write of size 1 at addr ffff8881069f600a by task kunit_try_catch/186
[   19.532849] 
[   19.534368] CPU: 2 UID: 0 PID: 186 Comm: kunit_try_catch Tainted: G S  B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   19.534378] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   19.534380] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   19.534384] Call Trace:
[   19.534386]  <TASK>
[   19.534387]  dump_stack_lvl+0x73/0xb0
[   19.534404]  print_report+0xd1/0x650
[   19.534408]  ? __virt_addr_valid+0x1db/0x2d0
[   19.534424]  ? kmalloc_large_oob_right+0x2e9/0x330
[   19.534428]  ? kasan_addr_to_slab+0x11/0xa0
[   19.534432]  ? kmalloc_large_oob_right+0x2e9/0x330
[   19.534436]  kasan_report+0x141/0x180
[   19.534440]  ? kmalloc_large_oob_right+0x2e9/0x330
[   19.534445]  __asan_report_store1_noabort+0x1b/0x30
[   19.534449]  kmalloc_large_oob_right+0x2e9/0x330
[   19.534453]  ? __pfx_kmalloc_large_oob_right+0x10/0x10
[   19.534457]  ? __schedule+0x10cc/0x2b60
[   19.534462]  ? ktime_get_ts64+0x83/0x230
[   19.534466]  kunit_try_run_case+0x1a2/0x480
[   19.534470]  ? __pfx_kunit_try_run_case+0x10/0x10
[   19.534473]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   19.534477]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   19.534482]  ? __kthread_parkme+0x82/0x180
[   19.534485]  ? preempt_count_sub+0x50/0x80
[   19.534490]  ? __pfx_kunit_try_run_case+0x10/0x10
[   19.534493]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   19.534498]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   19.534502]  kthread+0x334/0x6f0
[   19.534506]  ? trace_preempt_on+0x20/0xc0
[   19.534510]  ? __pfx_kthread+0x10/0x10
[   19.534513]  ? _raw_spin_unlock_irq+0x47/0x80
[   19.534517]  ? calculate_sigpending+0x7b/0xa0
[   19.534522]  ? __pfx_kthread+0x10/0x10
[   19.534526]  ret_from_fork+0x113/0x1d0
[   19.534529]  ? __pfx_kthread+0x10/0x10
[   19.534532]  ret_from_fork_asm+0x1a/0x30
[   19.534538]  </TASK>
[   19.534540] 
[   19.701784] The buggy address belongs to the physical page:
[   19.707385] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1069f4
[   19.715450] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   19.723105] flags: 0x200000000000040(head|node=0|zone=2)
[   19.728423] page_type: f8(unknown)
[   19.731833] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000
[   19.739578] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   19.747318] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000
[   19.755143] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   19.762972] head: 0200000000000002 ffffea00041a7d01 00000000ffffffff 00000000ffffffff
[   19.770804] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   19.778630] page dumped because: kasan: bad access detected
[   19.784201] 
[   19.785694] Memory state around the buggy address:
[   19.790487]  ffff8881069f5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.797706]  ffff8881069f5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.804925] >ffff8881069f6000: 00 02 fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   19.812143]                       ^
[   19.815637]  ffff8881069f6080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   19.822864]  ffff8881069f6100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
[   19.830083] ==================================================================