UBUNTU-CVE-2026-90159: Medium severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: bpf: Disallow bpf{g,s}etsockopt() in cgroup UNIX getname hooks bpfsetsockopt() and bpfgetsockopt() call sockownedbyme() for full sockets, so these helpers expect the socket lock to be held. BPFCGROUPUNIXGETPEERNAME and BPFCGROUPUNIXGETSOCKNAME run BPF programs without acquiring the socket lock. A program attached to either hook can therefore trigger the sockownedbyme() warning by calling bpfsetsockopt() or bpfgetsockopt(). Disallow bpfsetsockopt() and bpfgetsockopt() for CGROUPUNIXGETPEERNAME and CGROUPUNIXGETSOCKNAME.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Configuration
Disallow bpf_setsockopt() and bpf_getsockopt() for the BPF_CGROUP_UNIX_GETPEERNAME and BPF_CGROUP_UNIX_GETSOCKNAME hooks.
Linux kernel BPF bpf_setsockopt() and bpf_getsockopt() availability in BPF_CGROUP_UNIX_GETPEERNAME and BPF_CGROUP_UNIX_GETSOCKNAME hooks = disallowed