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 A021B224AEF for ; Tue, 16 Dec 2025 14:22:11 +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=1765894932; cv=none; b=RRMMv1/fJ9zf73D2r2rVkcxKJqRB6pkcIsOpKHXGZgdt/JAVOEQG20Ri1jJ9oEGWlV+XqlSF3yVrLD8BbeFPPjApNjJXKl7qdZyFCmqeycuMiU4+DEpIEPKSW8YOI7NrGgBuKwi1FoStLyOU6aZIGckaGD6+fDrUrAdxJN0HVpg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765894932; c=relaxed/simple; bh=YNNJScFxIXcrpF0RqtPvrQ/WLkZCJOzE9kXEtLJaYEE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KWNT4KApfXJbij0iCieoJla4gjY5jj9ohHoPmlpntVW26MotYVlzb5sHQmcUQ1k8jc+Jhh3G3CR5GWWl+pzZB6biTWu68bCkyoCls9eNptIuuhAuodyjWns2nKTybjbhXFsSjCB9VeGytJW0gQmAkEEZw0aa/JWObqGJBKOuI0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W58zsAP4; 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="W58zsAP4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1E2DC4CEF5; Tue, 16 Dec 2025 14:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765894931; bh=YNNJScFxIXcrpF0RqtPvrQ/WLkZCJOzE9kXEtLJaYEE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=W58zsAP40MQdNEyUujQPTon2yHKG8sJLhGJIZ6kmRFYYFoxliroSL8NwD9d57jiwc Js0kBnM+7Y6Ci2W1xLVWLeZ4CtUlCkSRoQ7unLF3wopRNx8viQm1dYUnqBSIhIu+8c l3PKOEt9bjrd7SyYCPBNn/WG/Zqt2jPQuDH08m24= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68247: posix-timers: Plug potential memory leak in do_timer_create() Date: Tue, 16 Dec 2025 15:21:39 +0100 Message-ID: <2025121634-CVE-2025-68247-9661@gregkh> X-Mailer: git-send-email 2.52.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=2064; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p0/qJ8onkjXlP5T0iEiNRXpPC8oCC3LqQ0hegRKNl7g=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOWe88BQSNdeS29HMGZy9eMMVhyayNjDMcVMKS71X/M d07bZNFRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE7i/DgmVfJF0LIng9vy5J /cqYuc+3XlnmO8M8g1j+3vsN9wwqPX8uvTntN2dpx0Z2AA== 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: posix-timers: Plug potential memory leak in do_timer_create() When posix timer creation is set to allocate a given timer ID and the access to the user space value faults, the function terminates without freeing the already allocated posix timer structure. Move the allocation after the user space access to cure that. [ tglx: Massaged change log ] The Linux kernel CVE team has assigned CVE-2025-68247 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit ec2d0c04624b3c8a7eb1682e006717fa20cfbe24 and fixed in 6.17.9 with commit f417f44524e7fc098e787c718d838b32723c0b2d Issue introduced in 6.15 with commit ec2d0c04624b3c8a7eb1682e006717fa20cfbe24 and fixed in 6.18 with commit e0fd4d42e27f761e9cc82801b3f183e658dc749d 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-68247 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: kernel/time/posix-timers.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/f417f44524e7fc098e787c718d838b32723c0b2d https://git.kernel.org/stable/c/e0fd4d42e27f761e9cc82801b3f183e658dc749d