csirt@kutim:~/threat-intel/cve/CVE-2021-47482

Katalog CVE

CVSS 5.3 · Medium EPSS 0,74%

Kerentanan Missing Standardized Error Handling Mechanism pada linux kernel. Skor CVSS 3.1 5.3 (Medium) menurut CISA ADP.

Deskripsi (NVD)

In the Linux kernel, the following vulnerability has been resolved: net: batman-adv: fix error handling Syzbot reported ODEBUG warning in batadv_nc_mesh_free(). The problem was in wrong error handling in batadv_mesh_init(). Before this patch batadv_mesh_init() was calling batadv_mesh_free() in case of any batadv_*_init() calls failure. This approach may work well, when there is some kind of indicator, which can tell which parts of batadv are initialized; but there isn't any. All written above lead to cleaning up uninitialized fields. Even if we hide ODEBUG warning by initializing bat_priv->nc.work, syzbot was able to hit GPF in batadv_nc_purge_paths(), because hash pointer in still NULL. [1] To fix these bugs we can unwind batadv_*_init() calls one by one. It is good approach for 2 reasons: 1) It fixes bugs on error handling path 2) It improves the performance, since we won't call unneeded batadv_*_free() functions. So, this patch makes all batadv_*_init() clean up all allocated memory before returning with an error to no call correspoing batadv_*_free() and open-codes batadv_mesh_free() with proper order to avoid touching uninitialized fields.

Rincian

Terbit di NVD
22 Mei 2024
Terakhir diubah
17 Juni 2026
Status NVD
Analyzed
CVSS 3.1
5.3 (Medium), sumber CISA ADP
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-544: Missing Standardized Error Handling Mechanism
EPSS (30 hari)
0,74% peluang dieksploitasi; lebih tinggi dari 53,3% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
linux linux kernel Versi 2.6.38 hingga sebelum 4.4.293
linux linux kernel Versi 4.5 hingga sebelum 4.9.289
linux linux kernel Versi 4.10 hingga sebelum 4.14.254
linux linux kernel Versi 4.15 hingga sebelum 4.19.215
linux linux kernel Versi 4.20 hingga sebelum 5.4.157
linux linux kernel Versi 5.5 hingga sebelum 5.10.77
linux linux kernel Versi 5.11 hingga sebelum 5.14.16
linux linux kernel Versi 5.15 rc1
linux linux kernel Versi 5.15 rc2
linux linux kernel Versi 5.15 rc3
linux linux kernel Versi 5.15 rc4
linux linux kernel Versi 5.15 rc5
linux linux kernel Versi 5.15 rc6
linux linux kernel Versi 5.15 rc7

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:10 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.