CVE-2025-37997

Source
https://cve.org/CVERecord?id=CVE-2025-37997
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37997.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37997
Downstream
Related
Published
2025-05-29T13:15:55.580Z
Modified
2026-03-20T12:42:36.868982Z
Summary
netfilter: ipset: fix region locking in hash types
Details

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

netfilter: ipset: fix region locking in hash types

Region locking introduced in v5.6-rc4 contained three macros to handle the region locks: ahashbucketstart(), ahashbucketend() which gave back the start and end hash bucket values belonging to a given region lock and ahash_region() which should give back the region lock belonging to a given hash bucket. The latter was incorrect which can lead to a race condition between the garbage collector and adding new elements when a hash type of set is defined with timeouts.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37997.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5dd9488ae41070b69d2f4acb580f77db5705f9ca
Fixed
00cfc5fad1491796942a948808afb968a0a3f35b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f66ee0410b1c3481ee75e5db9b34547b4d582465
Fixed
226ce0ec38316d9e3739e73a64b6b8304646c658
Fixed
82c1eb32693bc48251d92532975e19160987e5b9
Fixed
aa77294b0f73bb8265987591460cd25b8722c3df
Fixed
a3dfec485401943e315c394c29afe2db8f9481d6
Fixed
e2ab67672b2288521a6146034a971f9a82ffc5c5
Fixed
6e002ecc1c8cfdfc866b9104ab7888da54613e59
Fixed
8478a729c0462273188263136880480729e9efca
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
a469bab3386aebff33c59506f3a95e35b91118fd

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37997.json"