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 D56461F4297 for ; Fri, 27 Dec 2024 13:55:30 +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=1735307730; cv=none; b=fobMCfeuiINOAhFrxpYLUjl0AhCgfgv0Hn9Hcqa39bMWkCXaY4MynPJD6fvaco68qfzCyknybwcpAViAGX/Qb43BXDQ3t+qVjeCzdhtavRxyBGK8+6E3sKNcyUNZybJWhZScDS/zHkKYp2FMJ7yDbVTppOADv/TfBcoY6VN0KuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735307730; c=relaxed/simple; bh=RN3BjvBl+DHEKprJXYAepmwluKfYLbErxcpJ2PCXMMM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fpbISGX2Z1DXrq1T7V0+iqEQUOjJkiuWxl9KSFDCIZWRrLLdU51t4OUTy+9ugjhl5MbAVBJ9+jivFum+MIWR5t8NOAUGOaA+UIgf1qmd9YnjehtqJu7tt3nXtn9Ln+Vl8abtA62um4SaNr9fIVDtgsOOBoCBT0855Z21R1Q28wQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JOYwwJGQ; 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="JOYwwJGQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 445BFC4CED0; Fri, 27 Dec 2024 13:55:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735307730; bh=RN3BjvBl+DHEKprJXYAepmwluKfYLbErxcpJ2PCXMMM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JOYwwJGQPcL47BHp6orucqrZCFhkr/tN2lr9hzi3z5qGMOZnzeDhHNo2mNx5qdvns J22AbX+oGsarbnKdlsA4mP4qInZhdAq5jzHTZ8cokNOqRWPa8l1FzViIYTByVFwzHD xQ0OLTOhIZznMRkAHMq11b3OizULbyxm9WmJD/yI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53180: ALSA: pcm: Add sanity NULL check for the default mmap fault handler Date: Fri, 27 Dec 2024 14:52:26 +0100 Message-ID: <2024122719-CVE-2024-53180-78ed@gregkh> X-Mailer: git-send-email 2.47.1 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=2372; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RN3BjvBl+DHEKprJXYAepmwluKfYLbErxcpJ2PCXMMM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5G4X1/vxvUeNbrnlYUu3hnGmnth37obT3BV/QvMCKN 94HeUWvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEjPMYFlx5KFtn8vkhf+I1 ZbEtJR797rYdexjmSpseqr77T2zPYp446fcWbu37w/V5AQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Add sanity NULL check for the default mmap fault handler A driver might allow the mmap access before initializing its runtime->dma_area properly. Add a proper NULL check before passing to virt_to_page() for avoiding a panic. The Linux kernel CVE team has assigned CVE-2024-53180 to this issue. Affected and fixed versions =========================== Fixed in 5.15.174 with commit 8799f4332a9fd812eadfbc32fc5104d6292f754f Fixed in 6.1.120 with commit 832efbb74b1578e3737d593a204d42af8bd1b81b Fixed in 6.6.64 with commit bc200027ee92fba84f1826494735ed675f3aa911 Fixed in 6.11.11 with commit f0ce9e24eff1678c16276f9717f26a78202506a2 Fixed in 6.12.2 with commit 0c4c9bf5eab7bee6b606f2abb0993e933b5831a0 Fixed in 6.13-rc1 with commit d2913a07d9037fe7aed4b7e680684163eaed6bc4 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-53180 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: sound/core/pcm_native.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/8799f4332a9fd812eadfbc32fc5104d6292f754f https://git.kernel.org/stable/c/832efbb74b1578e3737d593a204d42af8bd1b81b https://git.kernel.org/stable/c/bc200027ee92fba84f1826494735ed675f3aa911 https://git.kernel.org/stable/c/f0ce9e24eff1678c16276f9717f26a78202506a2 https://git.kernel.org/stable/c/0c4c9bf5eab7bee6b606f2abb0993e933b5831a0 https://git.kernel.org/stable/c/d2913a07d9037fe7aed4b7e680684163eaed6bc4