CVE-2023-52702·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix possible memory leak in ovs_meter_cmd_set() old_meter needs to be free after it is detached regardless of whether the new meter is successfully attached.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.1.13
- Published
- 2024-05-21
Affected versions
From: 5.16
Until: 6.1.13
Fixed in: 6.1.13
How to fix this CVE
Update your Linux kernel to version 6.1.13 or later to patch a memory leak in the Open vSwitch meter configuration function. This vulnerability allows local users to exhaust system memory through improper cleanup of meter objects during configuration changes. Apply the kernel update immediately using your distribution's package manager.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — if the version is between 5.16 and 6.1.12 inclusive, you are vulnerable
- Verify Open vSwitch is installed: dpkg -l | grep openvswitch (Debian/Ubuntu) or rpm -qa | grep openvswitch (RHEL/CentOS)
- Monitor system memory usage during ovs-vsctl meter operations: watch -n 1 free -h — look for unexplained memory growth when configuring meters
- Confirm the kernel has been updated to 6.1.13 or later: uname -r should show a version number >= 6.1.13
FAQ
What is CVE-2023-52702?
This vulnerability is a memory leak in the Linux kernel's Open vSwitch module that occurs when setting or updating meter configurations. When a new meter is attached, the old meter object fails to be deallocated in certain error conditions, causing kernel memory to leak.
Is CVE-2023-52702 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and has no public exploit code available. However, local attackers could still leverage it to cause denial-of-service through memory exhaustion.
What versions of Kernel are affected by CVE-2023-52702?
Linux kernel versions 5.16 through 6.1.12 are vulnerable. The fix was released in kernel version 6.1.13.
How do I check if my server is vulnerable to CVE-2023-52702?
Run uname -r to check your kernel version. If it reports a version between 5.16 and 6.1.12, and Open vSwitch is installed (check with dpkg -l | grep openvswitch), your system is vulnerable.
Does Defensia detect CVE-2023-52702?
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-52702 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1563e998a938f095548054ef09e277b562b79536
- https://git.kernel.org/stable/c/2fa28f5c6fcbfc794340684f36d2581b4f2d20b5
- https://git.kernel.org/stable/c/c0f65ee0a3329eb4b94beaef0268633696e2d0c6
- https://git.kernel.org/stable/c/e336a9e08618203a456fb5367f1387b14554f55e
- https://git.kernel.org/stable/c/1563e998a938f095548054ef09e277b562b79536
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52702. Free for 1 server.
Get started free