[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025121634-CVE-2025-68247-9661@gregkh>
Date: Tue, 16 Dec 2025 15:21:39 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-68247: posix-timers: Plug potential memory leak in do_timer_create()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists