Linux
ovpn: ensure socket is owned by ovpn before deref sk_user_data
In the Linux kernel, the following vulnerability has been resolved: ovpn: ensure socket is owned by ovpn before deref sk_user_data Some subsystems, like BPF SOCKMAP, set sk_user_data without actually setting the encap_type. For this reason, we must make sure that the type is the one ovpn expects before dereferencing sk_user_data. Failing to do so may lead to out-of-bounds reads.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 61fb3cca40ff938671474f4a16adb908c19032d7
- >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 43a31142e1d22b3cf5490bd94a94db7196901734
- >= f6226ae7a0cd47aaa9175aca6a1e19600f884cbf, < 59aed1eb60d70678a53acccb0cb337a26ce6680e
Fixed in 61fb3cca40ff938671474f4a16adb908c19032d7, 43a31142e1d22b3cf5490bd94a94db7196901734, 59aed1eb60d70678a53acccb0cb337a26ce6680e
- 6.16
Fixed in 0, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to 61fb3cca40ff938671474f4a16adb908c19032d7 or 43a31142e1d22b3cf5490bd94a94db7196901734 or 59aed1eb60d70678a53acccb0cb337a26ce6680e or later.
Upgrade Linux to 0 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.