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 4B32B2D59E4 for ; Wed, 9 Jul 2025 10:43:56 +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=1752057836; cv=none; b=hW3XrQU7RMSdQFyIhH1RK3oHM4lVpm7/6oJOgxdI/HoMjfvyxf/Z6PpIshYXGIDZ3RnzHMGjdzAHQqESypHhsCWVqyuZLn2fDFHK7AXJ082B3tkJ9UQuw9x7lAHFjIk+VSdYbjb/eaFBub3IQNDLZk1MKBE3UtEOZqcNwFK6TFU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752057836; c=relaxed/simple; bh=1Whoq6pGU8hW84Z4YMrApchSv7hM+UJ1opXENP+fsyQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=clKsHx7gLZCc2hkhbRDdodhoM9PG0mJG/ttkPfOhqb2SK7Mwy746hmYzbDZrMrFfSDqnU8bdJuW1zj1+S7GfB0mKZ5h6QlXAKigmS4LiSdnok0Ph+SC0AXLh/sJ0WQoPPE0RqiYtrsARPpnj8jb1KM05eL744qXpgUs65oMWY4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZcPt8xmx; 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="ZcPt8xmx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7978C4CEEF; Wed, 9 Jul 2025 10:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752057836; bh=1Whoq6pGU8hW84Z4YMrApchSv7hM+UJ1opXENP+fsyQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZcPt8xmx/ERZau+AgO/CSeDdRrTC9BW4SnMnvgDcdA+zkMdKYPgtdyCoBfCNVRAUV PxNRntSoapHeiZWZfmH3353xNf+fyITnB/nVjKDoWj7NmQ7VhuKDjXdxY2ur2MUEL1 2x+5iDrUvW35sjToQJdGuc3y0yaK/YK86aghQV9k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38251: atm: clip: prevent NULL deref in clip_push() Date: Wed, 9 Jul 2025 12:42:43 +0200 Message-ID: <2025070934-CVE-2025-38251-3894@gregkh> X-Mailer: git-send-email 2.50.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=2588; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=beHR+Be9U3aQccMmsrjJYOEl7af9gXZ4IQ4YFXSsd6M=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl57rPZDb94X07OKA98abHXMM1HT3LPas+Njnt3x3n9T Ni4Tk2/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyk5Fhfs7Riq57B7LXBh7j iCl/LX0n1/RiJ8OCZcvezXm2o6A9WfB/ZbqOd6rihOWMAA== 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: atm: clip: prevent NULL deref in clip_push() Blamed commit missed that vcc_destroy_socket() calls clip_push() with a NULL skb. If clip_devs is NULL, clip_push() then crashes when reading skb->truesize. The Linux kernel CVE team has assigned CVE-2025-38251 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 93a2014afbace907178afc3c9c1e62c9a338595a and fixed in 6.1.143 with commit 88c88f91f4b3563956bb52e7a71a3640f7ece157 Issue introduced in 5.7 with commit 93a2014afbace907178afc3c9c1e62c9a338595a and fixed in 6.6.96 with commit 3c709dce16999bf6a1d2ce377deb5dd6fdd8cb08 Issue introduced in 5.7 with commit 93a2014afbace907178afc3c9c1e62c9a338595a and fixed in 6.12.36 with commit a07005a77b18ae59b8471e7e4d991fa9f642b3c2 Issue introduced in 5.7 with commit 93a2014afbace907178afc3c9c1e62c9a338595a and fixed in 6.15.5 with commit ede31ad949ae0d03cb4c5edd79991586ad7c8bb8 Issue introduced in 5.7 with commit 93a2014afbace907178afc3c9c1e62c9a338595a and fixed in 6.16-rc4 with commit b993ea46b3b601915ceaaf3c802adf11e7d6bac6 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-2025-38251 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: net/atm/clip.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/88c88f91f4b3563956bb52e7a71a3640f7ece157 https://git.kernel.org/stable/c/3c709dce16999bf6a1d2ce377deb5dd6fdd8cb08 https://git.kernel.org/stable/c/a07005a77b18ae59b8471e7e4d991fa9f642b3c2 https://git.kernel.org/stable/c/ede31ad949ae0d03cb4c5edd79991586ad7c8bb8 https://git.kernel.org/stable/c/b993ea46b3b601915ceaaf3c802adf11e7d6bac6