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=1792758052; b=JFlItGPAwgrQH8Kdwft9HGXgzIZiyZwgCgQ9r32NFRRVzJ4FtbiB5YUMuP3qjfnEszwL eBpyDLXhjPyR50w6yo9m8lSPMOn08h8E44Q96TEU19pdBhpHCIGndlSo+eGt+1g6t8nb8 efPK35yV8X2Z6wyPbY3x5sPD9L7kIBZFr038gK7qa2M4je7atN7bVUP4VJvaDAY7agB5S rru4GzEuhDf3dtbMv1cP/DYNrEE8qqkQgUT2MSZhD7NjZqrcgIrNw1SFJXpAp9BnzQ2MX 10oDiWSdhd/1nwr5xvdc3IJJKO6G59WsdcxQvZS2f61/5XUtRmMPUgRGyzp84mH6nNA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758052; 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=omg1VIkPqCVCSar7bng8+8E5T9kPFr122nKGw9Vf6Dg=; b=EjdbtgU2tx2ye9se0RUxL1CHu2MQgNzmpJ53g4tqxYo56DuRVN7+54czViwXCVzvqfWS 7BrB48qvdZvKPgUUti7pGlrQfsNs6t6TT9ye0BzefjFHon5Nn78ajhUNpF8HJ9ROPoi+6 u7gIYD4LcrmwBOHpnqSJnfnr4ZgGjjo/wElYMUnQMussUsd73I54ZxhQAjNkiJrOIgrpt GcgPviQAX6PiiW4tPM3I6Z+SgqDOEE8EBqZlFmNya8VC3uHJ8mPM+atxshfepgkJBXglQ vpnBUHnouZ8mSIisuDAQ2WxFgBV8H6Tnoy5+mVX5iPw/lv2HmyMLJYIy2hzcypqU4Ow== 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=can5Omd0; 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 89D87606A31A for ; Fri, 23 Oct 2026 12:20:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=can5Omd0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F17BA1F01825; Fri, 23 Oct 2026 12:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758052; bh=omg1VIkPqCVCSar7bng8+8E5T9kPFr122nKGw9Vf6Dg=; h=From:To:Cc:Subject:Date:Reply-To; b=can5Omd02yD2yy/ew4dBNqpt1UaUWlhaXGyuDdRvB8NYqriHZta7i/d989gFB1AIY ir8F0Y+BG/Xbnb5xf1pj0rwuFPpVbXRa2E8RcaK46mTbSPZKPjDcDIJWaNGlhRrteZ QZ3gh0O6uXqcswRb2UZORW9m4qkd0yAzF9FPYDxw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98921: ovl: fix UAF in ovl_do_mkdir() debug print Date: Fri, 23 Oct 2026 14:01:42 +0200 Message-ID: <2026102339-CVE-2026-98921-47d8@gregkh> X-Mailer: git-send-email 2.56.0 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=2149; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Im03XOn/+svK+R7hBwmy73T6Ms2LECKBqUeEfjQcaFM=; b=kA0DAAIRMUfUDdst+ykByyZiAGrbTKOhGuaDUh1xjYkQCd4tbDgWGmAmU4zAtMyUdlvyg8Y8h ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmrbTKMACgkQMUfUDdst+ykJ2wCdF8Ye /XYr6PXbyTVtg6/dm0fDDrQAnj2//ygIbWxs6mLl4dio2k2RxsLa 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: ovl: fix UAF in ovl_do_mkdir() debug print ovl_do_mkdir() prints the input dentry with %pd after vfs_mkdir(). Since commit fe497f0759e0 ("VFS: change vfs_mkdir() to unlock on failure."), vfs_mkdir() calls end_creating() on the input dentry on failure and may replace it on success, so the post-call %pd can use-after-free the dentry when CONFIG_OVERLAY_FS_DEBUG is enabled. Print the dentry before the call and only the result afterward. The Linux kernel CVE team has assigned CVE-2026-98921 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit fe497f0759e0efb949f9480911d00b6045c21f50 and fixed in 7.2.9 with commit 719bd33ab359c539a68a278c15a97deb77565cdb Issue introduced in 6.19 with commit fe497f0759e0efb949f9480911d00b6045c21f50 and fixed in 7.3 with commit ae146bc1abdeb4607abf2975b858c053024e8ac1 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-98921 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/overlayfs/overlayfs.h 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/719bd33ab359c539a68a278c15a97deb77565cdb https://git.kernel.org/stable/c/ae146bc1abdeb4607abf2975b858c053024e8ac1