CVE Database›Document archive›CVE-2024-45001

CVE-2024-45001

kernel: net: mana: Fix RX buf alloc_size alignment and atomic op panic

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · September 4, 2024

Updated · October 29, 2026

Description

A flaw was found in the MANA driver in the Linux Kernel, where the RX buffer alloc_size is passed into napi_build_skb() to create SKB. skb_shinfo(skb) is located at the end of skb, and its alignment is affected by the alloc_size passed into napi_build_skb(). The size needs to be aligned properly for better performance and atomic operations, otherwise, on ARM64 CPU for certain MTU settings such as 4000, atomic operations may panic on the skb_shinfo(skb)->dataref due to alignment fault. To mitigate, add proper alignment to the alloc_size calculation.

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

CWE-20 · Improper Input Validation