# CVE-2021-47122: net: caif: fix memory leak in caif\_device\_notify

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-15 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2021-47122, DEBIAN-CVE-2021-47122
- Record: https://cvemate.com/vulnerability/CVE-2021-47122 · JSON: https://cvemate.com/vulnerability/CVE-2021-47122/json

## Description

```text
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
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.228%, percentile 14.469%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 90)

- debian linux (Debian): \< 5.10.46-1
- ubuntu linux (Ubuntu): \< 3.13.0-205.256 \| \< 4.4.0-267.301 \| \< 4.15.0-154.161 \| \< 5.4.0-81.91
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1142.148 \| \< 4.4.0-1180.195 \| \< 4.15.0-1110.117 \| \< 5.4.0-1055.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1055.58~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2052.54 \| All versions (No fix recorded) \| \< 5.4.0-1069.73+fips2
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1110.117~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1122.135~14.04.1 \| \< 4.15.0-1122.135~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1056.58
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1122.135
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2021-47122>
- <https://git.kernel.org/linus/b53558a950a89824938e9811eddfc8efcd94e1bb>
- <https://www.cve.org/CVERecord?id=CVE-2021-47122>
- <https://ubuntu.com/security/notices/USN-7415-1>
- <https://ubuntu.com/security/notices/USN-7429-1>
- <https://ubuntu.com/security/notices/USN-7429-2>
- <https://security-tracker.debian.org/tracker/CVE-2021-47122>

---

Data as of 2026-12-05T05:08:21.743Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
