VDB

CVE-2026-45846

CVE-2026-45846 PUBLISHED

bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst()

Reported by linux · Published May 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-headersAmazon Linux1:6.18.33-63.124.amzn2023
kernel-livepatch-6.18.33-63.124Amazon Linux1:1.0-0.amzn2023
kernel6.18Amazon Linux1:6.18.33-63.124.amzn2023
bpftool6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-develAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.33-63.124.amzn2023
perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.33-63.124.amzn2023
linux_kernellinux7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.1.175, 5.15.209, 5.10.258

Affected products

VendorProductVersions
LinuxLinux571912c69f0ed731bd1e071ade9dc7ca4aa52065, 571912c69f0ed731bd1e071ade9dc7ca4aa52065, 571912c69f0ed731bd1e071ade9dc7ca4aa52065
LinuxLinux5.7, 0, 5.10.258
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023kernel6.180
amazon:2023bpftool6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel5.7, 5.7, 5.7
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-tools0
LinuxLinux571912c69f0ed731bd1e071ade9dc7ca4aa52065, 571912c69f0ed731bd1e071ade9dc7ca4aa52065, 571912c69f0ed731bd1e071ade9dc7ca4aa52065

Timeline

  • May 26, 2026 CVE Published
  • May 27, 2026 EPSS Score (15 in total, the first dated here)
  • May 29, 2026 Security Advisory (34 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (29 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45846
vulnetix vdb fixes CVE-2026-45846

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45846/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›