# CVE-2026-45846: bareudp: fix NULL pointer dereference in bareudp_fill_metadata_dst()

Status: published. Published: 2026-05-27. Updated: 2026-11-06.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < 31e010a106ff6cd8ccac4bfee547fd3fa1015574 (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < 55193df8d6d33318435f19572bf5ea47a22eee28 (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < 51eef9c072aa3405a6823a96ae666d38a3b48750 (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < a0f4e4e8e0f5e24ddd83e3d1221732621cf34636 (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < 35a115a204be08f97450b0389413e218268ef4a2 (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < 74a02921c48fcd35a7881956c9e5c52b86595f5d (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < 638905520fc4fae6a80991563f264131545ba3df (affected, git); ≥ 571912c69f0ed731bd1e071ade9dc7ca4aa52065; < aa6c6d9ee064aabfede4402fd1283424e649ca19 (affected, git). Source: CNA: Linux
- Linux / Linux: 5.7 (affected); ≥ 0; < 5.7 (unaffected, semver); ≥ 5.10.258; ≤ 5.10.* (unaffected, semver); ≥ 5.15.209; ≤ 5.15.* (unaffected, semver); ≥ 6.1.175; ≤ 6.1.* (unaffected, semver); ≥ 6.6.141; ≤ 6.6.* (unaffected, semver); ≥ 6.12.91; ≤ 6.12.* (unaffected, semver); ≥ 6.18.33; ≤ 6.18.* (unaffected, semver); ≥ 7.0.10; ≤ 7.0.* (unaffected, semver); ≥ 7.1; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.13% as of 2026-11-06; percentile 2.40%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/31e010a106ff6cd8ccac4bfee547fd3fa1015574 (CNA: Linux)

- https://git.kernel.org/stable/c/55193df8d6d33318435f19572bf5ea47a22eee28 (CNA: Linux)

- https://git.kernel.org/stable/c/51eef9c072aa3405a6823a96ae666d38a3b48750 (CNA: Linux)

- https://git.kernel.org/stable/c/a0f4e4e8e0f5e24ddd83e3d1221732621cf34636 (CNA: Linux)

- https://git.kernel.org/stable/c/35a115a204be08f97450b0389413e218268ef4a2 (CNA: Linux)

- https://git.kernel.org/stable/c/74a02921c48fcd35a7881956c9e5c52b86595f5d (CNA: Linux)

- https://git.kernel.org/stable/c/638905520fc4fae6a80991563f264131545ba3df (CNA: Linux)

- https://git.kernel.org/stable/c/aa6c6d9ee064aabfede4402fd1283424e649ca19 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-45846; retrieved 2026-11-06; source updated 2026-11-06

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-45846; retrieved 2026-11-06; source updated Not reported

Revision: 2447d9a5de8324c7a2e8e59e852e5a32adc0e0834ea32e97dff70f7ce4d2481e

Canonical: https://y2.dev/cve/CVE-2026-45846

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.