PT-2024-8956 · Linux+3 · Linux Kernel+3

·

CVE-2021-47482

·

Published

2024-05-22

·

Updated

2024-11-26

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/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 incorrect error handling in the batman-adv component of the Linux kernel. Specifically, the problem lies in the batadv mesh init() function, which calls batadv mesh free() in case of failure of any batadv * init() calls. This approach can lead to cleaning up uninitialized fields, causing issues. Even initializing bat priv->nc.work does not prevent a General Protection Fault (GPF) in batadv nc purge paths() due to a null hash pointer. The patch resolves this by unwinding batadv * init() calls one by one, improving error handling and performance by avoiding unnecessary calls to batadv * free() functions.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

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

Weakness Enumeration

Related Identifiers

AZL-43306
BDU:2024-10637
CVE-2021-47482
OESA-2024-1736
OPENSUSE-SU-2024_2185-1
OPENSUSE-SU-2024_2189-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2183-1
SUSE-SU-2024:2185-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse