netfilter: ipset: fix region locking in hash types

Summary

CVECVE-2025-37997
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-05-29 14:15:36 UTC
Updated2026-07-30 06:22:43 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-667


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 5dd9488ae41070b69d2f4acb580f77db5705f9ca 00cfc5fad1491796942a948808afb968a0a3f35b git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 226ce0ec38316d9e3739e73a64b6b8304646c658 git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 82c1eb32693bc48251d92532975e19160987e5b9 git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 aa77294b0f73bb8265987591460cd25b8722c3df git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 a3dfec485401943e315c394c29afe2db8f9481d6 git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 e2ab67672b2288521a6146034a971f9a82ffc5c5 git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 6e002ecc1c8cfdfc866b9104ab7888da54613e59 git Not specified
CNA Linux Linux affected f66ee0410b1c3481ee75e5db9b34547b4d582465 8478a729c0462273188263136880480729e9efca git Not specified
CNA Linux Linux affected a469bab3386aebff33c59506f3a95e35b91118fd git Not specified
CNA Linux Linux affected 5.4.24 5.4.294 semver Not specified
CNA Linux Linux affected 5.5.8 5.6 semver Not specified
CNA Linux Linux affected 5.6 Not specified
CNA Linux Linux unaffected 5.6 semver Not specified
CNA Linux Linux unaffected 5.4.294 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.238 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.183 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.139 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.91 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.29 6.12.* semver Not specified
CNA Linux Linux unaffected 6.14.7 6.14.* semver Not specified
CNA Linux Linux unaffected 6.15 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2025/08/msg00010.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2025/10/msg00007.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report