CVE-2026-23439

udp_tunnel: fix NULL deref caused by udp_sock_create6 when CONFIG_IPV6=n

No CVSS score yet EPSS 0.19%

Published 3 Apr 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-23439

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-23439 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.

Check my servers

Description

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

udp_tunnel: fix NULL deref caused by udp_sock_create6 when CONFIG_IPV6=n

When CONFIG_IPV6 is disabled, the udp_sock_create6() function returns 0 (success) without actually creating a socket. Callers such as fou_create() then proceed to dereference the uninitialized socket pointer, resulting in a NULL pointer dereference.

The captured NULL deref crash: BUG: kernel NULL pointer dereference, address: 0000000000000018 RIP: 0010:fou_nl_add_doit (net/ipv4/fou_core.c:590 net/ipv4/fou_core.c:764) [...] Call Trace: <TASK> genl_family_rcv_msg_doit.constprop.0 (net/netlink/genetlink.c:1114) genl_rcv_msg (net/netlink/genetlink.c:1194 net/netlink/genetlink.c:1209) [...] netlink_rcv_skb (net/netlink/af_netlink.c:2550) genl_rcv (net/netlink/genetlink.c:1219) netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) netlink_sendmsg (net/netlink/af_netlink.c:1894) __sock_sendmsg (net/socket.c:727 (discriminator 1) net/socket.c:742 (discriminator 1)) __sys_sendto (./include/linux/file.h:62 (discriminator 1) ./include/linux/file.h:83 (discriminator 1) net/socket.c:2183 (discriminator 1)) __x64_sys_sendto (net/socket.c:2213 (discriminator 1) net/socket.c:2209 (discriminator 1) net/socket.c:2209 (discriminator 1)) do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) entry_SYSCALL_64_after_hwframe (net/arch/x86/entry/entry_64.S:130)

This patch makes udp_sock_create6 return -EPFNOSUPPORT instead, so callers correctly take their error paths. There is only one caller of the vulnerable function and only privileged users can trigger it.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.27% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 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.

ProductVersions
Linux
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before dfc96ae0074cc47b5478a59e5aa19233e434243f
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before 66117dbb3dbae82f86735bf727b1d59cc677afa1
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before ba7c9ddcdd077942b798979edb035207374d4096
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before a05a2149386f6dfb4245f522acdbef892acafc84
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before 9f036aa0fe46c19e938f03d10e02c23f4fffae5e
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before 003343985f26dfefd0c94b1fe1316a2de74428b9
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before 12aa4b73a67d95bc739995a2d6943aec2f9785c9
affected from fd384412e199b62c3ddaabd18dce86d0e164c5b9, before b3a6df291fecf5f8a308953b65ca72b7fc9e015d
Other versions: unaffected
Linux
affected 3.18
unaffected before 3.18
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.78 up to and including 6.12.*
unaffected from 6.18.20 up to and including 6.18.*
unaffected from 6.19.10 up to and including 6.19.*
unaffected 7.0 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-23439 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23439

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-23439
trivy image --scanners vuln IMAGE | grep CVE-2026-23439

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

Source: the record CVE-2026-23439 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.