{"id":"CVE-2026-72251","aliases":["CVE-2026-72251"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_nat_sip: reload possible stale data pointer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_nat_sip: reload possible stale data pointer\n\nquoting sashiko:\n ------------------------------------------------------------------------\n [..] noticed a potential memory bug and header corruption involving the\n SIP NAT helper.\n\n In net/netfilter/nf_nat_sip.c:nf_nat_sip():\n\tif (skb_ensure_writable(skb, skb->len)) {\n\t\tnf_ct_helper_log(skb, ct, \"cannot mangle packet\");\n\t\treturn NF_DROP;\n\t}\n\tuh = (void *)skb->data + protoff;\n\tuh->dest = ct_sip_info->forced_dport;\n\tif (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, protoff,\n\t\t\t\t      0, 0, NULL, 0)) {\n\n If a cloned or fragmented SKB is reallocated by skb_ensure_writable(), the\n old data buffer is freed. However, nf_nat_sip() fails to update *dptr to\n point to the new buffer.\n\n It also appears to use nf_nat_mangle_udp_packet() on what could be a TCP\n packet, which would overwrite the sequence number with a checksum update.\n ------------------------------------------------------------------------\n\nnf_conntrack_sip linerizes skbs, hence no fragmented skb can be seen.\nBut clones are possible, so rebuild dptr.\n\nDisable nf_nat_mangle_udp_packet() branch for TCP streams.\nIt doesn't look like this can ever happen, else we should have received\nbug reports about this, so just check the conntrack is UDP and drop\notherwise.\n\nThe calling conntrack_sip set ->forced_dport for SIP_HDR_VIA_UDP messages,\nso I don't think this is ever expected to be true for a TCP stream.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_nat_sip: reload possible stale data pointer\n\nquoting sashiko:\n ------------------------------------------------------------------------\n [..] noticed a potential memory bug and header corruption involving the\n SIP NAT helper.\n\n In net/netfilter/nf_nat_sip.c:nf_nat_sip():\n\tif (skb_ensure_writable(skb, skb->len)) {\n\t\tnf_ct_helper_log(skb, ct, \"cannot mangle packet\");\n\t\treturn NF_DROP;\n\t}\n\tuh = (void *)skb->data + protoff;\n\tuh->dest = ct_sip_info->forced_dport;\n\tif (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, protoff,\n\t\t\t\t      0, 0, NULL, 0)) {\n\n If a cloned or fragmented SKB is reallocated by skb_ensure_writable(), the\n old data buffer is freed. However, nf_nat_sip() fails to update *dptr to\n point to the new buffer.\n\n It also appears to use nf_nat_mangle_udp_packet() on what could be a TCP\n packet, which would overwrite the sequence number with a checksum update.\n ------------------------------------------------------------------------\n\nnf_conntrack_sip linerizes skbs, hence no fragmented skb can be seen.\nBut clones are possible, so rebuild dptr.\n\nDisable nf_nat_mangle_udp_packet() branch for TCP streams.\nIt doesn't look like this can ever happen, else we should have received\nbug reports about this, so just check the conntrack is UDP and drop\notherwise.\n\nThe calling conntrack_sip set ->forced_dport for SIP_HDR_VIA_UDP messages,\nso I don't think this is ever expected to be true for a TCP stream.","source":"cvelist"}],"published":"2026-08-15T05:54:39.983Z","modified":"2026-10-16T19:17:17.060Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"bded21a4bf9bf86a79148be735723a97ca9a7532","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"dc11f26685aa850f237226f0f463647aea58ab7c","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"e38143c9b477f2968024c47c647dd4456a40aff1","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"57e4e29644ec054d7021d296407e7ddd844afea2","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"eae9c6ccb5af69c713a65f8ae219f5c1aa32cd17","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"2bcf2c5052fb5e73e255140ab43f056aef409c27","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"0e76e3e886cc9ee027337d5ad39cb96f57b7bdc7","status":"affected"},{"type":"git","introduced":"7266507d89991fa1e989283e4e032c6d9357fe26","fixed":"77e43bcb7ec177e293a5c3f1b91a2c5aebfb6c68","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bded21a4bf9bf86a79148be735723a97ca9a7532","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc11f26685aa850f237226f0f463647aea58ab7c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e38143c9b477f2968024c47c647dd4456a40aff1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57e4e29644ec054d7021d296407e7ddd844afea2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eae9c6ccb5af69c713a65f8ae219f5c1aa32cd17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2bcf2c5052fb5e73e255140ab43f056aef409c27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e76e3e886cc9ee027337d5ad39cb96f57b7bdc7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77e43bcb7ec177e293a5c3f1b91a2c5aebfb6c68","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T18:45:12.402Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72251","url":"https://www.cve.org/CVERecord?id=CVE-2026-72251","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:13.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72251","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72251","licence":"Public domain","modified":"2026-10-16T19:17:17.060Z"}],"updatedAt":"2026-11-25T22:59:33.059Z","epss":{"score":0.00714,"percentile":0.54887,"date":"2026-12-01T12:00:22.000Z"}}