Linux
netfilter: ipset: fix region locking in hash types
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, < 00cfc5fad1491796942a948808afb968a0a3f35b
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 226ce0ec38316d9e3739e73a64b6b8304646c658
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 82c1eb32693bc48251d92532975e19160987e5b9
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < aa77294b0f73bb8265987591460cd25b8722c3df
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < a3dfec485401943e315c394c29afe2db8f9481d6
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < e2ab67672b2288521a6146034a971f9a82ffc5c5
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 6e002ecc1c8cfdfc866b9104ab7888da54613e59
- >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 8478a729c0462273188263136880480729e9efca
- a469bab3386aebff33c59506f3a95e35b91118fd
- >= 5.4.24, < 5.4.294
- >= 5.5.8, < 5.6
Fixed in 00cfc5fad1491796942a948808afb968a0a3f35b, 226ce0ec38316d9e3739e73a64b6b8304646c658, 82c1eb32693bc48251d92532975e19160987e5b9, aa77294b0f73bb8265987591460cd25b8722c3df, a3dfec485401943e315c394c29afe2db8f9481d6, e2ab67672b2288521a6146034a971f9a82ffc5c5, 6e002ecc1c8cfdfc866b9104ab7888da54613e59, 8478a729c0462273188263136880480729e9efca, 5.4.294, 5.6
- 5.6
Fixed in 0, 5.4.294, 5.10.238, 5.15.183, 6.1.139, 6.6.91, 6.12.29, 6.14.7, 6.15
Mitigation
Upgrade Linux to 00cfc5fad1491796942a948808afb968a0a3f35b or 226ce0ec38316d9e3739e73a64b6b8304646c658 or 82c1eb32693bc48251d92532975e19160987e5b9 or aa77294b0f73bb8265987591460cd25b8722c3df or a3dfec485401943e315c394c29afe2db8f9481d6 or e2ab67672b2288521a6146034a971f9a82ffc5c5 or 6e002ecc1c8cfdfc866b9104ab7888da54613e59 or 8478a729c0462273188263136880480729e9efca or 5.4.294 or 5.6 or later.
Upgrade Linux to 0 or 5.4.294 or 5.10.238 or 5.15.183 or 6.1.139 or 6.6.91 or 6.12.29 or 6.14.7 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.