CVE-2026-72419 (GCVE-0-2026-72419)
Vulnerability from cvelistv5
Published
2026-08-15 05:56
Modified
2026-08-17 05:43
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat: avoid invalid nat_net pointer use on failed nf_nat_init() We ran into below KASAN splat, which is mostly uninteresting, beside for having nf_nat_register_fn() in the call chain as a cause for the offending access: ================================================================== BUG: KASAN: slab-out-of-bounds in nf_nat_register_fn+0x5f9/0x640 Read of size 8 at addr ffff890031e54c20 by task iptables/9510 CPU: 0 UID: 0 PID: 9510 Comm: iptables Not tainted 6.18.18-grsec-full-20260320181326 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: <TASK> […] dump_stack_lvl+0xee/0x160 ffff88004117eeb8 […] print_report+0x6e/0x640 ffff88004117eee0 […] ? __phys_addr+0x8e/0x140 ffff88004117eef0 […] ? kasan_addr_to_slab+0x51/0xe0 ffff88004117ef08 […] ? complete_report_info+0xec/0x1c0 ffff88004117ef20 […] ? nf_nat_register_fn+0x5f9/0x640 ffff88004117ef48 […] kasan_report+0xbc/0x140 ffff88004117ef50 […] ? nf_nat_register_fn+0x5f9/0x640 ffff88004117ef90 […] nf_nat_register_fn+0x5f9/0x640 ffff88004117eff8 […] ? nf_nat_icmp_reply_translation+0x6e0/0x6e0 ffff88004117f070 […] nf_tables_register_hook.part.0+0xa0/0x220 ffff88004117f080 […] nf_tables_addchain.constprop.0+0x1054/0x1fc0 ffff88004117f0b8 […] ? nft_chain_lookup.part.0+0x4ce/0xac0 ffff88004117f130 […] ? nf_tables_abort+0x3d80/0x3d80 ffff88004117f190 […] ? nf_tables_dumpreset_obj+0x100/0x100 ffff88004117f1c8 […] ? nft_table_lookup.part.0+0x255/0x300 ffff88004117f310 […] ? nf_tables_newchain+0x21a4/0x2fa0 ffff88004117f358 […] nf_tables_newchain+0x21a4/0x2fa0 ffff88004117f360 […] ? nf_tables_addchain.constprop.0+0x1fc0/0x1fc0 ffff88004117f458 […] ? nla_get_range_signed+0x4a0/0x4a0 ffff88004117f488 […] ? lock_acquire+0x16f/0x320 ffff88004117f490 […] ? find_held_lock+0x3b/0xe0 ffff88004117f4b0 […] ? __nla_parse+0x45/0x80 ffff88004117f500 […] nfnetlink_rcv_batch+0xbca/0x19a0 ffff88004117f550 […] ? nfnetlink_net_exit_batch+0x120/0x120 ffff88004117f618 […] ? __sanitizer_cov_trace_switch+0x63/0xe0 ffff88004117f720 […] ? gr_acl_handle_mmap+0x1c4/0x320 ffff88004117f7c0 […] ? nla_get_range_signed+0x4a0/0x4a0 ffff88004117f7e8 […] ? gr_is_capable+0x6f/0xe0 ffff88004117f830 […] ? __nla_parse+0x45/0x80 ffff88004117f860 […] ? skb_pull+0x103/0x1a0 ffff88004117f880 […] nfnetlink_rcv+0x3db/0x4a0 ffff88004117f8b0 […] ? nfnetlink_rcv_batch+0x19a0/0x19a0 ffff88004117f8d8 […] ? netlink_lookup+0xe2/0x240 ffff88004117f900 […] netlink_unicast+0x74b/0xb00 ffff88004117f930 […] ? netlink_attachskb+0xb20/0xb20 ffff88004117f980 […] ? __check_object_size+0x3e/0xaa0 ffff88004117f998 […] ? security_netlink_send+0x51/0x160 ffff88004117f9c8 […] netlink_sendmsg+0xa03/0x1200 ffff88004117f9f8 […] ? netlink_unicast+0xb00/0xb00 ffff88004117fa70 […] ? netlink_unicast+0xb00/0xb00 ffff88004117fac8 […] ? ____sys_sendmsg+0xe2a/0x1040 ffff88004117faf8 […] ____sys_sendmsg+0xe2a/0x1040 ffff88004117fb00 […] ? kernel_recvmsg+0x300/0x300 ffff88004117fb60 […] ? reacquire_held_locks+0xe9/0x260 ffff88004117fbc8 […] ___sys_sendmsg+0x138/0x200 ffff88004117fbf8 […] ? do_recvmmsg+0x7e0/0x7e0 ffff88004117fc30 […] ? lockdep_hardirqs_on_prepare+0x101/0x1e0 ffff88004117fc50 […] ? lock_acquire+0x16f/0x320 ffff88004117fd20 […] ? lock_acquire+0x16f/0x320 ffff88004117fd58 […] ? find_held_lock+0x3b/0xe0 ffff88004117fd70 […] __sys_sendmsg+0x17a/0x260 ffff88004117fdc8 […] ? __sys_sendmsg_sock+0x80/0x80 ffff88004117fdf0 […] ? syscall_trace_enter+0x15e/0x2c0 ffff88004117fe98 […] do_syscall_64+0x7d/0x400 ffff88004117fec8 […] entry_SYSCALL_64_safe_stack+0x4a/0x60 ffff88004117fef8 </TASK> ================================================================== The out-of-bounds report, though, is a red herring as it is f ---truncated---
Impacted products
Vendor Product Version
Linux Linux Version: cbc1dd5b659f5a2c3cba88b197b7443679bb35a0
Version: cbc1dd5b659f5a2c3cba88b197b7443679bb35a0
Version: cbc1dd5b659f5a2c3cba88b197b7443679bb35a0
Version: cbc1dd5b659f5a2c3cba88b197b7443679bb35a0
Version: cbc1dd5b659f5a2c3cba88b197b7443679bb35a0
Version: cbc1dd5b659f5a2c3cba88b197b7443679bb35a0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nf_nat_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "359d8ff97362a4662356104540e4814bff9dad7c",
              "status": "affected",
              "version": "cbc1dd5b659f5a2c3cba88b197b7443679bb35a0",
              "versionType": "git"
            },
            {
              "lessThan": "87f7a720de2545fdac29c85acb7163676feacdaf",
              "status": "affected",
              "version": "cbc1dd5b659f5a2c3cba88b197b7443679bb35a0",
              "versionType": "git"
            },
            {
              "lessThan": "e794f633021defcfa98e17d73b955cd07590831f",
              "status": "affected",
              "version": "cbc1dd5b659f5a2c3cba88b197b7443679bb35a0",
              "versionType": "git"
            },
            {
              "lessThan": "a73e7ac3f3b69e9581ec7bfd889ff3e9b8c773f7",
              "status": "affected",
              "version": "cbc1dd5b659f5a2c3cba88b197b7443679bb35a0",
              "versionType": "git"
            },
            {
              "lessThan": "eb14aba91163c33d8c99f9d7c06690e08b56a250",
              "status": "affected",
              "version": "cbc1dd5b659f5a2c3cba88b197b7443679bb35a0",
              "versionType": "git"
            },
            {
              "lessThan": "069cfe3de2a5e16069485893cd04665ab769c1d8",
              "status": "affected",
              "version": "cbc1dd5b659f5a2c3cba88b197b7443679bb35a0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nf_nat_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_nat: avoid invalid nat_net pointer use on failed nf_nat_init()\n\nWe ran into below KASAN splat, which is mostly uninteresting, beside\nfor having nf_nat_register_fn() in the call chain as a cause for the\noffending access:\n\n==================================================================\nBUG: KASAN: slab-out-of-bounds in nf_nat_register_fn+0x5f9/0x640\nRead of size 8 at addr ffff890031e54c20 by task iptables/9510\n\nCPU: 0 UID: 0 PID: 9510 Comm: iptables Not tainted 6.18.18-grsec-full-20260320181326 #1 PREEMPT(voluntary)\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\nCall Trace:\n \u003cTASK\u003e\n [\u2026] dump_stack_lvl+0xee/0x160 ffff88004117eeb8\n [\u2026] print_report+0x6e/0x640 ffff88004117eee0\n [\u2026] ? __phys_addr+0x8e/0x140 ffff88004117eef0\n [\u2026] ? kasan_addr_to_slab+0x51/0xe0 ffff88004117ef08\n [\u2026] ? complete_report_info+0xec/0x1c0 ffff88004117ef20\n [\u2026] ? nf_nat_register_fn+0x5f9/0x640 ffff88004117ef48\n [\u2026] kasan_report+0xbc/0x140 ffff88004117ef50\n [\u2026] ? nf_nat_register_fn+0x5f9/0x640 ffff88004117ef90\n [\u2026] nf_nat_register_fn+0x5f9/0x640 ffff88004117eff8\n [\u2026] ? nf_nat_icmp_reply_translation+0x6e0/0x6e0 ffff88004117f070\n [\u2026] nf_tables_register_hook.part.0+0xa0/0x220 ffff88004117f080\n [\u2026] nf_tables_addchain.constprop.0+0x1054/0x1fc0 ffff88004117f0b8\n [\u2026] ? nft_chain_lookup.part.0+0x4ce/0xac0 ffff88004117f130\n [\u2026] ? nf_tables_abort+0x3d80/0x3d80 ffff88004117f190\n [\u2026] ? nf_tables_dumpreset_obj+0x100/0x100 ffff88004117f1c8\n [\u2026] ? nft_table_lookup.part.0+0x255/0x300 ffff88004117f310\n [\u2026] ? nf_tables_newchain+0x21a4/0x2fa0 ffff88004117f358\n [\u2026] nf_tables_newchain+0x21a4/0x2fa0 ffff88004117f360\n [\u2026] ? nf_tables_addchain.constprop.0+0x1fc0/0x1fc0 ffff88004117f458\n [\u2026] ? nla_get_range_signed+0x4a0/0x4a0 ffff88004117f488\n [\u2026] ? lock_acquire+0x16f/0x320 ffff88004117f490\n [\u2026] ? find_held_lock+0x3b/0xe0 ffff88004117f4b0\n [\u2026] ? __nla_parse+0x45/0x80 ffff88004117f500\n [\u2026] nfnetlink_rcv_batch+0xbca/0x19a0 ffff88004117f550\n [\u2026] ? nfnetlink_net_exit_batch+0x120/0x120 ffff88004117f618\n [\u2026] ? __sanitizer_cov_trace_switch+0x63/0xe0 ffff88004117f720\n [\u2026] ? gr_acl_handle_mmap+0x1c4/0x320 ffff88004117f7c0\n [\u2026] ? nla_get_range_signed+0x4a0/0x4a0 ffff88004117f7e8\n [\u2026] ? gr_is_capable+0x6f/0xe0 ffff88004117f830\n [\u2026] ? __nla_parse+0x45/0x80 ffff88004117f860\n [\u2026] ? skb_pull+0x103/0x1a0 ffff88004117f880\n [\u2026] nfnetlink_rcv+0x3db/0x4a0 ffff88004117f8b0\n [\u2026] ? nfnetlink_rcv_batch+0x19a0/0x19a0 ffff88004117f8d8\n [\u2026] ? netlink_lookup+0xe2/0x240 ffff88004117f900\n [\u2026] netlink_unicast+0x74b/0xb00 ffff88004117f930\n [\u2026] ? netlink_attachskb+0xb20/0xb20 ffff88004117f980\n [\u2026] ? __check_object_size+0x3e/0xaa0 ffff88004117f998\n [\u2026] ? security_netlink_send+0x51/0x160 ffff88004117f9c8\n [\u2026] netlink_sendmsg+0xa03/0x1200 ffff88004117f9f8\n [\u2026] ? netlink_unicast+0xb00/0xb00 ffff88004117fa70\n [\u2026] ? netlink_unicast+0xb00/0xb00 ffff88004117fac8\n [\u2026] ? ____sys_sendmsg+0xe2a/0x1040 ffff88004117faf8\n [\u2026] ____sys_sendmsg+0xe2a/0x1040 ffff88004117fb00\n [\u2026] ? kernel_recvmsg+0x300/0x300 ffff88004117fb60\n [\u2026] ? reacquire_held_locks+0xe9/0x260 ffff88004117fbc8\n [\u2026] ___sys_sendmsg+0x138/0x200 ffff88004117fbf8\n [\u2026] ? do_recvmmsg+0x7e0/0x7e0 ffff88004117fc30\n [\u2026] ? lockdep_hardirqs_on_prepare+0x101/0x1e0 ffff88004117fc50\n [\u2026] ? lock_acquire+0x16f/0x320 ffff88004117fd20\n [\u2026] ? lock_acquire+0x16f/0x320 ffff88004117fd58\n [\u2026] ? find_held_lock+0x3b/0xe0 ffff88004117fd70\n [\u2026] __sys_sendmsg+0x17a/0x260 ffff88004117fdc8\n [\u2026] ? __sys_sendmsg_sock+0x80/0x80 ffff88004117fdf0\n [\u2026] ? syscall_trace_enter+0x15e/0x2c0 ffff88004117fe98\n [\u2026] do_syscall_64+0x7d/0x400 ffff88004117fec8\n [\u2026] entry_SYSCALL_64_safe_stack+0x4a/0x60 ffff88004117fef8\n \u003c/TASK\u003e\n==================================================================\n\nThe out-of-bounds report, though, is a red herring as it is f\n---truncated---"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached via the netfilter netlink path (sendmsg on NETLINK_NETFILTER) when creating an nftables NAT chain; nf_tables_newchain -\u003e nf_tables_register_hook -\u003e nf_nat_register_fn. This is a local syscall/configuration interface, not remote packet handling.\nAC:L - Once nf_nat built-in init has failed and another per-net consumer reuses the stale nat_net_id, a CAP_NET_ADMIN caller can deterministically trigger the type confusion by adding/removing a NAT chain; no race, memory-layout gamble, or victim interaction is required.\nPR:L - nfnetlink_rcv requires CAP_NET_ADMIN via netlink_net_capable(); on systems with user namespaces this capability is available to an unprivileged local user (e.g. unshare -Urn), not only init-namespace root.\nUI:N - Exploitation is performed entirely by the attacker configuring nftables NAT chains over netlink; no action by another user or administrator is required beyond the attacker\u2019s own netfilter setup.\nS:U - Impact is kernel memory corruption and privilege escalation within the same host/kernel security domain; it does not cross a VM, container-to-host, or IOMMU boundary by itself.\nC:H - Stale nat_net_id makes net_generic() return a synproxy_net (24 bytes) misinterpreted as nat_net (176 bytes), causing slab out-of-bounds reads; KASAN confirmed an 8-byte OOB read and type confusion can expose adjacent per-net/kernel heap data.\nI:H - nf_nat_register_fn()/unregister_fn() write nat_hook_ops pointers, user counters, and hook entry tables through the mis-typed smaller structure, corrupting adjacent per-net memory and enabling further arbitrary write/control-flow hijack primitives.\nA:H - The mis-typed per-net access triggers KASAN slab-out-of-bounds faults and can kernel oops/panic during NAT hook registration; corrupted synproxy/per-net state can also crash or hang the system on subsequent netfilter activity."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:43:59.432Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/359d8ff97362a4662356104540e4814bff9dad7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/87f7a720de2545fdac29c85acb7163676feacdaf"
        },
        {
          "url": "https://git.kernel.org/stable/c/e794f633021defcfa98e17d73b955cd07590831f"
        },
        {
          "url": "https://git.kernel.org/stable/c/a73e7ac3f3b69e9581ec7bfd889ff3e9b8c773f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/eb14aba91163c33d8c99f9d7c06690e08b56a250"
        },
        {
          "url": "https://git.kernel.org/stable/c/069cfe3de2a5e16069485893cd04665ab769c1d8"
        }
      ],
      "title": "netfilter: nf_nat: avoid invalid nat_net pointer use on failed nf_nat_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72419",
    "datePublished": "2026-08-15T05:56:39.126Z",
    "dateReserved": "2026-08-09T03:40:39.927Z",
    "dateUpdated": "2026-08-17T05:43:59.432Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…