PT-2024-29136 · Linux+7 · Linux Kernel+7

Published

2024-05-29

·

Updated

2026-03-14

·

CVE-2024-40910

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a refcount imbalance on inbound connections in the ax25 protocol implementation. When releasing a socket, the code calls netdev put() to decrease the refcount on the associated ax.25 device, but the execution path for accepting an incoming connection never calls netdev hold(). This leads to refcount errors and ultimately to kernel crashes. A typical call trace for this situation starts with errors such as "refcount t: decrement hit 0; leaking memory" or "refcount t: underflow; use-after-free." The patch corrects these issues by ensuring that netdev hold() and ax25 dev hold() are called for new connections in ax25 accept(), making the logic consistent with ax25 bind().
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

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

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-13979
ALT-PU-2024-14046
BDU:2025-03028
CVE-2024-40910
DLA-4008-1
DSA-5731-1
OESA-2024-1961
OESA-2024-1962
OESA-2024-1964
OESA-2024-2076
OPENSUSE-SU-2024_3249-1
OPENSUSE-SU-2024_3408-1
OPENSUSE-SU-2024_3587-1
OPENSUSE-SU-2024_3592-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3225-1
SUSE-SU-2024:3227-1
SUSE-SU-2024:3249-1
SUSE-SU-2024:3383-1
SUSE-SU-2024:3408-1
SUSE-SU-2024:3569-1
SUSE-SU-2024:3587-1
SUSE-SU-2024:3592-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7008-1
USN-7029-1
USN-7173-1
USN-7173-2
USN-7173-3
USN-7179-1
USN-7179-2
USN-7179-3
USN-7179-4
USN-7186-1
USN-7186-2
USN-7194-1
USN-7195-1
USN-7195-2
USN-7332-1
USN-7332-2
USN-7332-3
USN-7342-1
USN-7344-1
USN-7344-2
USN-7413-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu