netfilter: nf_tables: adapt set backend to use GC transaction API (Linux Linux)

CVE-2023-52923
HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: adapt set backend to use GC transaction API Use the GC transaction API to replace the old and buggy gc API and the busy mark approach. No set elements are removed from async garbage collection anymore, instead the _DEAD bit is set on so the set element is not visible from lookup path anymore. Async GC enqueues transaction work that might be aborted and retried later. rbtree and pipapo set backends does not set on the _DEAD bit from the sync GC path since this runs in control plane path where mutex is held. In this case, set elements are deactivated, removed and then released via RCU callback, sync GC never fails.

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 9d0982927e79049675cb6c6c04a0ebb3dad5a434 < cb4d00b563675ba8ff6ef94b077f58d816f68ba3 ; affected 9d0982927e79049675cb6c6c04a0ebb3dad5a434 < c357648929c8dff891502349769aafb8f0452bc2 ; affected 9d0982927e79049675cb6c6c04a0ebb3dad5a434 < 146c76866795553dbc19998f36718d7986ad302b ; affected 9d0982927e79049675cb6c6c04a0ebb3dad5a434 < 479a2cf5259347d6a1f658b0f791d27a34908e91 ; affected 9d0982927e79049675cb6c6c04a0ebb3dad5a434 < df650d6a4bf47248261b61ef6b174d7c54034d15 ; affected 9d0982927e79049675cb6c6c04a0ebb3dad5a434 < e4d71d6a9c7db93f7bf20c3a0f0659d63d7de681
Linux · Linuxaffected 4.1 ; unaffected 0 < 4.1 ; unaffected 4.19.316 ≤ 4.19.* ; unaffected 5.4.262 ≤ 5.4.* ; unaffected 5.10.198 ≤ 5.10.* ; unaffected 5.15.134 ≤ 5.15.*

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