CVE Database›Document archive›CVE-2021-47541

CVE-2021-47541

kernel: net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()

Loading…

Severity

Low

Red Hat Product Security

4.4

CVSS 3.1

Review impact separately from score.

Published · May 24, 2024

Updated · October 21, 2026

Description

A flaw was found in the Linux kernel's Mellanox mlx4 network driver. A local privileged user could exploit this vulnerability to cause a Denial of Service (DoS) or kernel memory corruption by triggering a use-after-free condition. During network interface resource allocation, the driver fails to verify whether copying private driver data succeeded before continuing execution, leading to the dereference of already freed memory if an error occurs.

Statement

Fixed in 8.6. Actual before 8.6. Already fixed for all versions of the Red Hat Enterprise Linux 9.

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 · 4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE-416 · Use After Free