CVE-2021-47122

net: caif: fix memory leak in caif_device_notify

State
Published
Severity
Not scored
Published
Mar 15, 2024
Updated
May 11, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8Affected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before 9348c1f10932f13b299cbc8b1bd5f780751fae49Affected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before 4bca2034b41c15b62d47a19158bb76235fd4455dAffected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before 3be863c11cab725add9fef4237ed4e232c3fc3bbAffected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before f52f4fd67264c70cd0b4ba326962ebe12d9cba94Affected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before af2806345a37313f01b1c9f15e046745b8ee2daaAffected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before 6a0e317f61094d377335547e015dd2ff12caf893Affected
  • 7c18d2205ea76eef9674e59e1ecae4f332a53e9e to before b53558a950a89824938e9811eddfc8efcd94e1bbAffected
LinuxLinux
  • 3.3Affected
  • before 3.3Not affected
  • 4.4.272 through 4.4.*Not affected
  • 4.9.272 through 4.9.*Not affected
  • 4.14.236 through 4.14.*Not affected
  • 4.19.194 through 4.19.*Not affected
  • 5.4.125 through 5.4.*Not affected
  • 5.10.43 through 5.10.*Not affected
  • 5.12.10 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.