From nobody Sat Mar 02 05:03:34 2024 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TmtCB3VgDz5C0Mn for ; Sat, 2 Mar 2024 05:03:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TmtCB1q2Vz4thG for ; Sat, 2 Mar 2024 05:03:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709355814; a=rsa-sha256; cv=none; b=V6MqyB42ZsvxKmYTx5SxUHBDLGjrPHbyaH1FpgZOMOXpaj6mUlMSIr+0fUCNuL7SG7Hs4E lsUgHn2NRDcCgcWCxfMPoFmwz8ICcjQnr9w35+g0YWzI6rP68VVuBwPCTbBtnxofgGVzvZ Lx5r5zQNRWCwbSmqlQJhgd0ozErg+BEY5Emdjro7LenbyxKaxGjfs/ZqvZy0yi0VFl1+Ya TXeVad/F4kUIzp/XDCUQj37y+VINZNomAMHuCkl7lLP7IvZQY6sdrUEqnlum7vSEQFOqw3 6StbMZKUC1JUD0oJLBj6dWcxyexs9S0gsXaYpNVMx1Sym48aIp4Tyg65wPXLqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709355814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x1yyflPNCaogGetMb/GIWNUc52fb+BBdYId80ouDB84=; b=E0/OEOlSjEaD+OKvMALN+vJwlnE2BRM62A0om4P1EaHaJg+MLtN6GqwB8FqMX1tCmXgGUc kopF8OFdM7ZkSnbhFwCeuNiDGSZBhk0F28fX52pn8SrZUpoBBzKBBFTINE19LYdF3g0KVH oUCqO1z3H4RIzo6DTjBXDJLBNEPq52258nfAac2MxTVxTYdBEnsALtfWF6j0E/pjeckJXr uAae6BRQPjUhZ9RUa026aHxmomoNNac2QJkWbNqAycM1CPRcwkkAtTP/Kn8Bf5qwivCnwA D5pMhctg3+hAyry5e03UvhKBVrwRA3C+/Si8yW6s5Bnb63GpM6vKSsfCGu5erg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TmtCB1QdMzwLj for ; Sat, 2 Mar 2024 05:03:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42253YAl070865 for ; Sat, 2 Mar 2024 05:03:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42253Yrk070864 for fs@FreeBSD.org; Sat, 2 Mar 2024 05:03:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 277414] FAT SecPerClust=128 can cause crash Date: Sat, 02 Mar 2024 05:03:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277414 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7e4ac11b6076e6a9bf7341ddeae227842= 84ed733 commit 7e4ac11b6076e6a9bf7341ddeae22784284ed733 Author: Konstantin Belousov AuthorDate: 2024-03-02 04:58:57 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-02 05:02:55 +0000 getblkx(9): be more tolerant but also strict with the buffer size checks It is possible that on-disk filesystem format causes allocation of buffers of size larger than maxbcachebuf. Currently, getblkx() and indirectly bufkva_alloc() panic in that situation. It is more useful to return an error instead, allowing the system to continue running. PR: 277414 Reported by: Robert Morris MFC after: 1 week Sponsored by: The FreeBSD Foundation sys/kern/vfs_bio.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=