CVE-2026-45929

Source
https://cve.org/CVERecord?id=CVE-2026-45929
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45929.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45929
Downstream
Published
2026-05-27T12:17:47.891Z
Modified
2026-07-08T08:02:16.964390185Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ovpn: fix possible use-after-free in ovpn_net_xmit
Details

In the Linux kernel, the following vulnerability has been resolved:

ovpn: fix possible use-after-free in ovpnnetxmit

When building the skblist in ovpnnetxmit, skbsharecheck will free the original skb if it is shared. The current implementation continues to use the stale skb pointer for subsequent operations: - peer lookup, - skbdstdrop (even though all segments produced by skbgsosegment will have a dst attached), - ovpnpeerstatsincrement_tx.

Fix this by moving the peer lookup and skbdstdrop before segmentation so that the original skb is still valid when used. Return early if all segments fail skbsharecheck and the list ends up empty. Also switch ovpnpeerstatsincrementtx to use skb_list.next; the next patch fixes the stats logic.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45929.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
08857b5ec5d91d83e69e40a36554a8c7557b7301
Fixed
3e4fbcb4e078915367ba5576cd70d76dbc970f95
Fixed
442915c96a9bff1c7080e2aedabb1c03faa28d81
Fixed
a5ec7baa44ea3a1d6aa0ca31c0ad82edf9affe41

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45929.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45929.json"