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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.10.46-1 | DEBIAN-CVE-2021-47122 |
| Debian:13 | linux | 5.10.46-1 | DEBIAN-CVE-2021-47122 |
| Debian:14 | linux | 5.10.46-1 | DEBIAN-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47122 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47122 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before b042e2b2039565eb8f0eb51c14fbe1ef463c8cd87c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 9348c1f10932f13b299cbc8b1bd5f780751fae497c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 4bca2034b41c15b62d47a19158bb76235fd4455d7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 3be863c11cab725add9fef4237ed4e232c3fc3bb7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before f52f4fd67264c70cd0b4ba326962ebe12d9cba947c18d2205ea76eef9674e59e1ecae4f332a53e9e – before af2806345a37313f01b1c9f15e046745b8ee2daa7c18d2205ea76eef9674e59e1ecae4f332a53e9e – before 6a0e317f61094d377335547e015dd2ff12caf8937c18d2205ea76eef9674e59e1ecae4f332a53e9e – before b53558a950a89824938e9811eddfc8efcd94e1bb |
| Linux | Linux | 3.3 |
References
- https://git.kernel.org/stable/c/b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8
- https://git.kernel.org/stable/c/9348c1f10932f13b299cbc8b1bd5f780751fae49
- https://git.kernel.org/stable/c/4bca2034b41c15b62d47a19158bb76235fd4455d
- https://git.kernel.org/stable/c/3be863c11cab725add9fef4237ed4e232c3fc3bb
- https://git.kernel.org/stable/c/f52f4fd67264c70cd0b4ba326962ebe12d9cba94
- https://git.kernel.org/stable/c/af2806345a37313f01b1c9f15e046745b8ee2daa
- https://git.kernel.org/stable/c/6a0e317f61094d377335547e015dd2ff12caf893
- https://git.kernel.org/stable/c/b53558a950a89824938e9811eddfc8efcd94e1bb