CVE-2023-52923
JSON

7.8high

netfilter: nf_tables: adapt set backend to use GC transaction API

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before cb4d00b563675ba8ff6ef94b077f58d816f68ba3, from 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before c357648929c8dff891502349769aafb8f0452bc2, from 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before 146c76866795553dbc19998f36718d7986ad302b, from 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before 479a2cf5259347d6a1f658b0f791d27a34908e91, from 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before df650d6a4bf47248261b61ef6b174d7c54034d15, from 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before e4d71d6a9c7db93f7bf20c3a0f0659d63d7de681, from 9d0982927e79049675cb6c6c04a0ebb3dad5a434 before f6c383b8c31a93752a52697f8430a71dcbc46adf, 4.1
Not affected: before 4.1, from 4.19.316 up to 4.19.*, from 5.4.262 up to 5.4.*, from 5.10.198 up to 5.10.*, from 5.15.134 up to 5.15.*, from 6.1.56 up to 6.1.*
CVE List
linux linux_kernelfrom 4.1 before 4.19.316, from 4.20 before 5.4.262, from 5.5 before 5.10.198, from 5.11 before 5.15.134, from 5.16 before 6.1.56, from 6.2 before 6.4.11, 6.5NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nf_tables: adaptar el backend del conjunto para usar la API de transacción de GC Use la API de transacción de GC para reemplazar la antigua y defectuosa API de gc y el enfoque de marca de ocupado. Ya no se eliminan elementos del conjunto de la recolección de basura asíncrona, en su lugar, se activa el bit _DEAD para que el elemento del conjunto ya no sea visible desde la ruta de búsqueda. La recolección de basura asíncrona pone en cola el trabajo de la transacción que podría abortarse y reintentarse más tarde. Los backends de conjunto de rbtree y pipapo no activan el bit _DEAD de la ruta de GC de sincronización, ya que esto se ejecuta en la ruta del plano de control donde se mantiene el mutex. En este caso, los elementos del conjunto se desactivan, se eliminan y luego se liberan a través de la devolución de llamada de RCU, la GC de sincronización nunca falla.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52923 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-52923 changed 2026-08-04Public domain