CVE-2021-47330

tty: serial: 8250: serial_cs: Fix a memory leak in error handling path

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

tty: serial: 8250: serial_cs: Fix a memory leak in error handling path

In the probe function, if the final 'serial_config()' fails, 'info' is leaking.

Add a resource handling path to free this memory.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before b5a2799cd62ed30c81b22c23028d9ee374e2138cAffected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before 331f5923fce4f45b8170ccf06c529e8eb28f37bcAffected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before 34f4590f5ec9859ea9136249f528173d150bd584Affected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461Affected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before ee16bed959862a6de2913f71a04cb563d7237b67Affected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before 7a80f71601af015856a0aeb1e3c294037ac3dd32Affected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before c39cf4df19acf0133fa284a8cd83fad42cd13cc2Affected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before b2ef1f5de40342de44fc5355321595f91774dab5Affected
  • 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before fad92b11047a748c996ebd6cfb164a63814eeb2eAffected
LinuxLinux
  • 2.6.17Affected
  • before 2.6.17Not affected
  • 4.4.276 through 4.4.*Not affected
  • 4.9.276 through 4.9.*Not affected
  • 4.14.240 through 4.14.*Not affected
  • 4.19.198 through 4.19.*Not affected
  • 5.4.134 through 5.4.*Not affected
  • 5.10.52 through 5.10.*Not affected
  • 5.12.19 through 5.12.*Not affected
  • 5.13.4 through 5.13.*Not affected
  • 5.14 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.