Hay
Date
July 4, 2025, 3:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64
x86

[   24.429170] ==================================================================
[   24.438153] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_16+0x3a0/0x3f8
[   24.444832] Write of size 16 at addr ffff000804354a60 by task kunit_try_catch/215
[   24.452298] 
[   24.453782] CPU: 3 UID: 0 PID: 215 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   24.453834] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.453851] Hardware name: WinLink E850-96 board (DT)
[   24.453872] Call trace:
[   24.453890]  show_stack+0x20/0x38 (C)
[   24.453927]  dump_stack_lvl+0x8c/0xd0
[   24.453962]  print_report+0x118/0x608
[   24.453993]  kasan_report+0xdc/0x128
[   24.454022]  __asan_report_store16_noabort+0x20/0x30
[   24.454059]  kmalloc_oob_16+0x3a0/0x3f8
[   24.454091]  kunit_try_run_case+0x170/0x3f0
[   24.454128]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.454165]  kthread+0x328/0x630
[   24.454198]  ret_from_fork+0x10/0x20
[   24.454231] 
[   24.516445] Allocated by task 215:
[   24.519834]  kasan_save_stack+0x3c/0x68
[   24.523649]  kasan_save_track+0x20/0x40
[   24.527469]  kasan_save_alloc_info+0x40/0x58
[   24.531722]  __kasan_kmalloc+0xd4/0xd8
[   24.535455]  __kmalloc_cache_noprof+0x16c/0x3c0
[   24.539968]  kmalloc_oob_16+0xb4/0x3f8
[   24.543701]  kunit_try_run_case+0x170/0x3f0
[   24.547867]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.553336]  kthread+0x328/0x630
[   24.556548]  ret_from_fork+0x10/0x20
[   24.560107] 
[   24.561584] The buggy address belongs to the object at ffff000804354a60
[   24.561584]  which belongs to the cache kmalloc-16 of size 16
[   24.573913] The buggy address is located 0 bytes inside of
[   24.573913]  allocated 13-byte region [ffff000804354a60, ffff000804354a6d)
[   24.586235] 
[   24.587715] The buggy address belongs to the physical page:
[   24.593271] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x884354
[   24.601254] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   24.607764] page_type: f5(slab)
[   24.610901] raw: 0bfffe0000000000 ffff000800002640 dead000000000122 0000000000000000
[   24.618620] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000
[   24.626340] page dumped because: kasan: bad access detected
[   24.631894] 
[   24.633369] Memory state around the buggy address:
[   24.638151]  ffff000804354900: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc
[   24.645353]  ffff000804354980: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc
[   24.652558] >ffff000804354a00: 00 04 fc fc fa fb fc fc fa fb fc fc 00 05 fc fc
[   24.659758]                                                           ^
[   24.666359]  ffff000804354a80: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   24.673564]  ffff000804354b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   24.680767] ==================================================================

[   15.547802] ==================================================================
[   15.548389] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_16+0x3a0/0x3f8
[   15.548512] Write of size 16 at addr fff00000c6271280 by task kunit_try_catch/171
[   15.548562] 
[   15.548594] CPU: 0 UID: 0 PID: 171 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   15.548681] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.548706] Hardware name: linux,dummy-virt (DT)
[   15.548736] Call trace:
[   15.548793]  show_stack+0x20/0x38 (C)
[   15.548867]  dump_stack_lvl+0x8c/0xd0
[   15.548964]  print_report+0x118/0x608
[   15.549099]  kasan_report+0xdc/0x128
[   15.549181]  __asan_report_store16_noabort+0x20/0x30
[   15.549281]  kmalloc_oob_16+0x3a0/0x3f8
[   15.549326]  kunit_try_run_case+0x170/0x3f0
[   15.549373]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.549425]  kthread+0x328/0x630
[   15.549470]  ret_from_fork+0x10/0x20
[   15.549570] 
[   15.549625] Allocated by task 171:
[   15.549661]  kasan_save_stack+0x3c/0x68
[   15.549697]  kasan_save_track+0x20/0x40
[   15.549731]  kasan_save_alloc_info+0x40/0x58
[   15.549767]  __kasan_kmalloc+0xd4/0xd8
[   15.549800]  __kmalloc_cache_noprof+0x16c/0x3c0
[   15.550476]  kmalloc_oob_16+0xb4/0x3f8
[   15.550533]  kunit_try_run_case+0x170/0x3f0
[   15.550570]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   15.550615]  kthread+0x328/0x630
[   15.550671]  ret_from_fork+0x10/0x20
[   15.550706] 
[   15.550725] The buggy address belongs to the object at fff00000c6271280
[   15.550725]  which belongs to the cache kmalloc-16 of size 16
[   15.551091] The buggy address is located 0 bytes inside of
[   15.551091]  allocated 13-byte region [fff00000c6271280, fff00000c627128d)
[   15.551155] 
[   15.551174] The buggy address belongs to the physical page:
[   15.551539] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106271
[   15.551617] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   15.551728] page_type: f5(slab)
[   15.551767] raw: 0bfffe0000000000 fff00000c0001640 dead000000000122 0000000000000000
[   15.551873] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000
[   15.551982] page dumped because: kasan: bad access detected
[   15.552014] 
[   15.552032] Memory state around the buggy address:
[   15.552079]  fff00000c6271180: 00 02 fc fc fa fb fc fc fa fb fc fc fa fb fc fc
[   15.552120]  fff00000c6271200: fa fb fc fc fa fb fc fc 00 04 fc fc fa fb fc fc
[   15.552452] >fff00000c6271280: 00 05 fc fc 00 00 fc fc fc fc fc fc fc fc fc fc
[   15.552492]                       ^
[   15.552520]  fff00000c6271300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.552560]  fff00000c6271380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   15.552665] ==================================================================

