CVE-2026-45929
published high CVSS 3.1 · 7.8ovpn: fix possible use-after-free in ovpn_net_xmit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux08857b5ec5d91d83e69e40a36554a8c7557b7301 to < 3e4fbcb4e078915367ba5576cd70d76dbc970f95 · 08857b5ec5d91d83e69e40a36554a8c7557b7301 to < 442915c96a9bff1c7080e2aedabb1c03faa28d81 · 08857b5ec5d91d83e69e40a36554a8c7557b7301 to < a5ec7baa44ea3a1d6aa0ca31c0ad82edf9affe41 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ovpn: fix possible use-after-free in ovpn_net_xmit When building the skb_list in ovpn_net_xmit, skb_share_check will free the original skb if it is shared. The current implementation continues to use the stale skb pointer for subsequent operations: - peer lookup, - skb_dst_drop (even though all segments produced by skb_gso_segment will have a dst attached), - ovpn_peer_stats_increment_tx. Fix this by moving the peer lookup and skb_dst_drop before segmentation so that the original skb is still valid when used. Return early if all segments fail skb_share_check and the list ends up empty. Also switch ovpn_peer_stats_increment_tx to use skb_list.next; the next patch fixes the stats logic.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is `ovpn_net_xmit`, the netdevice TX path (ndo_start_xmit), triggered by transmitting a packet out the local ovpn tunnel interface; the triggering precondition (a shared skb) is a local TX-side artifact and cannot be induced by a remote peer, whose data flows through the separate RX path. AC:L - The attacker controls both sides — arranging the skb-sharing reference holder and initiating the transmit — so the use-after-free race is within their control; choosing the higher-severity value where exploitation reliability is uncertain. PR:L - Creating an ovpn device and establishing the shared-skb condition requires CAP_NET_ADMIN/CAP_NET_RAW, which an unprivileged user can obtain inside a user namespace (unshare -Urn), so this is Low rather than High. UI:N - The bug is triggered purely by transmitting packets through the interface; no victim action is required. S:U - The use-after-free is contained within the kernel's own security authority and does not cross into a different security scope such as a VM or IOMMU boundary. C:H - A use-after-free read of the freed skb (protocol, data, len) lets an attacker who controls the reclaimed object contents read sensitive kernel memory. I:H - The use-after-free can be leveraged via heap grooming of the freed skb to corrupt kernel state and achieve write/control-flow primitives. A:H - Dereferencing the freed skb readily causes a kernel oops/panic, a full denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 08857b5ec5d91d83e69e40a36554a8c7557b7301 to < 3e4fbcb4e078915367ba5576cd70d76dbc970f95 (affected · git)08857b5ec5d91d83e69e40a36554a8c7557b7301 to < 442915c96a9bff1c7080e2aedabb1c03faa28d81 (affected · git)08857b5ec5d91d83e69e40a36554a8c7557b7301 to < a5ec7baa44ea3a1d6aa0ca31c0ad82edf9affe41 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
ovpn: fix possible use-after-free in ovpn_net_xmit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 32b5f64818c096704610ce83b70fa1c110257ac352ac470df19c8ba500d101d1
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record