CVE-2026-45846
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel-livepatch-6.18.33-63.124 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| linux_kernel | linux | 7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.1.175, 5.15.209, 5.10.258 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 571912c69f0ed731bd1e071ade9dc7ca4aa52065, 571912c69f0ed731bd1e071ade9dc7ca4aa52065, 571912c69f0ed731bd1e071ade9dc7ca4aa52065 |
| Linux | Linux | 5.7, 0, 5.10.258 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.33-63.124 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 5.7, 5.7, 5.7 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| Linux | Linux | 571912c69f0ed731bd1e071ade9dc7ca4aa52065, 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