cve-2023-52923
Vulnerability from cvelistv5
Published
2025-01-20 10:48
Modified
2025-01-20 10:48
Severity ?
EPSS score ?
Summary
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
Impacted products
Vendor | Product | Version | |||||||
---|---|---|---|---|---|---|---|---|---|
▼ | Linux | Linux |
Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 Version: 9d0982927e79049675cb6c6c04a0ebb3dad5a434 |
||||||
|
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "net/netfilter/nf_tables_api.c", "net/netfilter/nft_set_hash.c", "net/netfilter/nft_set_pipapo.c", "net/netfilter/nft_set_rbtree.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "cb4d00b563675ba8ff6ef94b077f58d816f68ba3", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" }, { "lessThan": "c357648929c8dff891502349769aafb8f0452bc2", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" }, { "lessThan": "146c76866795553dbc19998f36718d7986ad302b", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" }, { "lessThan": "479a2cf5259347d6a1f658b0f791d27a34908e91", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" }, { "lessThan": "df650d6a4bf47248261b61ef6b174d7c54034d15", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" }, { "lessThan": "e4d71d6a9c7db93f7bf20c3a0f0659d63d7de681", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" }, { "lessThan": "f6c383b8c31a93752a52697f8430a71dcbc46adf", "status": "affected", "version": "9d0982927e79049675cb6c6c04a0ebb3dad5a434", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "net/netfilter/nf_tables_api.c", "net/netfilter/nft_set_hash.c", "net/netfilter/nft_set_pipapo.c", "net/netfilter/nft_set_rbtree.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "4.1" }, { "lessThan": "4.1", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "4.19.*", "status": "unaffected", "version": "4.19.316", "versionType": "semver" }, { "lessThanOrEqual": "5.4.*", "status": "unaffected", "version": "5.4.262", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.198", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.134", "versionType": "semver" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.56", "versionType": "semver" }, { "lessThanOrEqual": "6.4.*", "status": "unaffected", "version": "6.4.11", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.5", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: adapt set backend to use GC transaction API\n\nUse the GC transaction API to replace the old and buggy gc API and the\nbusy mark approach.\n\nNo set elements are removed from async garbage collection anymore,\ninstead the _DEAD bit is set on so the set element is not visible from\nlookup path anymore. Async GC enqueues transaction work that might be\naborted and retried later.\n\nrbtree and pipapo set backends does not set on the _DEAD bit from the\nsync GC path since this runs in control plane path where mutex is held.\nIn this case, set elements are deactivated, removed and then released\nvia RCU callback, sync GC never fails." } ], "providerMetadata": { "dateUpdated": "2025-01-20T10:48:13.723Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/cb4d00b563675ba8ff6ef94b077f58d816f68ba3" }, { "url": "https://git.kernel.org/stable/c/c357648929c8dff891502349769aafb8f0452bc2" }, { "url": "https://git.kernel.org/stable/c/146c76866795553dbc19998f36718d7986ad302b" }, { "url": "https://git.kernel.org/stable/c/479a2cf5259347d6a1f658b0f791d27a34908e91" }, { "url": "https://git.kernel.org/stable/c/df650d6a4bf47248261b61ef6b174d7c54034d15" }, { "url": "https://git.kernel.org/stable/c/e4d71d6a9c7db93f7bf20c3a0f0659d63d7de681" }, { "url": "https://git.kernel.org/stable/c/f6c383b8c31a93752a52697f8430a71dcbc46adf" } ], "title": "netfilter: nf_tables: adapt set backend to use GC transaction API", "x_generator": { "engine": "bippy-5f407fcff5a0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2023-52923", "datePublished": "2025-01-20T10:48:13.723Z", "dateReserved": "2024-08-21T06:07:11.018Z", "dateUpdated": "2025-01-20T10:48:13.723Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-52923\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-01-20T11:15:07.670\",\"lastModified\":\"2025-01-20T11:15:07.670\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfilter: nf_tables: adapt set backend to use GC transaction API\\n\\nUse the GC transaction API to replace the old and buggy gc API and the\\nbusy mark approach.\\n\\nNo set elements are removed from async garbage collection anymore,\\ninstead the _DEAD bit is set on so the set element is not visible from\\nlookup path anymore. Async GC enqueues transaction work that might be\\naborted and retried later.\\n\\nrbtree and pipapo set backends does not set on the _DEAD bit from the\\nsync GC path since this runs in control plane path where mutex is held.\\nIn this case, set elements are deactivated, removed and then released\\nvia RCU callback, sync GC never fails.\"},{\"lang\":\"es\",\"value\":\"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\u00f3n de GC Use la API de transacci\u00f3n 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\u00f3n de basura as\u00edncrona, en su lugar, se activa el bit _DEAD para que el elemento del conjunto ya no sea visible desde la ruta de b\u00fasqueda. La recolecci\u00f3n de basura as\u00edncrona pone en cola el trabajo de la transacci\u00f3n que podr\u00eda abortarse y reintentarse m\u00e1s tarde. Los backends de conjunto de rbtree y pipapo no activan el bit _DEAD de la ruta de GC de sincronizaci\u00f3n, 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\u00e9s de la devoluci\u00f3n de llamada de RCU, la GC de sincronizaci\u00f3n nunca falla.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/146c76866795553dbc19998f36718d7986ad302b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/479a2cf5259347d6a1f658b0f791d27a34908e91\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c357648929c8dff891502349769aafb8f0452bc2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cb4d00b563675ba8ff6ef94b077f58d816f68ba3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/df650d6a4bf47248261b61ef6b174d7c54034d15\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e4d71d6a9c7db93f7bf20c3a0f0659d63d7de681\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f6c383b8c31a93752a52697f8430a71dcbc46adf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.