PT-2024-29136

CVE-2024-40910

·

Published

2024-05-29

·

Updated

2026-08-23

Description by

CVSS 3.1
8.8
High
MetricsAV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Exploitability
Exploit
Vendors
Affected products
Related identifiers
ALSA-2025_16880
ALT-PU-2024-13979
ALT-PU-2024-14046
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
Found an issue in the description? Have something to add? Feel free to write us 👾