From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) (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 54DA936C5BF for ; Tue, 17 Feb 2026 19:48:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771357713; cv=none; b=HFNofcTRJYKWfmewrEx3p1BYHmuTcPDuGa8rt50N5XHL58EwGmo3IDdXcT+K+sDOuLuUvQZNICHS8mmQ299J5VSKJlZCRD9X+VNZlsR2cKmUlp5eiqeRoeOFxP2wGx6vXgW3tM2fTPF/ebjfqniL1uhTNVMrsVcoOAzEmoC7Yi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771357713; c=relaxed/simple; bh=BNe7uZtFYVHgAB6zHsa4zrKTVLvIrPF0GEy8LzaGwXc=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=EcCWljxvDqOiXZqbQvzJMEo45CBITR6wkbj9QdiJ7sIR84kxU/ZKMd/u3YVKBpmMTWZAhPE+YCueAaBWxA5iQbAj326abqk7dA2TvTboKSKmeheC0uehMceBWFRLOgVU04vjBftE1d3wCdmQxFbkvBU5rDyEd/S8hf0ceH6CAcE= 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.167.200 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-oi1-f200.google.com with SMTP id 5614622812f47-463ee33f9b2so5372718b6e.3 for ; Tue, 17 Feb 2026 11:48:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771357711; x=1771962511; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NNbjkDphU4cIK5MrZdjGVujvXgt2gKe7zNtK3nr3w8w=; b=D/CHdqadyR8F6MOQYWguNRvUmsTXFhIRH3Yg9y2gp+dDW3Xlu12sm1oTkpzoMzM4p0 krOm4dNbMMCUyTleYhd5JRLOmJnYx6uHRjitV7RoBelXZ5jRE2a8nmIQjUIkiuRLkMmo GVSbG+CyklitX3KNfsHzFbzTeT7Zss29GRffNSrh3NDP6XqI9PIwQF3b0pgFAvD7XWET MQTskV1LKCfhcEWH8r9cA4GCc5wqW0b970S6HllqkpB5K1wY03yHLv59X5+LBSMONy1x H64+nSW9Ah3HJnRMyPXw7FpDSXJTC1TzLQI8R3NCjkhq0EwcDY/hEO9lmT7W0idi8sK2 JYoQ== X-Gm-Message-State: AOJu0Yy5DuwjyQId9+YpDCfhEcEU+NwJZstk3IPvRZJzNylLCf/Souz+ X4c2WjJEBJfK4hzZhVht/o/uwhOJvXaiEOkPuJyYNwDS1wdcup1fJf9Ev6Q8oU38F7ucO3gL5PG aJQmEX9NpfTxyFjrRbsxgcsdXlLNUV06cnNLBtmf3tViie5ytR/sA50lgnmE= 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:6808:1693:b0:43f:5c61:448c with SMTP id 5614622812f47-4639f1c13a3mr6146513b6e.39.1771357711356; Tue, 17 Feb 2026 11:48:31 -0800 (PST) Date: Tue, 17 Feb 2026 11:48:31 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6994c60f.a70a0220.2c38d7.0108.GAE@google.com> Subject: [syzbot] [squashfs?] UBSAN: shift-out-of-bounds in squashfs_xz_comp_opts From: syzbot To: linux-kernel@vger.kernel.org, phillip@squashfs.org.uk, squashfs-devel@lists.sourceforge.net, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c22e26bd0906 Merge tag 'landlock-7.0-rc1' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1393f15a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=6428d17febdfb14e dashboard link: https://syzkaller.appspot.com/bug?extid=99fc070a2affcd27784b compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1793f15a580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=169e1c02580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/d68a15a17667/disk-c22e26bd.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b8799409c3a5/vmlinux-c22e26bd.xz kernel image: https://storage.googleapis.com/syzbot-assets/2c41c867ca47/bzImage-c22e26bd.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/9183f225328f/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+99fc070a2affcd27784b@syzkaller.appspotmail.com loop3: detected capacity change from 0 to 8 ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/squashfs/xz_wrapper.c:62:29 shift exponent -1 is negative CPU: 1 UID: 0 PID: 6061 Comm: syz.3.20 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 squashfs_xz_comp_opts+0x259/0x300 fs/squashfs/xz_wrapper.c:62 squashfs_comp_opts fs/squashfs/decompressor.h:31 [inline] get_comp_opts fs/squashfs/decompressor.c:119 [inline] squashfs_decompressor_setup+0x123/0x2c0 fs/squashfs/decompressor.c:131 squashfs_fill_super+0x10a4/0x22c0 fs/squashfs/super.c:353 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1694 vfs_get_tree+0x92/0x2a0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3760 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3836 do_mount fs/namespace.c:4159 [inline] __do_sys_mount fs/namespace.c:4348 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4325 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3a0dbdd20a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffef042a358 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffef042a3e0 RCX: 00007f3a0dbdd20a RDX: 00002000000002c0 RSI: 0000200000000580 RDI: 00007ffef042a3a0 RBP: 00002000000002c0 R08: 00007ffef042a3e0 R09: 0000000000000005 R10: 0000000000000005 R11: 0000000000000246 R12: 0000200000000580 R13: 00007ffef042a3a0 R14: 0000000000000199 R15: 0000200000000000 ---[ end trace ]--- --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup