Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-52986

5.5 · MEDIUM
Published Mar 27, 2025 linux CWE-674 EPSS 0.28% (20th pctl)

Overview

CVE-2023-52986 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 27, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener

A listening socket linked to a sockmap has its sk_prot overridden. It

points to one of the struct proto variants in tcp_bpf_prots. The variant

depends on the socket's family and which sockmap programs are attached.

A child socket cloned from a TCP listener initially inherits their sk_prot.

But before cloning is finished, we restore the child's proto to the

listener's original non-tcp_bpf_prots one. This happens in

tcp_create_openreq_child -> tcp_bpf_clone.

Today, in tcp_bpf_clone we detect if the child's proto should be restored

by checking only for the TCP_BPF_BASE proto variant. This is not

correct. The sk_prot of listening socket linked to a sockmap can point to

to any variant in tcp_bpf_prots.

If the listeners sk_prot happens to be not the TCP_BPF_BASE variant, then

the child socket unintentionally is left if the inherited sk_prot by

tcp_bpf_

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.7, < 5.10.168 Affected

Frequently Asked Questions

What is CVE-2023-52986?

CVE-2023-52986 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 27, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52986?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52986?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52986?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-52986 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.