[   14.212794] ==================================================================
[   14.213647] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_16+0x452/0x4a0
[   14.213991] Write of size 16 at addr ffff8881023178c0 by task kunit_try_catch/187
[   14.214261] 
[   14.215644] CPU: 1 UID: 0 PID: 187 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   14.215767] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.215792] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.215836] Call Trace:
[   14.215866]  <TASK>
[   14.215907]  dump_stack_lvl+0x73/0xb0
[   14.216131]  print_report+0xd1/0x650
[   14.216180]  ? __virt_addr_valid+0x1db/0x2d0
[   14.216378]  ? kmalloc_oob_16+0x452/0x4a0
[   14.216419]  ? kasan_complete_mode_report_info+0x2a/0x200
[   14.216458]  ? kmalloc_oob_16+0x452/0x4a0
[   14.216495]  kasan_report+0x141/0x180
[   14.216535]  ? kmalloc_oob_16+0x452/0x4a0
[   14.216584]  __asan_report_store16_noabort+0x1b/0x30
[   14.216619]  kmalloc_oob_16+0x452/0x4a0
[   14.216654]  ? __pfx_kmalloc_oob_16+0x10/0x10
[   14.216692]  ? __schedule+0x10cc/0x2b60
[   14.216732]  ? __pfx_read_tsc+0x10/0x10
[   14.216768]  ? ktime_get_ts64+0x86/0x230
[   14.216820]  kunit_try_run_case+0x1a5/0x480
[   14.216867]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.216907]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.216951]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.216995]  ? __kthread_parkme+0x82/0x180
[   14.217056]  ? preempt_count_sub+0x50/0x80
[   14.217108]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.217153]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.217376]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.217418]  kthread+0x337/0x6f0
[   14.217464]  ? trace_preempt_on+0x20/0xc0
[   14.217525]  ? __pfx_kthread+0x10/0x10
[   14.217567]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.217605]  ? calculate_sigpending+0x7b/0xa0
[   14.217651]  ? __pfx_kthread+0x10/0x10
[   14.217693]  ret_from_fork+0x41/0x80
[   14.217741]  ? __pfx_kthread+0x10/0x10
[   14.217783]  ret_from_fork_asm+0x1a/0x30
[   14.217859]  </TASK>
[   14.217888] 
[   14.235169] Allocated by task 187:
[   14.235728]  kasan_save_stack+0x45/0x70
[   14.236179]  kasan_save_track+0x18/0x40
[   14.236547]  kasan_save_alloc_info+0x3b/0x50
[   14.236962]  __kasan_kmalloc+0xb7/0xc0
[   14.237441]  __kmalloc_cache_noprof+0x189/0x420
[   14.237814]  kmalloc_oob_16+0xa8/0x4a0
[   14.238196]  kunit_try_run_case+0x1a5/0x480
[   14.238880]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.239448]  kthread+0x337/0x6f0
[   14.239620]  ret_from_fork+0x41/0x80
[   14.239961]  ret_from_fork_asm+0x1a/0x30
[   14.240447] 
[   14.240642] The buggy address belongs to the object at ffff8881023178c0
[   14.240642]  which belongs to the cache kmalloc-16 of size 16
[   14.241713] The buggy address is located 0 bytes inside of
[   14.241713]  allocated 13-byte region [ffff8881023178c0, ffff8881023178cd)
[   14.242621] 
[   14.242807] The buggy address belongs to the physical page:
[   14.243654] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102317
[   14.244139] flags: 0x200000000000000(node=0|zone=2)
[   14.244761] page_type: f5(slab)
[   14.245244] raw: 0200000000000000 ffff888100041640 dead000000000122 0000000000000000
[   14.245926] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000
[   14.246783] page dumped because: kasan: bad access detected
[   14.247227] 
[   14.247355] Memory state around the buggy address:
[   14.247981]  ffff888102317780: 00 05 fc fc 00 02 fc fc 00 02 fc fc 00 02 fc fc
[   14.248269]  ffff888102317800: 00 02 fc fc fa fb fc fc fa fb fc fc fa fb fc fc
[   14.249679] >ffff888102317880: 00 04 fc fc fa fb fc fc 00 05 fc fc 00 00 fc fc
[   14.250067]                                               ^
[   14.250423]  ffff888102317900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   14.251429]  ffff888102317980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   14.251796] ==================================================================

