Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 2CE514FD7A0 for ; Thu, 17 Sep 2026 16:29:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662553; cv=none; b=kvA1OjfWmKnTrnooudvTeYOns3e5MRRbf5eyQDgqBM0Jlk9oRP29+lOOghkhNEDJ1rP8ceKS1dbPUTB3WjxRaWa0VYsagtFKlYh2YG8dfti1egY6abxUOqyJX88VK+lfobdaper33hQ7Sm2x/A0Ptjlv7o+LX5Oo4BCb5WUwoE0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662553; c=relaxed/simple; bh=P3WwIA9YMRjVFiVHnZW3sTDn2ueKvPCmcjEBO3C4RL4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W1McyB510Yq2WsWtSomw+/P70TY8IFsMBwSlCFHXG4SvLMdTtm76qgVfT2xO2kOXKKV6FOvOGIYFCPqfmMXMo/jU/5VoGgFb2Gm2Lu00TzkYxGB1V5rrmujnf+09E/zpvsNWG3YbxS8xTZ9cowKYTHhxU1/qFuj4q+n/Qx9pqEc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qF0rWo8n; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qF0rWo8n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 847ED1F00898; Thu, 17 Sep 2026 16:29:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662552; bh=lIPHWLLh6HsiACtDe8e1knzrQX0QtS4xZA7bUQQ7JzQ=; h=From:To:Cc:Subject:Date:Reply-To; b=qF0rWo8n2JpI3msbLov4JDD9Jje/P5AK6IUqVguU5X7Dmgilxi7WSrmlaL++4B9cA qL1XJ/HaDj3koR4FbtDrsIgfcw5/qI8qAmO2Zu/TbhKw0c0HH9+G4rlhc31/mA5V+S nvNacK5vHVYHxE2SPjR8DDuhQHQdamZycAa7cPl0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90391: lib/test_hmm: fail dmirror_fault() when the mirrored mm is gone Date: Thu, 17 Sep 2026 17:13:41 +0100 Message-ID: <2026091712-CVE-2026-90391-a437@gregkh> X-Mailer: git-send-email 2.55.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=3740; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Xdl8KuYnPKfVTZfX/cpN5m4TSxwV3ofMQXueuoDW2S8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBFZs+NLqsbNNwPnNUks/nhbOJwF53UWmCx7uku01j DvU9TahI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYy14hhQef8m8oL/dOUm7hi Fqy1WrFGJOSbCMOClvqPJeekzE7OYf6tbmBjqHZskW4VAA== 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: lib/test_hmm: fail dmirror_fault() when the mirrored mm is gone dmirror_fault() is called from the dmirror_read() and dmirror_write() retry loops after dmirror_do_read() or dmirror_do_write() finds a missing device page table entry. If the mirrored mm has already exited, mmget_not_zero() fails. The current code returns 0 in that case, which tells the caller that faulting succeeded even though no page was faulted and no device page table entry was installed. The caller then retries the same address, hits -ENOENT again, and can loop forever without making progress. Return -EFAULT instead, so the ioctl fails when the mirrored mm is no longer faultable. The Linux kernel CVE team has assigned CVE-2026-90391 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 5.10.270 with commit 50606ced303782f8715e2d0b98ca374ea498fa29 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 5.15.221 with commit 541a67f21ab807c8dbc0ea88d5a2eb73b2618090 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 6.1.188 with commit d8e64ffab01e032ae29159d27230ace8cf8bdc80 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 6.6.157 with commit 2636569ea7c19d9a40db4a1e8d0a027bdacf1569 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 6.12.110 with commit 701347e31aa607f3782403151a3125729d685275 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 6.18.52 with commit af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 7.2.6 with commit a2074f86fc9653831e4fb7b711bb715db330f182 Issue introduced in 5.8 with commit b2ef9f5a5cb37643ca5def3516c546457074b882 and fixed in 7.3-rc1 with commit 6a8024511ddf4877435c34fb3d6028aa8e590649 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-90391 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: lib/test_hmm.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/50606ced303782f8715e2d0b98ca374ea498fa29 https://git.kernel.org/stable/c/541a67f21ab807c8dbc0ea88d5a2eb73b2618090 https://git.kernel.org/stable/c/d8e64ffab01e032ae29159d27230ace8cf8bdc80 https://git.kernel.org/stable/c/2636569ea7c19d9a40db4a1e8d0a027bdacf1569 https://git.kernel.org/stable/c/701347e31aa607f3782403151a3125729d685275 https://git.kernel.org/stable/c/af7a6d6ec36a16a583ba2e4e9984c3cf1fe34655 https://git.kernel.org/stable/c/a2074f86fc9653831e4fb7b711bb715db330f182 https://git.kernel.org/stable/c/6a8024511ddf4877435c34fb3d6028aa8e590649