mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot ci <syzbot+cif1b1747c51179b79@syzkaller.appspotmail.com>
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
Cc: syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com
Subject: [syzbot ci] Re: xarray: fix index jumping backwards in xas_find_marked()
Date: Wed, 02 Dec 2026 23:00:03 -0800	[thread overview]
Message-ID: <6b111373.3ba11d86.1c9c77.0048.GAE@google.com> (raw)
In-Reply-To: <20261126190847.3064508-1-heyheyco@gmail.com>

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.

  parent reply	other threads:[~2026-12-03  7:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 21:34 [PATCH] " Qian Xiao
2026-11-26 19:08 ` [PATCH v2] " Qian Xiao
2026-11-27 22:21   ` [PATCH v3] " Qian Xiao
2026-11-29  3:12     ` Andrew Morton
2026-11-29 23:52       ` Qian Xiao
2026-12-03  1:06         ` Andrew Morton
2026-12-03  7:00   ` syzbot ci [this message]
2026-12-03  7:13     ` [syzbot ci] " Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b111373.3ba11d86.1c9c77.0048.GAE@google.com \
    --to=syzbot+cif1b1747c51179b79@syzkaller.appspotmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=heyheyco@gmail.com \
    --cc=krystianmkaniewski@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=syzbot@lists.linux.dev \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®