Use-After-Free Read Vulnerability in sock_getsockopt() in Linux Kernel

Use-After-Free Read Vulnerability in sock_getsockopt() in Linux Kernel

CVE-2021-4203 · MEDIUM Severity

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

A use-after-free read flaw was found in sock_getsockopt() in net/core/sock.c due to SO_PEERCRED and SO_PEERGROUPS race with listen() (and connect()) in the Linux kernel. In this flaw, an attacker with a user privileges may crash the system or leak internal kernel information.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.