[   28.160251] ==================================================================
[   28.170881] BUG: KASAN: slab-out-of-bounds in kmalloc_oob_16+0x452/0x4a0
[   28.177614] Write of size 16 at addr ffff8881049629c0 by task kunit_try_catch/209
[   28.185103] 
[   28.186604] CPU: 1 UID: 0 PID: 209 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   28.186612] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.186614] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   28.186618] Call Trace:
[   28.186619]  <TASK>
[   28.186621]  dump_stack_lvl+0x73/0xb0
[   28.186625]  print_report+0xd1/0x650
[   28.186630]  ? __virt_addr_valid+0x1db/0x2d0
[   28.186634]  ? kmalloc_oob_16+0x452/0x4a0
[   28.186638]  ? kasan_complete_mode_report_info+0x2a/0x200
[   28.186642]  ? kmalloc_oob_16+0x452/0x4a0
[   28.186646]  kasan_report+0x141/0x180
[   28.186651]  ? kmalloc_oob_16+0x452/0x4a0
[   28.186655]  __asan_report_store16_noabort+0x1b/0x30
[   28.186660]  kmalloc_oob_16+0x452/0x4a0
[   28.186664]  ? __pfx_kmalloc_oob_16+0x10/0x10
[   28.186668]  ? __schedule+0x10cc/0x2b60
[   28.186673]  ? ktime_get_ts64+0x83/0x230
[   28.186677]  kunit_try_run_case+0x1a2/0x480
[   28.186682]  ? __pfx_kunit_try_run_case+0x10/0x10
[   28.186686]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   28.186691]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   28.186696]  ? __kthread_parkme+0x82/0x180
[   28.186700]  ? preempt_count_sub+0x50/0x80
[   28.186704]  ? __pfx_kunit_try_run_case+0x10/0x10
[   28.186709]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   28.186713]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   28.186718]  kthread+0x334/0x6f0
[   28.186721]  ? trace_preempt_on+0x20/0xc0
[   28.186725]  ? __pfx_kthread+0x10/0x10
[   28.186728]  ? _raw_spin_unlock_irq+0x47/0x80
[   28.186732]  ? calculate_sigpending+0x7b/0xa0
[   28.186736]  ? __pfx_kthread+0x10/0x10
[   28.186739]  ret_from_fork+0x3e/0x80
[   28.186743]  ? __pfx_kthread+0x10/0x10
[   28.186746]  ret_from_fork_asm+0x1a/0x30
[   28.186752]  </TASK>
[   28.186754] 
[   28.348424] Allocated by task 209:
[   28.351831]  kasan_save_stack+0x45/0x70
[   28.355669]  kasan_save_track+0x18/0x40
[   28.359509]  kasan_save_alloc_info+0x3b/0x50
[   28.363782]  __kasan_kmalloc+0xb7/0xc0
[   28.367535]  __kmalloc_cache_noprof+0x189/0x420
[   28.372067]  kmalloc_oob_16+0xa8/0x4a0
[   28.375821]  kunit_try_run_case+0x1a2/0x480
[   28.380013]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   28.385415]  kthread+0x334/0x6f0
[   28.388648]  ret_from_fork+0x3e/0x80
[   28.392224]  ret_from_fork_asm+0x1a/0x30
[   28.396150] 
[   28.397650] The buggy address belongs to the object at ffff8881049629c0
[   28.397650]  which belongs to the cache kmalloc-16 of size 16
[   28.409984] The buggy address is located 0 bytes inside of
[   28.409984]  allocated 13-byte region [ffff8881049629c0, ffff8881049629cd)
[   28.422325] 
[   28.423824] The buggy address belongs to the physical page:
[   28.429397] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x104962
[   28.437405] flags: 0x200000000000000(node=0|zone=2)
[   28.442284] page_type: f5(slab)
[   28.445431] raw: 0200000000000000 ffff888100042640 dead000000000122 0000000000000000
[   28.453180] raw: 0000000000000000 0000000080800080 00000000f5000000 0000000000000000
[   28.460944] page dumped because: kasan: bad access detected
[   28.466549] 
[   28.468048] Memory state around the buggy address:
[   28.472844]  ffff888104962880: fa fb fc fc 00 03 fc fc 00 03 fc fc 00 03 fc fc
[   28.480061]  ffff888104962900: fa fb fc fc fa fb fc fc fa fb fc fc fa fb fc fc
[   28.487281] >ffff888104962980: 00 05 fc fc fa fb fc fc 00 05 fc fc 00 00 fc fc
[   28.494499]                                               ^
[   28.500072]  ffff888104962a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   28.507292]  ffff888104962a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   28.514511] ==================================================================