CVE-2023-54200
netfilter: nf_tables: always release netdev hooks from notifier
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: always release netdev hooks from notifier This reverts "netfilter: nf_tables: skip netdev events generated on netns removal". The problem is that when a veth device is released, the veth release callback will also queue the peer netns device for removal. Its possible that the peer netns is also slated for removal. In this case, the device memory is already released before the pre_exit hook of the peer netns runs: BUG: KASAN: slab-use-after-free in nf_hook_entry_head+0x1b8/0x1d0 Read of size 8 at addr ffff88812c0124f0 by task kworker/u8:1/45 Workqueue: netns cleanup_net Call Trace: nf_hook_entry_head+0x1b8/0x1d0 __nf_unregister_net_hook+0x76/0x510 nft_netdev_unregister_hooks+0xa0/0x220 __nft_release_hook+0x184/0x490 nf_tables_pre_exit_net+0x12f/0x1b0 .. Order is: 1. First netns is released, veth_dellink() queues peer netns device for removal 2. peer netns is queued for removal 3. peer netns device is released, unreg event is triggered 4. unreg event is ignored because netns is going down 5. pre_exit hook calls nft_netdev_unregister_hooks but device memory might be free'd already.
INFO
Published Date :
Dec. 30, 2025, 1:16 p.m.
Last Modified :
Oct. 28, 2026, 7:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the patched version.
- Apply the provided netfilter: nf_tables patch.
- Ensure netdev hooks are released properly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-54200.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-54200 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-54200
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-54200 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-54200 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 28, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: nf_tables: siempre liberar hooks de netdev desde el notificador Esto revierte ’netfilter: nf_tables: omitir eventos de netdev generados en la eliminación de netns’. El problema es que cuando un dispositivo veth es liberado, la callback de liberación de veth también pondrá en cola el dispositivo netns par para su eliminación. Es posible que el netns par también esté programado para su eliminación. En este caso, la memoria del dispositivo ya está liberada antes de que el hook pre_exit del netns par se ejecute: BUG: KASAN: uso después de liberación de slab en nf_hook_entry_head+0x1b8/0x1d0 Lectura de tamaño 8 en la dirección ffff88812c0124f0 por la tarea kworker/u8:1/45 Cola de trabajo: netns cleanup_net Rastro de llamada: nf_hook_entry_head+0x1b8/0x1d0 __nf_unregister_net_hook+0x76/0x510 nft_netdev_unregister_hooks+0xa0/0x220 __nft_release_hook+0x184/0x490 nf_tables_pre_exit_net+0x12f/0x1b0 .. El orden es: 1. El primer netns es liberado, veth_dellink() pone en cola el dispositivo netns par para su eliminación 2. El netns par es puesto en cola para su eliminación 3. El dispositivo netns par es liberado, se dispara el evento de desregistro 4. El evento de desregistro es ignorado porque el netns se está cerrando 5. El hook pre_exit llama a nft_netdev_unregister_hooks pero la memoria del dispositivo podría haber sido liberada ya. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/30e4b13b1bfbdf3bf3b27036d8209ea1b9f0d880 Added Reference https://git.kernel.org/stable/c/8d56f00c61f67b450fbbdcb874855e60ad92c560 Added Reference https://git.kernel.org/stable/c/94032527efbac13be702c76afb9d872c0cca7a43 Added Reference https://git.kernel.org/stable/c/dc1c9fd4a8bbe1e06add9053010b652449bfe411 Removed Reference https://git.kernel.org/stable/c/30e4b13b1bfbdf3bf3b27036d8209ea1b9f0d880 Removed Reference https://git.kernel.org/stable/c/8d56f00c61f67b450fbbdcb874855e60ad92c560 Removed Reference https://git.kernel.org/stable/c/94032527efbac13be702c76afb9d872c0cca7a43 Removed Reference https://git.kernel.org/stable/c/dc1c9fd4a8bbe1e06add9053010b652449bfe411 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2023-54200', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:39:16.069317Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 04, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '68a3765c659f809dcaac20030853a054646eb739', 'lessThan': '8d56f00c61f67b450fbbdcb874855e60ad92c560', 'versionType': 'git'}, {'status': 'affected', 'version': '68a3765c659f809dcaac20030853a054646eb739', 'lessThan': '30e4b13b1bfbdf3bf3b27036d8209ea1b9f0d880', 'versionType': 'git'}, {'status': 'affected', 'version': '68a3765c659f809dcaac20030853a054646eb739', 'lessThan': '94032527efbac13be702c76afb9d872c0cca7a43', 'versionType': 'git'}, {'status': 'affected', 'version': '68a3765c659f809dcaac20030853a054646eb739', 'lessThan': 'dc1c9fd4a8bbe1e06add9053010b652449bfe411', 'versionType': 'git'}, {'status': 'affected', 'version': '90c7c58aa2bd02c65a4c63b7dfe0b16eab12cf9f', 'versionType': 'git'}, {'status': 'affected', 'version': '5.14.15', 'lessThan': '5.15', 'versionType': 'semver'}], 'programFiles': ['net/netfilter/nft_chain_filter.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.113', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.30', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.3.4', 'versionType': 'semver', 'lessThanOrEqual': '6.3.*'}, {'status': 'unaffected', 'version': '6.4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/netfilter/nft_chain_filter.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 30, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: always release netdev hooks from notifier This reverts "netfilter: nf_tables: skip netdev events generated on netns removal". The problem is that when a veth device is released, the veth release callback will also queue the peer netns device for removal. Its possible that the peer netns is also slated for removal. In this case, the device memory is already released before the pre_exit hook of the peer netns runs: BUG: KASAN: slab-use-after-free in nf_hook_entry_head+0x1b8/0x1d0 Read of size 8 at addr ffff88812c0124f0 by task kworker/u8:1/45 Workqueue: netns cleanup_net Call Trace: nf_hook_entry_head+0x1b8/0x1d0 __nf_unregister_net_hook+0x76/0x510 nft_netdev_unregister_hooks+0xa0/0x220 __nft_release_hook+0x184/0x490 nf_tables_pre_exit_net+0x12f/0x1b0 .. Order is: 1. First netns is released, veth_dellink() queues peer netns device for removal 2. peer netns is queued for removal 3. peer netns device is released, unreg event is triggered 4. unreg event is ignored because netns is going down 5. pre_exit hook calls nft_netdev_unregister_hooks but device memory might be free'd already. Added Reference https://git.kernel.org/stable/c/30e4b13b1bfbdf3bf3b27036d8209ea1b9f0d880 Added Reference https://git.kernel.org/stable/c/8d56f00c61f67b450fbbdcb874855e60ad92c560 Added Reference https://git.kernel.org/stable/c/94032527efbac13be702c76afb9d872c0cca7a43 Added Reference https://git.kernel.org/stable/c/dc1c9fd4a8bbe1e06add9053010b652449bfe411