PT-2024-27210 · Linux+9 · Linux Kernel+9

Published

2024-03-23

·

Updated

2026-05-26

·

CVE-2024-36920

CVSS v2.0

5.7

Medium

VectorAV:L/AC:L/Au:S/C:P/I:P/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a memcpy field-spanning write warning in the Linux kernel's mpi3mr driver. When the "storcli2 show" command is executed for eHBA-9600, the driver prints a warning message indicating a detected field-spanning write of size 128 to a single field "bsg reply buf->reply buf". The cause of the warning is a 128-byte memcpy to a 1-byte size array " u8 replay buf[1]" in the struct mpi3mr bsg in reply buf, which is intended to be a flexible length array, resulting in a false positive warning.
Recommendations To suppress the warning, remove the constant number '1' from the array declaration and clarify that it has flexible length. Also, adjust the memory allocation size to match the change.

Exploit

Fix

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2025-08066
CESA-2024_7000
CESA-2024_7001
CVE-2024-36920
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_9315
MGASA-2024-0263
MGASA-2024-0266
OESA-2024-2296
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4316-1
RHSA-2024:10262
RHSA-2024:10772
RHSA-2024:10773
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024:9315
RHSA-2024_7000
RHSA-2024_7001
RHSA-2024_9315
RHSA-2025:3215
RLSA-2024:7001
SUSE-SU-2024:4314-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-6949-1
USN-6949-2
USN-6952-1
USN-6952-2
USN-6955-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu