lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122416-CVE-2025-68744-bf55@gregkh>
Date: Wed, 24 Dec 2025 13:10:20 +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-68744: bpf: Free special fields when update [lru_,]percpu_hash maps

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

bpf: Free special fields when update [lru_,]percpu_hash maps

As [lru_,]percpu_hash maps support BPF_KPTR_{REF,PERCPU}, missing
calls to 'bpf_obj_free_fields()' in 'pcpu_copy_value()' could cause the
memory referenced by BPF_KPTR_{REF,PERCPU} fields to be held until the
map gets freed.

Fix this by calling 'bpf_obj_free_fields()' after
'copy_map_value[,_long]()' in 'pcpu_copy_value()'.

The Linux kernel CVE team has assigned CVE-2025-68744 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.4 with commit 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a and fixed in 6.12.63 with commit 3bf1378747e251571e0de15e7e0a6bf2919044e7
	Issue introduced in 6.4 with commit 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a and fixed in 6.17.13 with commit 96a5cb7072cabbac5c66ac9318242c3bdceebb68
	Issue introduced in 6.4 with commit 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a and fixed in 6.18.2 with commit 4a03d69cece145e4fb527464be29c3806aa3221e
	Issue introduced in 6.4 with commit 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a and fixed in 6.19-rc1 with commit 6af6e49a76c9af7d42eb923703e7648cb2bf401a

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-68744
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/bpf/hashtab.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/3bf1378747e251571e0de15e7e0a6bf2919044e7
	https://git.kernel.org/stable/c/96a5cb7072cabbac5c66ac9318242c3bdceebb68
	https://git.kernel.org/stable/c/4a03d69cece145e4fb527464be29c3806aa3221e
	https://git.kernel.org/stable/c/6af6e49a76c9af7d42eb923703e7648cb2bf401a

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