All of lore.kernel.org
 help / color / mirror / Atom feed
* [moderation/CI] Re: xarray: fix index jumping backwards in xas_find_marked()
@ 2026-12-02 22:59 syzbot ci
  0 siblings, 0 replies; only message in thread
From: syzbot ci @ 2026-12-02 22:59 UTC (permalink / raw)
  To: syzkaller-upstream-moderation; +Cc: syzbot

syzbot ci has tested the following series

[v2] xarray: fix index jumping backwards in xas_find_marked()
https://lore.kernel.org/all/20261126190847.3064508-1-heyheyco@gmail.com
* [PATCH v2] xarray: fix index jumping backwards in xas_find_marked()

and found the following issue:
UBSAN: shift-out-of-bounds in xa_find

Full report is available here:
https://ci.syzbot.org/series/c1effee3-f992-4c4c-a1f3-63e64e1fa823

***

UBSAN: shift-out-of-bounds in xa_find

tree:      mm-new
URL:       https://kernel.googlesource.com/pub/scm/linux/kernel/git/akpm/mm.git
base:      7903e5d4dcaa83ff649ac1573619e7dc35c84116
arch:      amd64
compiler:  Debian clang version 22.1.8 (1~deb13u5), Debian LLD 22.1.8
config:    https://ci.syzbot.org/builds/5a93f427-8e6a-4190-863a-de5526fa8d7c/config

------------[ cut here ]------------
UBSAN: shift-out-of-bounds in lib/xarray.c:1530:20
shift exponent 60 is too large for 32-bit type 'unsigned int'
CPU: 0 UID: 0 PID: 35 Comm: kworker/0:2 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events debugfs_reap_work
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 ubsan_epilogue+0xa/0x30
 __ubsan_handle_shift_out_of_bounds+0x36d/0x400
 xas_find_marked+0x106f/0x15b0
 xa_find+0x17a/0x2b0
 debugfs_reap_work+0x97/0x210
 process_scheduled_works+0xc5d/0x1650
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
---[ end trace ]---
Kernel panic - not syncing: UBSAN: panic_on_warn set ...
CPU: 0 UID: 0 PID: 35 Comm: kworker/0:2 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events debugfs_reap_work
Call Trace:
 <TASK>
 vpanic+0x26f/0x710
 panic+0xc5/0xd0
 check_panic_on_warn+0x89/0xb0
 __ubsan_handle_shift_out_of_bounds+0x36d/0x400
 xas_find_marked+0x106f/0x15b0
 xa_find+0x17a/0x2b0
 debugfs_reap_work+0x97/0x210
 process_scheduled_works+0xc5d/0x1650
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..


***

If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
  Tested-by: syzbot@syzkaller.appspotmail.com

---
This report is generated by a bot. It may contain errors.
syzbot ci engineers can be reached at syzkaller@googlegroups.com.

The email will later be sent to:
[akpm@linux-foundation.org heyheyco@gmail.com krystianmkaniewski@gmail.com linux-fsdevel@vger.kernel.org linux-kernel@vger.kernel.org linux-mm@kvack.org willy@infradead.org]

If the report looks fine to you, reply with:
#syz upstream

If the report is a false positive, reply with
#syz invalid


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-02 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 22:59 [moderation/CI] Re: xarray: fix index jumping backwards in xas_find_marked() syzbot ci

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.