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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-03-15T20:14:28.089Z
- Modified: 2026-06-17T04:16:34.420Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before 9348c1f10932f13b299cbc8b1bd5f780751fae49; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before 4bca2034b41c15b62d47a19158bb76235fd4455d; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before 3be863c11cab725add9fef4237ed4e232c3fc3bb; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before f52f4fd67264c70cd0b4ba326962ebe12d9cba94; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before af2806345a37313f01b1c9f15e046745b8ee2daa; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before 6a0e317f61094d377335547e015dd2ff12caf893; from 7c18d2205ea76eef9674e59e1ecae4f332a53e9e before b53558a950a89824938e9811eddfc8efcd94e1bb; 3.3 (not affected: before 3.3; from 4.4.272 up to 4.4.*; from 4.9.272 up to 4.9.*; from 4.14.236 up to 4.14.*; from 4.19.194 up to 4.19.*; from 5.4.125 up to 5.4.*; from 5.10.43 up to 5.10.*; from 5.12.10 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 3.3 before 4.4.272; from 4.5 before 4.9.272; from 4.10 before 4.14.236; from 4.15 before 4.19.194; from 4.20 before 5.4.125; from 5.5 before 5.10.43; from 5.11 before 5.12.10; 5.13

## References

- <https://git.kernel.org/stable/c/b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8> (patch)
- <https://git.kernel.org/stable/c/9348c1f10932f13b299cbc8b1bd5f780751fae49> (patch)
- <https://git.kernel.org/stable/c/4bca2034b41c15b62d47a19158bb76235fd4455d> (patch)
- <https://git.kernel.org/stable/c/3be863c11cab725add9fef4237ed4e232c3fc3bb> (patch)
- <https://git.kernel.org/stable/c/f52f4fd67264c70cd0b4ba326962ebe12d9cba94> (patch)
- <https://git.kernel.org/stable/c/af2806345a37313f01b1c9f15e046745b8ee2daa> (patch)
- <https://git.kernel.org/stable/c/6a0e317f61094d377335547e015dd2ff12caf893> (patch)
- <https://git.kernel.org/stable/c/b53558a950a89824938e9811eddfc8efcd94e1bb> (patch)

## Sources

- CVE List: [CVE-2021-47122](https://www.cve.org/CVERecord?id=CVE-2021-47122), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47122](https://nvd.nist.gov/vuln/detail/CVE-2021-47122), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47122 · Whole record: https://cve.day/CVE-2021-47122.json · Rebuilt by cve.day 2026-11-25T22:58:08.672Z
