CVE-2023-52841

media: vidtv: mux: Add check and kfree for kstrdup

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:

media: vidtv: mux: Add check and kfree for kstrdup

Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. Moreover, use kfree() in the later error handling in order to avoid memory leak.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da to before 64863ba8e6b7651d994c6e6d506cc8aa2ac45edbAffected
  • c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da to before 980be4c3b0d51c0f873fd750117774561c66cf68Affected
  • c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da to before a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4Affected
  • c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da to before cb13001411999adb158b39e76d94705eb2da100dAffected
  • c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da to before aae7598aff291d4d140be1355aa20930af948785Affected
  • c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da to before 1fd6eb12642e0c32692924ff359c07de4b781d78Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.201 through 5.10.*Not affected
  • 5.15.139 through 5.15.*Not affected
  • 6.1.63 through 6.1.*Not affected
  • 6.5.12 through 6.5.*Not affected
  • 6.6.2 through 6.6.*Not affected
  • 6.7 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.