ovpn: ensure socket is owned by ovpn before deref sk_user_data
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.457.1.97.2In 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.
From the CVE record · Linux
The Linux kernel's ovpn component may dereference socket data belonging to another subsystem without checking the socket type, potentially causing an out-of-bounds read. The input does not specify how an attacker could trigger this issue or whether access or user interaction is required.
Engineers running Linux kernels with the ovpn component should check their versions; affected versions were not provided.