From nobody Tue Dec 2 02:51:12 2025 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (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 26EB932D0D1 for ; Mon, 17 Nov 2025 18:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.198 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763405588; cv=none; b=KMhFMhJGay1JqNDCF5hmcMobTz3XcOgmPQqMvu88oPOiik1pfffR9fU7tgR3iMw9IBV9dlNQo3/dge4IY7yyY6oVuS9RRxfk9rgsqzZ3z+6WjjfohkU9OvoaTwSxUia6lFL5rbL9bYF47LfxI5iNnQK0GkpP2lEJOjbF+95iwTo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763405588; c=relaxed/simple; bh=WDFA6kqfvpgqLtj5sS1Nxrup6oVVd0zeLErqRcoBeJM=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Gqicn+OA4zmX+8NGpcjzUlNNDgVrOam81CgqaraROmiNgwcM9d/pvwmmy6u4NeOeg6EoqH+wUy7/IaPd5mA1HO8iytBDVq1VLVRdAg0hSRYE5XKi7l+C+ujIQsHBMGuRRAhA2FPyXURfwCD3oU14tFFesEDCLGDEynpKkXSbmmU= 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.166.198 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-il1-f198.google.com with SMTP id e9e14a558f8ab-43300f41682so44041295ab.1 for ; Mon, 17 Nov 2025 10:53:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763405586; x=1764010386; 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=26ZQnfYU8e7t+aJ1basymeeh2NiPFtxxHhnp6iNGK+k=; b=CZP2Z4rRfWw7+XVqpkEyTmNWgKQQsNAfNIfTncHp/18uoh88Cm2LueMdLFU+FrI5lE KVbW51tylFK9RV11xx/L7Hv2EqMJJSyrPkuXQU6bLSK9i+qoVJeSGgHqLNC26Jg1bHvI Wzki7p8sj50JqB6JfcZFhtNYEkZpVBPY77Nt9Lo4lp0bg8KrfmrTyhGxfINrQfp/PmrJ f5jsQ/NHFK+33myD8LbPI0A+FKU5MLe+cmg+hcm5yWj/CT+1S5yAXOTj1I0bLrDo+Wqb XC8G3i9lW76rQHQwjla15XJ3jqZKXUZSDyebNUan3zR4e/Sw/B/Y2PM7nnjkOF9ZgwX2 6e7g== X-Gm-Message-State: AOJu0YyIFGeUAttzrJ+VPDQWQae8tOoeh0D9YqhJj0vVdhqJuNB0m1wf Sbnz0kkGhoRyAmM6BeB2SXPzxjxweW7Bd89JXCuS71hIQDeP8oOxdxDTqUlLZKUtcYb2PVLQUC2 ZNnhioPFohlnJxDhh/6RL5T1qKptHmK3mYlAglO24xVV7B8QNG5nzT+YHV9o= X-Google-Smtp-Source: AGHT+IEuL+Tsu+PXLBq1MNWC/pyvwPCzWfnSdDc169kjRDhGUDkBTkMDRaW+Fr/inz7rCwgYfNdFm6TdRJhzWpjlGhjVswSAKpN8 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:6e02:1fe1:b0:434:96ea:ff82 with SMTP id e9e14a558f8ab-43496eb02c5mr136455505ab.34.1763405586171; Mon, 17 Nov 2025 10:53:06 -0800 (PST) Date: Mon, 17 Nov 2025 10:53:06 -0800 In-Reply-To: <0000000000005902e205d301dd7e@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <691b6f12.a70a0220.3124cb.00a7.GAE@google.com> Subject: Forwarded: From: syzbot To: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org. *** Subject:=20 Author: jkoolstra@xs4all.nl #syz test --- fs/minix/inode.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 7897f5123b3d..bee191c50010 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c @@ -171,7 +171,15 @@ static bool minix_check_superblock(struct super_block = *sb) { struct minix_sb_info *sbi =3D minix_sb(sb); =20 - if (sbi->s_imap_blocks =3D=3D 0 || sbi->s_zmap_blocks =3D=3D 0) + if (sbi->s_log_zone_size !=3D 0) { + printk("minix-fs error: zone size must equal block size. " + "s_log_zone_size > 0 is not supported.\n"); + return false; + } + + if (sbi->s_imap_blocks < 1 || sbi->s_zmap_blocks < 1 || + sbi->s_ninodes < 1 || sbi->s_firstdatazone <=3D 4 || + sbi->s_firstdatazone >=3D sbi->s_nzones) return false; =20 /* --=20 2.51.2