NULL pointer dereference in Linux
CVE-2023-52841
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 15.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions c2f78f0cb294aa6f009d3a170f4ee8ad199ba5da, 5.10, 0
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/64863ba8e6b7651d994c6e6d506cc8aa2ac45edb (Patch)
- git.kernel.org/stable/c/980be4c3b0d51c0f873fd750117774561c66cf68 (Patch)
- git.kernel.org/stable/c/a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4 (Patch)
- git.kernel.org/stable/c/cb13001411999adb158b39e76d94705eb2da100d (Patch)
- git.kernel.org/stable/c/aae7598aff291d4d140be1355aa20930af948785 (Patch)
- git.kernel.org/stable/c/1fd6eb12642e0c32692924ff359c07de4b781d78 (Patch)