# CVE-2026-45846: bareudp: fix NULL pointer dereference in bareudp\_fill\_metadata\_dst()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-05-27T09:24:52.122Z
- **Modified:** 2026-11-06T16:18:46.920Z

## Who should check

- Anyone running Linux \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 31e010a106ff6cd8ccac4bfee547fd3fa1015574; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 55193df8d6d33318435f19572bf5ea47a22eee28; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 51eef9c072aa3405a6823a96ae666d38a3b48750; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< a0f4e4e8e0f5e24ddd83e3d1221732621cf34636; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 35a115a204be08f97450b0389413e218268ef4a2; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 74a02921c48fcd35a7881956c9e5c52b86595f5d; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 638905520fc4fae6a80991563f264131545ba3df; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< aa6c6d9ee064aabfede4402fd1283424e649ca19
- Anyone running Linux 5.7

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

## Affected and fixed versions

- Linux: \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 31e010a106ff6cd8ccac4bfee547fd3fa1015574; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 55193df8d6d33318435f19572bf5ea47a22eee28; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 51eef9c072aa3405a6823a96ae666d38a3b48750; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< a0f4e4e8e0f5e24ddd83e3d1221732621cf34636; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 35a115a204be08f97450b0389413e218268ef4a2; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 74a02921c48fcd35a7881956c9e5c52b86595f5d; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 638905520fc4fae6a80991563f264131545ba3df; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< aa6c6d9ee064aabfede4402fd1283424e649ca19 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45846. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45846.md
Affected: Linux >= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, < 31e010a106ff6cd8ccac4bfee547fd3fa1015574; >= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, < 55193df8d6d33318435f19572bf5ea47a22eee28; >= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, < 51eef9c072aa3405a6823a96ae666d38a3b48750; >= 571912c69f0ed731bd1e071…
Fixed in: Linux 31e010a106ff6cd8ccac4bfee547fd3fa1015574, Linux 55193df8d6d33318435f19572bf5ea47a22eee28, Linux 51eef9c072aa3405a6823a96ae666d38a3b48750, Linux 35a115a204be08f97450b0389413e218268ef4a2, Linux 74a02921c48fcd35a7881956c9e5c52b86595f5d, Linux 638905520fc4fae6a80991563f264131545ba3df

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45846 being exploited?

There is no confirmed exploitation: CVE-2026-45846 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45846?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45846?

Linux \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 31e010a106ff6cd8ccac4bfee547fd3fa1015574; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 55193df8d6d33318435f19572bf5ea47a22eee28; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 51eef9c072aa3405a6823a96ae666d38a3b48750; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< a0f4e4e8e0f5e24ddd83e3d1221732621cf34636; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 35a115a204be08f97450b0389413e218268ef4a2; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 74a02921c48fcd35a7881956c9e5c52b86595f5d; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< 638905520fc4fae6a80991563f264131545ba3df; \>= 571912c69f0ed731bd1e071ade9dc7ca4aa52065, \< aa6c6d9ee064aabfede4402fd1283424e649ca19; Linux 5.7.

### Is there a fix for CVE-2026-45846?

Yes. Fixed in Linux 31e010a106ff6cd8ccac4bfee547fd3fa1015574, Linux 55193df8d6d33318435f19572bf5ea47a22eee28, Linux 51eef9c072aa3405a6823a96ae666d38a3b48750, Linux 35a115a204be08f97450b0389413e218268ef4a2, Linux 74a02921c48fcd35a7881956c9e5c52b86595f5d, Linux 638905520fc4fae6a80991563f264131545ba3df. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-45846?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/31e010a106ff6cd8ccac4bfee547fd3fa1015574>
- patch: <https://git.kernel.org/stable/c/55193df8d6d33318435f19572bf5ea47a22eee28>
- patch: <https://git.kernel.org/stable/c/51eef9c072aa3405a6823a96ae666d38a3b48750>
- patch: <https://git.kernel.org/stable/c/a0f4e4e8e0f5e24ddd83e3d1221732621cf34636>
- patch: <https://git.kernel.org/stable/c/35a115a204be08f97450b0389413e218268ef4a2>
- patch: <https://git.kernel.org/stable/c/74a02921c48fcd35a7881956c9e5c52b86595f5d>
- patch: <https://git.kernel.org/stable/c/638905520fc4fae6a80991563f264131545ba3df>
- patch: <https://git.kernel.org/stable/c/aa6c6d9ee064aabfede4402fd1283424e649ca19>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45846>

HTML: <https://flawdb.com/CVE-2026-45846> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45846>
