From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A7B6322B88 for ; Fri, 17 Apr 2026 10:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776422224; cv=none; b=aTozsqypxdYT0YL2w4lBDvwcPWtr86BgKV54WjtlO2bnWxn2KBDOK8J8t8Qye/6dAg5/Nvlirh7AAgXsurZB0bLKAaZJuRqoqnZ5y03kRDJxol1sUIyErvBUnzCKfsy9YDlJStfwbTInm8uCAh3I9ksKHVE6z9clJfwUoa+USig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776422224; c=relaxed/simple; bh=pnnEwLSwvwmMktUmEvJeGUkudD5iILp3xKUjsndZ/2o=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=ojS5Ce5cZpFmyyUZeMshmhONBDKuKmL1Uouy62ri5tKQ92ByfX5MRRTvO0p1D7rf3LXnpGYu4lSXzqwMj1Vpl2gNkUnpVar7GIur4EU7374vS9KdRvIVhQD4j1+AISeChqqFaBhIe8ljSj7C9Ng4UPiI3SrNquOXBk0JocxkYUs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-68e7e213adfso920151eaf.0 for ; Fri, 17 Apr 2026 03:37:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776422222; x=1777027022; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GpVd+yV+O6xhHisl8nYfE1hV8EpWspf3SWvKOkCace8=; b=HyVC51u/hAsnx/oHgXzxB/gCFOHrx6BfJVDhxnoYSCKde6BEFzQQPE7LcAcXdOj6Zx ZG62Sggz6c9C27RMEtHTUqx0aosChimmpr17p9gYo0fY+oVykWbIusHmnE61Yprc6lJp EDkFynXYNeoU3gfJ+nBtbcq5PuAvqgDM35+YqMiM1DSkL69FUpGZyUZ7FrbEu1eNN9a3 OPtMWu6klAYwOEDa0UGiGVnPFXHiXb1EeRl4Rjo43naUrj1JgxWrzUa64k5Hi5oMEPhT 03W034SwM66tgYPFJgiW20tlXzjxSF80Yb3nKcE6UffJnMPyk6ROPDY05YqCCFM5srUC GkQA== X-Gm-Message-State: AOJu0YxXb5db1yfGC5+9RrpNgn1KtapXldRd6QFwpHCLHaMQCYMC+kP1 mhwxMvZjYvGgnk4LKhyFvRQM6QYComigL50tLkfcW+cz/8rFuPchB5fsFu59QgaRE+vwLEdtPMe FL8HWKw6OUDNRak/dbbqtlo57JdreMHk+Q3nMBYHinNsejQ7NP+tJ0BZFQ7s= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:99b:b0:68b:6c1d:2258 with SMTP id 006d021491bc7-69462eb9a9fmr1085427eaf.31.1776422222633; Fri, 17 Apr 2026 03:37:02 -0700 (PDT) Date: Fri, 17 Apr 2026 03:37:02 -0700 In-Reply-To: <20260417101156.2489265-1-tristmd@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69e20d4e.a00a0220.1cdc.0013.GAE@google.com> Subject: Re: [syzbot] [jfs?] UBSAN: shift-out-of-bounds in dbJoin (2) From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tristmd@gmail.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: UBSAN: shift-out-of-bounds in dbJoin ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2890:11 shift exponent 132 is too large for 32-bit type 'int' CPU: 1 UID: 0 PID: 127 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x385/0x410 lib/ubsan.c:494 dbJoin+0x34f/0x380 fs/jfs/jfs_dmap.c:2890 dbFreeBits+0x4e1/0xdb0 fs/jfs/jfs_dmap.c:2427 dbFreeDmap fs/jfs/jfs_dmap.c:2176 [inline] dbFree+0x336/0x650 fs/jfs/jfs_dmap.c:485 txFreeMap+0x7ff/0xde0 fs/jfs/jfs_txnmgr.c:2536 txUpdateMap+0x308/0x9c0 fs/jfs/jfs_txnmgr.c:-1 txLazyCommit fs/jfs/jfs_txnmgr.c:2666 [inline] jfs_lazycommit+0x3ef/0xa10 fs/jfs/jfs_txnmgr.c:2735 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---[ end trace ]--- Kernel panic - not syncing: UBSAN: panic_on_warn set ... CPU: 1 UID: 0 PID: 127 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: vpanic+0x56c/0xa60 kernel/panic.c:650 panic+0xc5/0xd0 kernel/panic.c:787 check_panic_on_warn+0x89/0xb0 kernel/panic.c:524 __ubsan_handle_shift_out_of_bounds+0x385/0x410 lib/ubsan.c:494 dbJoin+0x34f/0x380 fs/jfs/jfs_dmap.c:2890 dbFreeBits+0x4e1/0xdb0 fs/jfs/jfs_dmap.c:2427 dbFreeDmap fs/jfs/jfs_dmap.c:2176 [inline] dbFree+0x336/0x650 fs/jfs/jfs_dmap.c:485 txFreeMap+0x7ff/0xde0 fs/jfs/jfs_txnmgr.c:2536 txUpdateMap+0x308/0x9c0 fs/jfs/jfs_txnmgr.c:-1 txLazyCommit fs/jfs/jfs_txnmgr.c:2666 [inline] jfs_lazycommit+0x3ef/0xa10 fs/jfs/jfs_txnmgr.c:2735 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Kernel Offset: disabled Tested on: commit: 43cfbdda Merge tag 'for-linus-iommufd' of git://git.ke.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1115f036580000 kernel config: https://syzkaller.appspot.com/x/.config?x=4bcfdf96e3f779b1 dashboard link: https://syzkaller.appspot.com/bug?extid=fa603ae6b02658401ca7 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 patch: https://syzkaller.appspot.com/x/patch.diff?x=16f70fca580000