{"id":34381,"date":"2025-05-04T10:00:14","date_gmt":"2025-05-04T10:00:14","guid":{"rendered":""},"modified":"2025-08-30T00:12:40","modified_gmt":"2025-08-30T06:12:40","slug":"cve-2024-0193-linux-kernel-use-after-free-vulnerability-in-netfilter-subsystem","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2024-0193-linux-kernel-use-after-free-vulnerability-in-netfilter-subsystem\/","title":{"rendered":"<strong>CVE-2024-0193: Linux Kernel Use-After-Free Vulnerability in Netfilter Subsystem<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The Linux kernel, the core component of the Linux operating system, is the target of a serious vulnerability labelled as CVE-2024-0193. This vulnerability resides within the kernel\u2019s netfilter subsystem, a framework that provides the tools necessary for the manipulation of network packets. It is a use-after-free flaw, which can allow an attacker to execute arbitrary code, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32849-vulnerability-in-telecontrol-server-basic-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"39141\">potentially leading to system<\/a> compromise or data leakage. This vulnerability is of particular concern as it can be exploited by a local unprivileged user with CAP_NET_ADMIN capability, thereby providing a straightforward path to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3761-privilege-escalation-vulnerability-in-my-tickets-wordpress-plugin\/\"  data-wpil-monitor-id=\"40005\">escalating their privileges<\/a> on the system.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2024-0193<br \/>\nSeverity: High (7.8 CVSS)<br \/>\nAttack Vector: Local<br \/>\nPrivileges Required: Low (CAP_NET_ADMIN)<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32857-sql-injection-vulnerability-in-telecontrol-server-basic-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"39780\">Potential system<\/a> compromise, data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2880622818\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>Linux Kernel | <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43865-critical-spoofing-vulnerability-in-react-router-prior-to-version-7-5-2\/\"  data-wpil-monitor-id=\"41473\">Versions prior<\/a> to patch release<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3101-privilege-escalation-vulnerability-in-configurator-theme-core-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"40295\">vulnerability at its core<\/a> is a use-after-free flaw. A <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55157-vim-text-editor-use-after-free-vulnerability-resulting-in-memory-corruption\/\"  data-wpil-monitor-id=\"74984\">use-after-free error occurs when a piece of memory<\/a> is freed (deleted) while there are still pointers to it that haven&#8217;t been updated. In this case, the netfilter subsystem of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2022-48913-linux-kernel-use-after-free-vulnerability-in-blktrace\/\"  data-wpil-monitor-id=\"52137\">Linux kernel<\/a> is affected. Specifically, if the catchall element is garbage-collected when the pipapo set is removed, the element can be deactivated twice. This can cause a use-after-free issue on an NFT_CHAIN object or NFT_OBJECT object, allowing a local unprivileged user with CAP_NET_ADMIN capability to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-28237-privilege-escalation-vulnerability-in-worldcast-systems-ecreso-fm-dab-tv-transmitter\/\"  data-wpil-monitor-id=\"40020\">escalate their privileges on the system<\/a>.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2244434010\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Below is a conceptual representation of how the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47154-exploitation-of-use-after-free-vulnerability-in-libjs-in-ladybird\/\"  data-wpil-monitor-id=\"42324\">vulnerability might be exploited<\/a>:<\/p>\n<pre><code class=\"\" data-line=\"\"># Gain CAP_NET_ADMIN capability\nsudo setcap cap_net_admin+ep \/bin\/bash\n# Run command to interact with netfilter and trigger the use-after-free flaw\necho &quot;remove pipapo set&quot; | nft -f -<\/code><\/pre>\n<p>This pseudo-code demonstrates the potential exploitation of the vulnerability by an unprivileged user gaining the CAP_NET_ADMIN capability and then running a command to interact with the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43971-critical-vulnerability-in-gobgp-paving-the-way-for-system-compromise\/\"  data-wpil-monitor-id=\"40123\">netfilter<\/a> subsystem in a way that triggers the use-after-free flaw. This could potentially allow the user to escalate their privileges and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-40446-arbitrary-code-execution-vulnerability-in-forkosh-mime-tex\/\"  data-wpil-monitor-id=\"39859\">execute arbitrary code<\/a>.<br \/>\nTo mitigate this vulnerability, it is recommended to immediately apply any available vendor patches. In the absence of a patch, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) could be used as a temporary mitigation measure. However, these should not be seen as a long-term solution, but rather a stopgap until patches can be applied.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The Linux kernel, the core component of the Linux operating system, is the target of a serious vulnerability labelled as CVE-2024-0193. This vulnerability resides within the kernel\u2019s netfilter subsystem, a framework that provides the tools necessary for the manipulation of network packets. It is a use-after-free flaw, which can allow an attacker to execute [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[88],"product":[95],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-34381","post","type-post","status-publish","format-standard","hentry","category-uncategorized","vendor-linux","product-linux-kernel"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/34381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=34381"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/34381\/revisions"}],"predecessor-version":[{"id":67623,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/34381\/revisions\/67623"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=34381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=34381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=34381"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=34381"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=34381"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=34381"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=34381"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=34381"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=34381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}