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 2458F308F2A for ; Thu, 18 Sep 2025 13:35:36 +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=1758202536; cv=none; b=j4O+cPsEvpA1m4z1N3F/aMRVSbF5Ai+YaZOe8PQEV4D7PXOZAx/kUhv88iBEBHFXjuiCHn5e97WtRcGmR6l8pg0tXWuQijq7zvADVirovUd2JdZV9fWBI/JECTqZYIA26AiHCF42v+f4ZKiS6cIwVFqG6JhjjOHczfrcu/IsjAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202536; c=relaxed/simple; bh=gdMBQjULnsFibwM9tO6oF6da+/kv1BOpdVaEuLNW4jk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=poFL1UJVw0lP4zfOj2NZ5VWJEK4i3fJk0t4ijewAgTNu2jfWw/XnpERtWeMsl5mU3nhuiRqHKsyUXJ+R6xcYvv5tjIuGWhYembpMuSCGiVKvApHxgjpfq8mClMAeXfVRd8edbDSRAFMrhNtc5lc2BFqn36BT6KtDBNwmF9/+Jys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jQZ59wda; 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="jQZ59wda" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82415C4CEE7; Thu, 18 Sep 2025 13:35:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202536; bh=gdMBQjULnsFibwM9tO6oF6da+/kv1BOpdVaEuLNW4jk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jQZ59wdanEUrcmOJiW2P6tHfjvITegrSD0wHw2DOJl3mkBOD6r9aev3LGcrblxCGr Hzc7NVrkJx9rVZBogo8LpqhLIrXkFXNyHCN8YLnT2LhzJ+WjgctMno/FZE3lQfm5Ur NjlS+SpK5YuUPwpimVE91j/aIhtwpWdO/Qp4+5dM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50380: mm: /proc/pid/smaps_rollup: fix no vma's null-deref Date: Thu, 18 Sep 2025 15:33:54 +0200 Message-ID: <2025091851-CVE-2022-50380-25c9@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1694; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uh6EOKPXe/Nv/TfOHoqLvX0bVib84b62NaBu9nhC8bg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuOynRYUVqy0tve/iJPF1ziGp1/paK6XXf3HnMo3/I PlVLXdFRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkXSjDPBUrLdOtVyccbzyn 9mG6+Bnr2V47lBkWLOZRL/vUt6OWhc1warxV4J0f1p+uAAA= 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: /proc/pid/smaps_rollup: fix no vma's null-deref Commit 258f669e7e88 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file") introduced a null-deref if there are no vma's in the task in show_smaps_rollup. The Linux kernel CVE team has assigned CVE-2022-50380 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 258f669e7e88c18edbc23fe5ce00a476b924551f and fixed in 5.15.76 with commit 33fc9e26b7cb39f0d4219c875a2451802249c225 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-2022-50380 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/proc/task_mmu.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/33fc9e26b7cb39f0d4219c875a2451802249c225