CVE-2026-74543
net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()
Check your servers for CVE-2026-74543
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74543 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()
syzbot reported a memory leak [1] in the UDP tunnel NIC offload code.
When device registration fails (e.g. in register_netdevice()), netdev core unwinds by sending a single NETDEV_UNREGISTER notification. If work was queued during NETDEV_REGISTER (utn->work_pending is set), udp_tunnel_nic_unregister() returns early:
if (utn->work_pending) return;
Because failed registrations do not enter netdev_wait_allrefs_any(), no subsequent NETDEV_UNREGISTER rebroadcast will ever occur. As a result, the struct udp_tunnel_nic allocated in udp_tunnel_nic_alloc() is leaked permanently.
Fix this by removing the early return. Instead, synchronously cancel any pending work with cancel_delayed_work_sync() before freeing @utn.
To be able to call cancel_delayed_work_sync() while holding RTNL (the work also needs RTNL), switch udp_tunnel_nic_device_sync_work() to rtnl_trylock(). If RTNL is contended, requeue the work with a 1 jiffy delay (via queue_delayed_work()) to prevent high CPU contention while waiting for RTNL lock.
The utn->work_pending bookkeeping is no longer needed and is removed, as the workqueue core already tracks the pending/running state of the work.
[1] BUG: memory leak unreferenced object 0xffff888127d5f840 (size 96): comm "syz-executor", pid 5806, jiffies 4294942188 backtrace (crc 99fdb6c8): __kmalloc_noprof+0x3bf/0x550 udp_tunnel_nic_alloc net/ipv4/udp_tunnel_nic.c:756 [inline] udp_tunnel_nic_register net/ipv4/udp_tunnel_nic.c:833 [inline] udp_tunnel_nic_netdevice_event+0x804/0xab0 net/ipv4/udp_tunnel_nic.c:931 notifier_call_chain+0x59/0x160 kernel/notifier.c:85 call_netdevice_notifiers_info+0x7d/0xb0 net/core/dev.c:2250 register_netdevice+0xc10/0xeb0 net/core/dev.c:11478
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cc4e3835eff474aa274d6e1d18f69d9d296d3b76, before d53a8b927ac9788257266e115d4901ec6f455387 affected from cc4e3835eff474aa274d6e1d18f69d9d296d3b76, before 52c753b46265243406690d980faa9514d3f53827 affected from cc4e3835eff474aa274d6e1d18f69d9d296d3b76, before b712da45bd9b9835d132e9fbc0c3e43c164cb1fd affected from cc4e3835eff474aa274d6e1d18f69d9d296d3b76, before f82a2ded3d7a9098267c84f14eafdb98c4550ac5 affected from cc4e3835eff474aa274d6e1d18f69d9d296d3b76, before b322532a4b774db1b480a2de84125910a70739a5 affected from cc4e3835eff474aa274d6e1d18f69d9d296d3b76, before 080695e6f005e2396f1207fd69d24c442cb230c6
Other versions: unaffected
|
| Linux |
affected 5.9 unaffected before 5.9 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.103 up to and including 6.12.* unaffected from 6.18.44 up to and including 6.18.* unaffected from 7.1.8 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74543 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74543
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74543
trivy image --scanners vuln IMAGE | grep CVE-2026-74543
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d53a8b927ac9788257266e115d4901ec6f455387 git.kernel.org
- https://git.kernel.org/stable/c/52c753b46265243406690d980faa9514d3f53827 git.kernel.org
- https://git.kernel.org/stable/c/b712da45bd9b9835d132e9fbc0c3e43c164cb1fd git.kernel.org
- https://git.kernel.org/stable/c/f82a2ded3d7a9098267c84f14eafdb98c4550ac5 git.kernel.org
- https://git.kernel.org/stable/c/b322532a4b774db1b480a2de84125910a70739a5 git.kernel.org
- https://git.kernel.org/stable/c/080695e6f005e2396f1207fd69d24c442cb230c6 git.kernel.org
Source: the record CVE-2026-74543 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse