Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154577; b=ncdDItQfXdX/6NuVMDtp0mBjo7Msnp9jBQsNMgMPf2QIzc8uXreQBVK/lbh2zrQfGStO w+I2bsbmfhKwOQir5YiFrsEms9RSu7iIdTU4Di91vuWZdxfh03ctCmwtbJBvpsT0b9K72 BeC8WOJfsxl4L/ny3lK64kn5bI1rPPVYskAagI3eQkdA7xgFxRtUF5IcapmWVHu5DXSdF iS5n24FOHpnRyxFZG91ZJzjywpEqhbv7+EPLtgl8pedhvMKLF/nTFMUrQi5wbe/C2K9jG OLaVSoqbs7FsctsM0JEsH3aSNRCuRe1oR0teU5U6H5Jd7RfimkKfL+pn5hKVW1Olpzg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154577; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Uj6Ra/23135FWqFgw04/3c2b7sES1hDncH4rwn5/j40=; b=QrjVRZ1Ie6X8+QfBuICQXXB3RbhIDExxbA9aRuIPzEHlHRysrMOrdvM+u78XLjvn257m PkuboOcMyUDI451uygPMmM4OYqS+fzGG/zyuRbM9C7iOiH5H1YLFIsuo0La+Vx5timLEi z+qL2JEvEFCSrsUELL/9scRHdEESYJoqB7PGgbmEz/2CD4oWOyqY/UPZpSHhQHcmit4r+ Lp5rBV2UqqdORb6Qi4q1p0SNdFfBhc8chgKJq7Er7PIojNKrKz/SmOp5fs47UreKi6EUk n2woNmlKsBPP5LtawSglAue2LJAWKW3W8lqiP8rQEb111WkrI5EASKZkFUQYrARChDw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=LRFEPpsB; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC21D606A517 for ; Fri, 20 Nov 2026 06:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=LRFEPpsB Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19F8C1F000D3; Fri, 20 Nov 2026 06:02:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154577; bh=Uj6Ra/23135FWqFgw04/3c2b7sES1hDncH4rwn5/j40=; h=From:To:Cc:Subject:Date:Reply-To; b=LRFEPpsB2pXh9Lfz8sFqlFq1D0ykVYU+tQX1dl4LY+7APC2oJvnvO9iNont3nrFsE oW80S0RnxqkJLAC17EkKLBSOjvbPqFshKMeSq0+l6rjz2BCOQLueCXewuDpSBTEtdr ut9rin58KSN5zGGiPn035LPGE0u6tbpdYrZkDT68= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99791: xfs: improve dirent bounds checking in scrub and repair Date: Fri, 20 Nov 2026 06:52:57 +0100 Message-ID: <2026112035-CVE-2026-99791-3f69@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2455; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5eWE+qN1TpyMmgDxb5lbexB2R9iauGN21WEZuBJIi10=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7685qTrl+85nRlOvpfctrJ/Ux/CB7fzcGY5GwQVc/ SkrtKUlO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiV74wLFi77yx/9I1vrzV8 fh5nYHnCv/un6GqGBa1atXoCeolGT+Zvu9r/OSY4Lz+pBAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: xfs: improve dirent bounds checking in scrub and repair LOLLM complains that we don't do enough bounds checking of the directory entries in directory blocks when we're looking for errors or trying to salvage entries. Let's improve that with more detailed checks. The Linux kernel CVE team has assigned CVE-2026-99791 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit ce92d29ddf9908d397895c46b7c78e9db8df414d and fixed in 6.12.118 with commit 119778a329881e043920e198d97b7fdd4debad19 Issue introduced in 4.16 with commit ce92d29ddf9908d397895c46b7c78e9db8df414d and fixed in 6.18.64 with commit d7b9258b930b42a1681171027d0331d2d7e60c7c Issue introduced in 4.16 with commit ce92d29ddf9908d397895c46b7c78e9db8df414d and fixed in 7.3.5 with commit f365dc588b2a327e693f3203dd1897bd749f6c32 Issue introduced in 4.16 with commit ce92d29ddf9908d397895c46b7c78e9db8df414d and fixed in 7.4-rc1 with commit 5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99791 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/xfs/scrub/dir.c fs/xfs/scrub/dir_repair.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/119778a329881e043920e198d97b7fdd4debad19 https://git.kernel.org/stable/c/d7b9258b930b42a1681171027d0331d2d7e60c7c https://git.kernel.org/stable/c/f365dc588b2a327e693f3203dd1897bd749f6c32 https://git.kernel.org/stable/c/5d470234d04dae6fe2ca2cf4b9ef277b78c7e05a