PT-2024-8856 · Linux+8 · Linux Kernel+8

Published

2024-04-09

·

Updated

2025-09-29

·

CVE-2024-35969

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.9.0-rc2.main-00208-g49563be82afa #14
Description: The vulnerability is related to a race condition between the ipv6 get ifaddr and ipv6 del addr functions in the Linux kernel. This can lead to a use-after-free error, allowing an attacker to potentially elevate privileges in the system. The issue arises when ipv6 get ifaddr walks the inet6 addr lst under the RCU lock, and hlist for each entry rcu can return an item that has been removed from the list. If ipv6 del addr is called in parallel, it can remove the entry from the list and drop all references, causing the reference count to drop to zero and kfree rcu to be scheduled.
The vulnerable functions are (ipv6 get ifaddr) and (ipv6 del addr). The vulnerable parameters are ifp->addr lst and in6 ifa hold.
Recommendations: To resolve this issue, update the Linux kernel to a version that includes the fix for the race condition between ipv6 get ifaddr and ipv6 del addr.
As a temporary workaround, consider disabling the ipv6 get ifaddr function until a patch is available. However, this may have significant implications for the system's functionality and should be carefully considered before implementation.
Note: The provided information does not specify the exact version that includes the fix, so it is recommended to update to the latest available version of the Linux kernel.

Exploit

Fix

Use After Free

Allocation of Resources Without Limits

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

Weakness Enumeration

Related Identifiers

ALSA-2024:5363
ALSA-2025_16880
BDU:2024-10512
CVE-2024-35969
DLA-3840-1
DLA-3842-1
INFSA-2024_5363
OESA-2024-1838
OESA-2024-1839
OESA-2024-2256
OESA-2024-2258
RHSA-2024:4447
RHSA-2024:4533
RHSA-2024:4554
RHSA-2024:5363
RHSA-2024:6993
RHSA-2024_5363
RLSA-2024:5363
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6893-1
USN-6893-2
USN-6893-3
USN-6896-1
USN-6896-2
USN-6896-3
USN-6896-4
USN-6896-5
USN-6898-1
USN-6898-2
USN-6898-3
USN-6898-4
USN-6917-1
USN-6918-1
USN-6919-1
USN-6927-1
USN-7019-1

Affected Products

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