CVE-2026-45846

bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst()

No CVSS score yet EPSS 0.16%

Published 27 May 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-45846

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-45846 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:

bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst()

bareudp_fill_metadata_dst() passes bareudp->sock to udp_tunnel6_dst_lookup() in the IPv6 path without a NULL check. The socket is only created in bareudp_open() and NULLed in bareudp_stop(), so calling this function while the device is down triggers a NULL dereference via sock->sk.

BUG: kernel NULL pointer dereference, address: 0000000000000018 RIP: 0010:udp_tunnel6_dst_lookup (net/ipv6/ip6_udp_tunnel.c:160) Call Trace: <TASK> bareudp_fill_metadata_dst (drivers/net/bareudp.c:532) do_execute_actions (net/openvswitch/actions.c:901) ovs_execute_actions (net/openvswitch/actions.c:1589) ovs_packet_cmd_execute (net/openvswitch/datapath.c:700) genl_family_rcv_msg_doit (net/netlink/genetlink.c:1114) genl_rcv_msg (net/netlink/genetlink.c:1209) netlink_rcv_skb (net/netlink/af_netlink.c:2550) </TASK>

Add a NULL check returning -ESHUTDOWN, consistent with the xmit paths in the same driver.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.00% of all scored CVEs. Scores of 30 Nov 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.

ProductVersions
Linux
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before 31e010a106ff6cd8ccac4bfee547fd3fa1015574
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before 55193df8d6d33318435f19572bf5ea47a22eee28
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before 51eef9c072aa3405a6823a96ae666d38a3b48750
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before a0f4e4e8e0f5e24ddd83e3d1221732621cf34636
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before 35a115a204be08f97450b0389413e218268ef4a2
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before 74a02921c48fcd35a7881956c9e5c52b86595f5d
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before 638905520fc4fae6a80991563f264131545ba3df
affected from 571912c69f0ed731bd1e071ade9dc7ca4aa52065, before aa6c6d9ee064aabfede4402fd1283424e649ca19
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.141 up to and including 6.6.*
unaffected from 6.12.91 up to and including 6.12.*
unaffected from 6.18.33 up to and including 6.18.*
unaffected from 7.0.10 up to and including 7.0.*
unaffected 7.1 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-45846 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45846

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

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