CVE-2025-37997

netfilter: ipset: fix region locking in hash types

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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: ahash_bucket_start(), ahash_bucket_end() 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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5dd9488ae41070b69d2f4acb580f77db5705f9ca < 00cfc5fad1491796942a948808afb968a0a3f35b ; affected f66ee0410b1c3481ee75e5db9b34547b4d582465 < 226ce0ec38316d9e3739e73a64b6b8304646c658 ; affected f66ee0410b1c3481ee75e5db9b34547b4d582465 < 82c1eb32693bc48251d92532975e19160987e5b9 ; affected f66ee0410b1c3481ee75e5db9b34547b4d582465 < aa77294b0f73bb8265987591460cd25b8722c3df ; affected f66ee0410b1c3481ee75e5db9b34547b4d582465 < a3dfec485401943e315c394c29afe2db8f9481d6 ; affected f66ee0410b1c3481ee75e5db9b34547b4d582465 < e2ab67672b2288521a6146034a971f9a82ffc5c5
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.4.294 ≤ 5.4.* ; unaffected 5.10.238 ≤ 5.10.* ; unaffected 5.15.183 ≤ 5.15.* ; unaffected 6.1.139 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD