CVE-2026-64044·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ovpn: respect peer refcount in CMD_NEW_PEER error path ovpn_nl_peer_new_doit()'s error path calls ovpn_peer_release() directly rather than ovpn_peer_put(), bypassing the kref. The accompanying comment ("peer was not yet hashed, thus it is not used in any context") holds for UDP but not for TCP. For UDP, the ovpn_socket union uses the .ovpn arm and never points back at a peer; UDP encap_recv looks up peers via the not-yet-populated hashtables, so the new peer is unreachable until ovpn_peer_add() publishes it. For TCP, ovpn_socket_new() sets ovpn_sock->peer and ovpn_tcp_socket_attach() publishes ovpn_sock via rcu_assign_sk_user_data(). From that moment until ovpn_socket_release() detaches in the error path, the TCP fd is fully wired: userspace recvmsg / sendmsg / close / poll on the fd, as well as the strparser-driven ovpn_tcp_rcv() path, can reach the peer through sk_user_data -> ovpn_sock->peer and bump its refcount via ovpn_peer_hold(). ovpn_tcp_socket_wait_finish() (called inside ovpn_socket_release()) drains strparser and the tx work, but does not synchronize with userspace syscall callers that already hold a peer reference. If ovpn_nl_peer_modify() or ovpn_peer_add() returns an error while such a caller is in flight - notably an ovpn_tcp_recvmsg() blocked in __skb_recv_datagram() on peer->tcp.user_queue - the direct ovpn_peer_release() destroys the peer while the caller still holds the reference, and the eventual ovpn_peer_put() from that caller operates on freed memory. Replace the direct destructor call with ovpn_peer_put() so the kref correctly defers destruction until the last reference is dropped. In the common case where no concurrent user is present, behaviour is unchanged: the kref hits zero immediately and ovpn_peer_release_kref() runs the same destructor. With this conversion ovpn_peer_release() has no callers outside peer.c - ovpn_peer_release_kref() in the same translation unit is the only remaining user - so make it static and drop its declaration from peer.h.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 8% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64044 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.18%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.11
Fixed in: 7.0.11
How to fix this CVE
Update your Linux kernel to version 7.0.11 or later to resolve a reference counting vulnerability in the OpenVPN kernel module's peer management. This flaw affects TCP-based OpenVPN connections where improper error handling could lead to memory corruption. Reboot your system after applying the kernel update to ensure the patched version is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify if OpenVPN kernel module is loaded: lsmod | grep ovpn
- Check kernel version is between 6.19 and 7.0.10 (vulnerable range): cat /proc/version
- After patching, confirm kernel updated to 7.0.11+: uname -r and verify build date is after fix release
- Verify OpenVPN TCP connections are functional: ss -tlnp | grep ovpn
FAQ
What is CVE-2026-64044?
This vulnerability is a reference counting flaw in the Linux kernel's OpenVPN module where error handling in peer creation bypasses proper memory management, allowing freed memory to be accessed by concurrent TCP operations.
Is CVE-2026-64044 being actively exploited?
No, this vulnerability is not currently listed in the CISA KEV catalog and has no known public exploits available.
What versions of Kernel are affected by CVE-2026-64044?
Linux kernel versions 6.19 through 7.0.10 are vulnerable; version 7.0.11 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64044?
Run 'uname -r' and check if your kernel version falls between 6.19 and 7.0.10. If it does and the ovpn module is loaded (lsmod | grep ovpn), your system requires patching.
Does this vulnerability affect UDP-based OpenVPN connections?
No, the vulnerability is specific to TCP-based OpenVPN connections where the ovpn_sock->peer reference can be held by userspace syscall callers during error conditions.
Does Defensia detect CVE-2026-64044?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is detected on monitored servers, CVE-2026-64044 will appear in your dashboard with remediation guidance.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64044. Free for 1 server.
Get started free