[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025070327-CVE-2025-38120-4498@gregkh>
Date: Thu, 3 Jul 2025 10:35:37 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38120: netfilter: nf_set_pipapo_avx2: fix initial map fill
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_set_pipapo_avx2: fix initial map fill
If the first field doesn't cover the entire start map, then we must zero
out the remainder, else we leak those bits into the next match round map.
The early fix was incomplete and did only fix up the generic C
implementation.
A followup patch adds a test case to nft_concat_range.sh.
The Linux kernel CVE team has assigned CVE-2025-38120 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15.165 with commit 957a4d1c4c5849e4515c9fb4db21bf85318103dc and fixed in 5.15.186 with commit b5ad58285f9217d68cd5ea2ad86ce254a3fe7c4d
Issue introduced in 6.1.103 with commit 9625c46ce6fd4f922595a4b32b1de5066d70464f and fixed in 6.1.142 with commit 90bc7f5a244aadee4292b28098b7c98aadd4b3aa
Issue introduced in 6.6.44 with commit 69b6a67f7052905e928d75a0c5871de50e686986 and fixed in 6.6.94 with commit 39bab2d3517b5b50c609b4f8c66129bf619fffa0
Issue introduced in 6.11 with commit 791a615b7ad2258c560f91852be54b0480837c93 and fixed in 6.12.34 with commit 251496ce1728c9fd47bd2b20a7b21b20b9a020ca
Issue introduced in 6.11 with commit 791a615b7ad2258c560f91852be54b0480837c93 and fixed in 6.15.3 with commit 8068e1e42b46518ce680dc6470bcd710efc3fa0a
Issue introduced in 6.11 with commit 791a615b7ad2258c560f91852be54b0480837c93 and fixed in 6.16-rc1 with commit ea77c397bff8b6d59f6d83dae1425b08f465e8b5
Issue introduced in 6.10.3 with commit 8058c88ac0df21239daee54b5934d5c80ca9685f
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-38120
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/netfilter/nft_set_pipapo_avx2.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/b5ad58285f9217d68cd5ea2ad86ce254a3fe7c4d
https://git.kernel.org/stable/c/90bc7f5a244aadee4292b28098b7c98aadd4b3aa
https://git.kernel.org/stable/c/39bab2d3517b5b50c609b4f8c66129bf619fffa0
https://git.kernel.org/stable/c/251496ce1728c9fd47bd2b20a7b21b20b9a020ca
https://git.kernel.org/stable/c/8068e1e42b46518ce680dc6470bcd710efc3fa0a
https://git.kernel.org/stable/c/ea77c397bff8b6d59f6d83dae1425b08f465e8b5
Powered by blists - more mailing lists