Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-68342

UNSCOREDEPSS 6%

ovpn: avoid putting unrelated P2P peer on socket release

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < c5bf6b39be235ef578af4d39872f0c68cda3b937; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 016a50379d17b886d12a4efa5211a418e035fe70; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < b52c5103f64ee825996ca1ab8df7283cde8c5f86
  • Anyone running Linux 6.16

Vulnerability facts

Affected
Linux >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < c5bf6b39be235ef578af4d39872f0c68cda3b937; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 016a50379d17b886d12a4efa5211a418e035fe70; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < b52c5103f64ee825996ca1ab8df7283cde8c5f86; Linux 6.16
Fixed in
Linux 016a50379d17b886d12a4efa5211a418e035fe70
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ovpn: avoid putting unrelated P2P peer on socket release ovpn_peer_release_p2p() is called when an OVPN UDP socket is being destroyed. It checks the currently published P2P peer and releases it only if that peer still uses the socket being destroyed. A peer replacement can publish a new peer before the old UDP socket is destroyed. When the old socket destruction path runs afterwards, ovpn_peer_release_p2p() observes the new peer through ovpn->peer. Since the new peer uses a different socket, the function takes the socket mismatch branch. That branch still calls ovpn_peer_put(peer). At this point, however, peer is the currently published replacement peer, not the peer associated with the socket being destroyed. Dropping its reference can free it while ovpn->peer still points to it, leading to later use-after-free accesses from the peer and socket cleanup paths. KASAN reports this as a slab-use-after-free on the kmalloc-1k ovpn_peer object. In the reproducer, the object is allocated from ovpn_peer_new() via ovpn_nl_peer_new_doit(), and freed through ovpn_peer_release_rcu() from RCU callback processing. Observed access sites include ovpn_peer_remove(), ovpn_socket_release(), ovpn_nl_peer_del_notify(), and unlock_ovpn(). Fix this by returning from the socket mismatch branch without putting the peer.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < c5bf6b39be235ef578af4d39872f0c68cda3b937; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 016a50379d17b886d12a4efa5211a418e035fe70; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < b52c5103f64ee825996ca1ab8df7283cde8c5f86—cvelist
Linux6.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-68342.md
Affected: Linux >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < c5bf6b39be235ef578af4d39872f0c68cda3b937; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 016a50379d17b886d12a4efa5211a418e035fe70; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < b52c5103f64ee825996ca1ab8df7283cde8c5f86; Linux 6.16
Fixed in: Linux 016a50379d17b886d12a4efa5211a418e035fe70

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.

References

FAQ

Is CVE-2026-68342 being exploited?

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

How serious is CVE-2026-68342?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-68342?

Linux >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < c5bf6b39be235ef578af4d39872f0c68cda3b937; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 016a50379d17b886d12a4efa5211a418e035fe70; >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < b52c5103f64ee825996ca1ab8df7283cde8c5f86; Linux 6.16.

Is there a fix for CVE-2026-68342?

Yes. Fixed in Linux 016a50379d17b886d12a4efa5211a418e035fe70. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors