What’s Vulnerable › Vulnerabilities
CVE-2021-47121: net: caif: fix memory leak in cfusbl_device_notify
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-15 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: net: caif: fix memory leak in cfusbl_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 products
- 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 — fixed in 4.14.236, 4.19.194, 4.4.272, 4.9.272, 5.10.43, 5.12.10
How to fix
Upgrade to a fixed version: Linux kernel 4.14.236, 4.19.194, 4.4.272, 4.9.272. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/46403c1f80b0d3f937ff9c4f5edc63bb64bc5051
- https://git.kernel.org/stable/c/4d94f530cd24c85aede6e72b8923f371b45d6886
- https://git.kernel.org/stable/c/7f5d86669fa4d485523ddb1d212e0a2d90bd62bb
- https://git.kernel.org/stable/c/81afc61cb6e2b553f2c5f992fa79e0ae73857141
- https://git.kernel.org/stable/c/9ea0ab48e755d8f29fe89eb235fb86176fdb597f
- https://git.kernel.org/stable/c/cc302e30a504e6b60a9ac8df7988646f46cd0294
- https://git.kernel.org/stable/c/dde8686985ec24d6b00487080a906609bd613ea1
- https://git.kernel.org/stable/c/e8b37f5009ea7095529790f022859711e6939c76
- https://git.kernel.org/stable/c/46403c1f80b0d3f937ff9c4f5edc63bb64bc5051
- https://git.kernel.org/stable/c/4d94f530cd24c85aede6e72b8923f371b45d6886
- https://git.kernel.org/stable/c/7f5d86669fa4d485523ddb1d212e0a2d90bd62bb
- https://git.kernel.org/stable/c/81afc61cb6e2b553f2c5f992fa79e0ae73857141
Get alerted when CVE-2021-47121 or the next vulnerability affects your stack