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

Bjoern Doebel

+1

·

Published

2024-02-20

·

Updated

2025-09-29

·

CVE-2024-26733

CVSS v2.0

6.8

Medium

VectorAV:L/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.1.74
Description: The vulnerability is related to a buffer overflow in the arp req get() function in the Linux kernel. When the ioctl(SIOCGARP) command is issued, the function looks up a neighbor entry and copies the neigh->ha value to the struct arpreq.arp ha.sa data buffer. However, the arp ha buffer is only 14 bytes long, which can lead to a buffer overflow when the dev->addr len is greater than 22. This can cause the arp netmask value to be overwritten, potentially allowing an attacker to gain elevated privileges.
The vulnerability can be exploited by issuing the ioctl(SIOCGARP) command with a specially crafted struct arpreq buffer, which can lead to a buffer overflow and potentially allow an attacker to execute arbitrary code.
Recommendations: To resolve the issue, update the Linux kernel to a version that includes the fix for the vulnerability. Specifically, update to a version that includes the commit b5f0de6df6dc ("net: dev: Convert sa data to flexible array in struct sockaddr") or later.
As a temporary workaround, consider disabling the arp req get() function until a patch is available. However, this may have unintended consequences and should be carefully evaluated before implementation.
Note: The provided information does not include details about the existence of a patch or a fixed version for all affected systems. Therefore, the recommendation to update to a newer version is based on the assumption that such a version exists and is available for the specific system in question.

Exploit

Fix

Memory Corruption

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-08672
CESA-2024_5101
CESA-2024_5102
CVE-2024-26733
DLA-3842-1
DSA-5658-1
DSA-5681-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_9315
OESA-2024-1617
OESA-2024-1618
OESA-2024-1622
OESA-2024-1647
OESA-2024-1648
OESA-2024-1649
OPENSUSE-SU-2024_1489-1
OPENSUSE-SU-2024_1490-1
OPENSUSE-SU-2024_1641-1
OPENSUSE-SU-2024_1642-1
OPENSUSE-SU-2024_1644-1
OPENSUSE-SU-2024_1659-1
OPENSUSE-SU-2024_1663-1
RHSA-2024:4902
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:5255
RHSA-2024:9315
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_9315
RHSA-2025:3215
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
SUSE-SU-2024:1490-1
SUSE-SU-2024:1641-1
SUSE-SU-2024:1642-1
SUSE-SU-2024:1643-1
SUSE-SU-2024:1644-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1647-1
SUSE-SU-2024:1650-1
SUSE-SU-2024:1659-1
SUSE-SU-2024:1663-1
SUSE-SU-2024:1669-1
SUSE-SU-2024:1870-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
USN-6820-1
USN-6820-2
USN-6821-1
USN-6821-2
USN-6821-3
USN-6821-4
USN-6828-1
USN-6831-1
USN-6867-1
USN-6871-1
USN-6892-1
USN-6895-1
USN-6895-2
USN-6895-3
USN-6895-4
USN-6900-1
USN-6919-1
USN-7028-1
USN-7028-2
USN-7039-1

Affected Products

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