CVE-2023-52841

Source
https://cve.org/CVERecord?id=CVE-2023-52841
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52841.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52841
Downstream
Related
Published
2024-05-21T15:31:40.529Z
Modified
2026-03-20T12:32:49.445927Z
Summary
media: vidtv: mux: Add check and kfree for kstrdup
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52841.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da
Fixed
64863ba8e6b7651d994c6e6d506cc8aa2ac45edb
Fixed
980be4c3b0d51c0f873fd750117774561c66cf68
Fixed
a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4
Fixed
cb13001411999adb158b39e76d94705eb2da100d
Fixed
aae7598aff291d4d140be1355aa20930af948785
Fixed
1fd6eb12642e0c32692924ff359c07de4b781d78

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52841.json"