CVE-2026-72251

Source
https://cve.org/CVERecord?id=CVE-2026-72251
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72251.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72251
Downstream
Published
2026-08-15T05:54:39.983Z
Modified
2026-08-18T03:56:39.562055524Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
netfilter: nf_nat_sip: reload possible stale data pointer
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nfnatsip: reload possible stale data pointer

quoting sashiko:


[..] noticed a potential memory bug and header corruption involving the SIP NAT helper.

In net/netfilter/nfnatsip.c:nfnatsip(): if (skbensurewritable(skb, skb->len)) { nfcthelperlog(skb, ct, "cannot mangle packet"); return NFDROP; } uh = (void *)skb->data + protoff; uh->dest = ctsipinfo->forceddport; if (!nfnatmangleudp_packet(skb, ct, ctinfo, protoff, 0, 0, NULL, 0)) {

If a cloned or fragmented SKB is reallocated by skbensurewritable(), the old data buffer is freed. However, nfnatsip() fails to update *dptr to point to the new buffer.

It also appears to use nfnatmangleudppacket() on what could be a TCP packet, which would overwrite the sequence number with a checksum update.


nfconntracksip linerizes skbs, hence no fragmented skb can be seen. But clones are possible, so rebuild dptr.

Disable nfnatmangleudppacket() branch for TCP streams. It doesn't look like this can ever happen, else we should have received bug reports about this, so just check the conntrack is UDP and drop otherwise.

The calling conntracksip set ->forceddport for SIPHDRVIA_UDP messages, so I don't think this is ever expected to be true for a TCP stream.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72251.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7266507d89991fa1e989283e4e032c6d9357fe26
Fixed
bded21a4bf9bf86a79148be735723a97ca9a7532
Fixed
dc11f26685aa850f237226f0f463647aea58ab7c
Fixed
e38143c9b477f2968024c47c647dd4456a40aff1
Fixed
57e4e29644ec054d7021d296407e7ddd844afea2
Fixed
eae9c6ccb5af69c713a65f8ae219f5c1aa32cd17
Fixed
2bcf2c5052fb5e73e255140ab43f056aef409c27
Fixed
0e76e3e886cc9ee027337d5ad39cb96f57b7bdc7
Fixed
77e43bcb7ec177e293a5c3f1b91a2c5aebfb6c68

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72251.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72251.json"