CVE-2023-52841·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.6.2
- Published
- 2024-05-21
Affected versions
From: 6.6
Until: 6.6.2
Fixed in: 6.6.2
How to fix this CVE
Update your Linux kernel to version 6.6.2 or later to patch a memory management vulnerability in the vidtv media driver. The issue stems from insufficient error handling in string duplication operations that could trigger kernel crashes. Systems running kernel versions 6.6 through 6.6.1 should prioritize this update to maintain system stability and availability.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (if output shows 6.6.0 or 6.6.1, system is vulnerable)
- Verify if vidtv driver is loaded: lsmod | grep vidtv (presence indicates potential exposure)
- Check kernel logs for memory allocation errors: journalctl -k | grep -i 'null pointer\|vidtv\|mux'
- After patching, confirm update with: uname -r (should show 6.6.2 or higher)
FAQ
What is CVE-2023-52841?
A kernel memory management flaw in the vidtv media multiplexer driver where insufficient validation of memory allocation operations could lead to null pointer dereference and kernel crashes when the driver fails to allocate memory for string operations.
Is CVE-2023-52841 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2023-52841?
Linux kernel versions 6.6.0 through 6.6.1 are affected. The vulnerability is resolved in version 6.6.2 and later.
How do I check if my server is vulnerable to CVE-2023-52841?
Run 'uname -r' to display your kernel version; if it shows 6.6.0 or 6.6.1, your system is vulnerable. Additionally, check if vidtv is present with 'lsmod | grep vidtv'.
Does Defensia detect CVE-2023-52841?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2023-52841 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1fd6eb12642e0c32692924ff359c07de4b781d78
- https://git.kernel.org/stable/c/64863ba8e6b7651d994c6e6d506cc8aa2ac45edb
- https://git.kernel.org/stable/c/980be4c3b0d51c0f873fd750117774561c66cf68
- https://git.kernel.org/stable/c/a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4
- https://git.kernel.org/stable/c/aae7598aff291d4d140be1355aa20930af948785
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52841. Free for 1 server.
Get started free