CVE Database›Document archive›CVE-2023-52999

CVE-2023-52999

kernel: net: fix UaF in netns ops registration error path

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · March 27, 2025

Updated · October 30, 2026

Description

A use-after-free vulnerability was found in the Linux kernel in the ops_init() function, where improper error handling can result in an out-of-bounds error. This issue occurs if the function net_assign_generic() fails and the error-handling code attempts to clean up a pointer that was never properly initialized.

Statement

This vulnerability is rated as having a Moderate impact for Red Hat Enterprise Linux because exploitation requires a local attacker to trigger an error condition during network namespace operations registration. Although an out-of-bounds write could result in kernel memory corruption or a system crash, inducing the requisite allocation failure demands complex conditions and rare resource exhaustion. As a result, deterministic exploitation by an unprivileged local user is significantly restricted.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE not specified