# CVE-2026-89789: gtp: add synchronize\_net() in gtp\_newlink() error path to prevent use-after-free

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T08:48:25.689Z
- **Modified:** 2026-10-19T09:18:22.550Z

## Who should check

- Anyone running Linux \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< fcafb2b1430824bae4258c01a439ec97ca0c6973; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 3ca3da5c305caa873ddb81e8c6b118143f6dd3d1; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 6f815c2fb6ab20385f81c353cdad0ea3b88132af; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< e3b9aa0773abd5d4ed90be41ce5306c146d5b09e; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< fd8396cfecbd904468c71362f08aaa25f96d5337; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 7677eb2cbf2cc7446de474c01a6b06277c0051e5; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 8d85498016a5bb56339734a14c276209fa65bafc; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< d989e22ae9802c52c56ad4284d0caf26696cf6ae
- Anyone running Linux 4.7

## Description

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

gtp: add synchronize\_net() in gtp\_newlink() error path to prevent use-after-free

gtp\_newlink()'s error path frees tid\_hash and addr\_hash without
waiting for an RCU grace period after clearing sk\_user\_data. A
concurrent gtp\_encap\_recv() in softirq may still hold the gtp\_dev
pointer obtained via rcu\_dereference\_sk\_user\_data() and access the
freed memory.

  BUG: KASAN: slab-use-after-free in gtp0\_pdp\_find+0x1f6/0x200 (gtp.c:152)
  Call Trace:
   \<IRQ\>
   gtp0\_pdp\_find+0x1f6/0x200
   gtp\_encap\_recv+0x527/0x24b0
   udp\_queue\_rcv\_one\_skb+0x75f/0xc10

Add synchronize\_net() before the kfree calls in out\_hashtable, which
covers all error paths from both gtp\_encap\_enable() and
gtp\_create\_sockets().

## Affected and fixed versions

- Linux: \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< fcafb2b1430824bae4258c01a439ec97ca0c6973; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 3ca3da5c305caa873ddb81e8c6b118143f6dd3d1; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 6f815c2fb6ab20385f81c353cdad0ea3b88132af; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< e3b9aa0773abd5d4ed90be41ce5306c146d5b09e; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< fd8396cfecbd904468c71362f08aaa25f96d5337; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 7677eb2cbf2cc7446de474c01a6b06277c0051e5; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 8d85498016a5bb56339734a14c276209fa65bafc; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< d989e22ae9802c52c56ad4284d0caf26696cf6ae (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89789. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89789.md
Affected: Linux >= 459aa660eb1d8ce67080da1983bb81d716aa5a69, < fcafb2b1430824bae4258c01a439ec97ca0c6973; >= 459aa660eb1d8ce67080da1983bb81d716aa5a69, < 3ca3da5c305caa873ddb81e8c6b118143f6dd3d1; >= 459aa660eb1d8ce67080da1983bb81d716aa5a69, < 6f815c2fb6ab20385f81c353cdad0ea3b88132af; >= 459aa660eb1d8ce67080da1…
Fixed in: Linux 3ca3da5c305caa873ddb81e8c6b118143f6dd3d1, Linux 6f815c2fb6ab20385f81c353cdad0ea3b88132af, Linux 7677eb2cbf2cc7446de474c01a6b06277c0051e5, Linux 8d85498016a5bb56339734a14c276209fa65bafc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89789 being exploited?

There is no confirmed exploitation: CVE-2026-89789 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89789?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89789?

Linux \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< fcafb2b1430824bae4258c01a439ec97ca0c6973; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 3ca3da5c305caa873ddb81e8c6b118143f6dd3d1; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 6f815c2fb6ab20385f81c353cdad0ea3b88132af; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< e3b9aa0773abd5d4ed90be41ce5306c146d5b09e; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< fd8396cfecbd904468c71362f08aaa25f96d5337; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 7677eb2cbf2cc7446de474c01a6b06277c0051e5; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 8d85498016a5bb56339734a14c276209fa65bafc; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< d989e22ae9802c52c56ad4284d0caf26696cf6ae; Linux 4.7.

### Is there a fix for CVE-2026-89789?

Yes. Fixed in Linux 3ca3da5c305caa873ddb81e8c6b118143f6dd3d1, Linux 6f815c2fb6ab20385f81c353cdad0ea3b88132af, Linux 7677eb2cbf2cc7446de474c01a6b06277c0051e5, Linux 8d85498016a5bb56339734a14c276209fa65bafc. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89789?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fcafb2b1430824bae4258c01a439ec97ca0c6973>
- other: <https://git.kernel.org/stable/c/3ca3da5c305caa873ddb81e8c6b118143f6dd3d1>
- other: <https://git.kernel.org/stable/c/6f815c2fb6ab20385f81c353cdad0ea3b88132af>
- other: <https://git.kernel.org/stable/c/e3b9aa0773abd5d4ed90be41ce5306c146d5b09e>
- other: <https://git.kernel.org/stable/c/fd8396cfecbd904468c71362f08aaa25f96d5337>
- other: <https://git.kernel.org/stable/c/7677eb2cbf2cc7446de474c01a6b06277c0051e5>
- other: <https://git.kernel.org/stable/c/8d85498016a5bb56339734a14c276209fa65bafc>
- other: <https://git.kernel.org/stable/c/d989e22ae9802c52c56ad4284d0caf26696cf6ae>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89789>

HTML: <https://flawdb.com/CVE-2026-89789> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89789>
