Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C0EA259CB2 for ; Mon, 9 Mar 2026 15:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773071483; cv=none; b=XKZzBrXAZ1Twe/givuNd8OdrMGHlLD+jvKreJv6Ndy9qhkUnw0xZhAFbO2ji8xZzeVv3qQ8dNCfcbul/1Ka6Q7Qlvs6u3/w4kThFiSSCjw/fq2frRWbGkozTzAX9G4RMfvuTplm7qD38eGTKCH8u11xZsYCgzpL4IlWniAs2EHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773071483; c=relaxed/simple; bh=12UC3zO7MKnmxq0tHkVL6rzuGHQlhSfMiqzzeEbQFkE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kQVMmh4h5tPsbODztcrO+GIA5hSOy1ZbF6E73tsUD9gFdd3uy6IR2ii5vxiILChQ6iln4w5jT69/atRuvJBemknp8+Q1O0fh0mxVTXLIov3iUsQ7DWBq+pyNf/kXVPdqhYlypXY6L38yrNQ3UYN8NCeJZECAqpixJwAqa4r4Gws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EHOi68lC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EHOi68lC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A11BC4CEF7; Mon, 9 Mar 2026 15:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773071482; bh=12UC3zO7MKnmxq0tHkVL6rzuGHQlhSfMiqzzeEbQFkE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EHOi68lC/19/QBo6N7cQdsJjGw/do0A5OqHuydWgkjFRiuzEy92D0FpADU40mmjNJ VCOgr3UwBx68qknsHAEs/hvKGFd3ckhwtFe78fhgwfDVtmeHo81u5vYWN3iYMo+eX3 URZlLU8ZeggVjnbf6uw3aAnkWSrW1DXhnf7MLzKc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-14027: xattr: switch to CLASS(fd) Date: Mon, 9 Mar 2026 16:51:18 +0100 Message-ID: <2026030917-CVE-2024-14027-5c00@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1975; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hd5BZmLWqBxpSjv/PFjgMrVTMdHM2UBAvfNgk/TGams=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnr3pRKXPKveqmrtl/UI/Ovz55O25NmdRmVHNfEwp9Mn Lzq1u+MjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIQzXDXGHhyyq8K5e/PSJ7 jq3Vgn/F4R5WcYb5Hsc6znpVJjB4XDu/5lX63fIr/yM0AQ== 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: fs/xattr: missing fdput() in fremovexattr error path In the Linux kernel, the fremovexattr() syscall calls fdget() to acquire a file reference but returns early without calling fdput() when strncpy_from_user() fails on the name argument. In multi-threaded processes where fdget() takes the slow path, this permanently leaks one file reference per call, pinning the struct file and associated kernel objects in memory. An unprivileged local user can exploit this to cause kernel memory exhaustion. The issue was inadvertently fixed by commit a71874379ec8 ("xattr: switch to CLASS(fd)"). The Linux kernel CVE team has assigned CVE-2024-14027 to this issue. Affected and fixed versions =========================== Fixed in 6.13 with commit a71874379ec8c6e788a61d71b3ad014a8d9a5c08 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-2024-14027 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/xattr.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/a71874379ec8c6e788a61d71b3ad014a8d9a5c08