Vulnerability · Published Mar 15, 2024 · Assigned by Linux

CVE-2021-47122net: caif: fix memory leak in caif_device_notify

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.2%top 86.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: net: caif: fix memory leak in caif_device_notify In case of caif_enroll_dev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.10.46-1DEBIAN-CVE-2021-47122
Debian:13linux5.10.46-1DEBIAN-CVE-2021-47122
Debian:14linux5.10.46-1DEBIAN-CVE-2021-47122
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-47122
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-47122
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-47122

Affected products (as reported)

VendorProductVersions
Linux Linux 7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before b042e2b2039565eb8f0eb51c14fbe1ef463c8cd87c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 9348c1f10932f13b299cbc8b1bd5f780751fae497c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 4bca2034b41c15b62d47a19158bb76235fd4455d7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 3be863c11cab725add9fef4237ed4e232c3fc3bb7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before f52f4fd67264c70cd0b4ba326962ebe12d9cba947c18d2205ea76eef9674e59e1ecae4f332a53e9e – before af2806345a37313f01b1c9f15e046745b8ee2daa7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 6a0e317f61094d377335547e015dd2ff12caf8937c18d2205ea76eef9674e59e1ecae4f332a53e9e – before b53558a950a89824938e9811eddfc8efcd94e1bb
Linux Linux 3.3

References