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=1795154190; b=tRow8oLtbSt13WSd5a673y7qLm5zmSC9Dvyi8Mt2+MeQ6rKGgpXePGRsvQDOPpBrNhN1 k8YqANZwfILrmUpu8zkCvuCKdGTnAZQ7HZJP8VRNDBcp8XN3bLXnJvaul5le2u+BgQ2xu ppz0a7EF/wesMsj2yAh0XRRIUNNc9yUWserfGtlVvQASKTz9owI3xFbHK6zWB0C9/DtjH TLumkL+85wxBMzuo8FEgo/JqhVfOhXLnd0P2N3WNr9UKgIgwU6TTIFRuyirrdcjGyhkTQ nTQPhNpxOsPCTbCenngxjNDOX2//VBlSVlTz3y3daB8JqM1ScRPAwGgVo9tsOB8774Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154190; 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=CoDvICgD/s9a/MSFQAVmJaKyoEeblgFnG7xAg+1ZVjM=; b=vK5NbmrRc/vKxasAnkN9v2dS2jiWWSJA4v4dyq4ZZPRjuifibc+I6ulvzaYJyBIrRc8C 3DZphAGWd9/lsq5twfw+sRRWsisIJTk0pHYiTj0/MhvscpOpY8izDWYfueQwk5Cg0WncF imC0p4fVLFUgtD4zaHKaGwOHcqK+72jQWWDFrBpsNsBr+iCUaqlVAJJs6QQgbi6QoIQxi ci3m67/i/MUnfHC4jS6aIyGZ0/KmLY7SzLPGb34wuK7PRWoUqgWp00qdD9EO2ykoxL7qu HcMaKp+MBFWWmhTS9dWMeL793K+V8D0L/NQwirBYEvWuc4ucO0pBNEEeHLDFzPEkAvg== 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=2bVICkwE; 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 93E02606A320 for ; Fri, 20 Nov 2026 05:56:30 +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=2bVICkwE Received: by smtp.kernel.org (Postfix) with ESMTPSA id E12251F000C4; Fri, 20 Nov 2026 05:56:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154190; bh=CoDvICgD/s9a/MSFQAVmJaKyoEeblgFnG7xAg+1ZVjM=; h=From:To:Cc:Subject:Date:Reply-To; b=2bVICkwEtscYprOto36YrZUEbRiReJNfxgC5CP9KEI1sSVjq3eOj9XkQNnmlSrKAX ORNJMdgaKrF0pebGc+LVlkWKJqNRI7cASu6avChyWYZviaaMjjPQdmhIlmuSsE75uE 0+st9KOreB8Hpf+4aa+XIzPc7VkabMEAUayFMLoI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99657: mm/mmu_notifier: set ->mm only after mmgrab() Date: Fri, 20 Nov 2026 06:50:43 +0100 Message-ID: <2026112046-CVE-2026-99657-ac20@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=2833; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YZLZU8/Alzo24NRJyUqL6PyzfApgKLPMfl8SJQjoKxo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/71fFxs845/muPVz/f9qnyb9UdOwqpwuyPbp2+erR8 0dvagXN7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJCE1mmO+YeE/imTOzm5rL u/PTvi14+cPd5RnDHK4D7ZONNd93T3yixhxlOlmh6UmlOgA= 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: mm/mmu_notifier: set ->mm only after mmgrab() Radeon uses a non-NULL notifier->mm to decide whether to call mmu_interval_notifier_remove() when freeing a buffer object. __mmu_interval_notifier_insert() sets ->mm before validating the range, so a wrapping userptr range can leave ->mm set after insertion fails. Cleanup then tries to remove an unregistered notifier for which no mm reference was acquired. Set ->mm only after mmgrab(), once insertion can no longer fail. While we could fix radeon's code instead, setting ->mm on success only makes the code more robust. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description ] The Linux kernel CVE team has assigned CVE-2026-99657 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 3506ff69c3ec725b9c3e7f074fd2d265922f139a and fixed in 6.12.118 with commit fe3b7bf598ba708431d531cfbb1035b8a463eed9 Issue introduced in 5.5 with commit 3506ff69c3ec725b9c3e7f074fd2d265922f139a and fixed in 6.18.64 with commit 3df451b65b6bc342d9291b1132baf4a4dd3a7b63 Issue introduced in 5.5 with commit 3506ff69c3ec725b9c3e7f074fd2d265922f139a and fixed in 7.3.5 with commit 0d9450d006506d2af7016afd435b9c1a24985d02 Issue introduced in 5.5 with commit 3506ff69c3ec725b9c3e7f074fd2d265922f139a and fixed in 7.4-rc2 with commit 5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94 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-99657 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: mm/mmu_notifier.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/fe3b7bf598ba708431d531cfbb1035b8a463eed9 https://git.kernel.org/stable/c/3df451b65b6bc342d9291b1132baf4a4dd3a7b63 https://git.kernel.org/stable/c/0d9450d006506d2af7016afd435b9c1a24985d02 https://git.kernel.org/stable/c/5ad9e4b0f1104f5dbfb41125c34bb30ea6dc7a94