CVE-2024-50210
MediumIn the Linux kernel, the following vulnerability has been resolved: posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime() If get_clock_desc() succeeds, it calls fget() for the clockid's fd, and get the clk->rwsem read lock, so the error path should release the lock to make the lock balance and fput the clockid's fd to make the refcount balance and release the fd related resource. However the below commit left the error path locked behind resulting in unbalanced locking. Check timespec64_valid_strict() before get_clock_desc() to fix it, because the "ts" is not changed after that. [[email protected]: fixed commit message typo]
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2024-50210 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.10.228,
5.15.169,
6.1.114,
6.6.58,
6.11.5
and later are affected. No fixed version recorded yet.
References
The following references provide additional information about CVE-2024-50210 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1ba33b327c3f88a7baee598979d73ab5b44d41cc
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5f063bbf1ee6b01611c016b54e050a41506eb794
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6e62807c7fbb3c758d233018caf94dfea9c65dbd
Frequently asked questions
-
What is CVE-2024-50210?
CVE-2024-50210 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 5.10.228 onward . CVE-2024-50210 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50210?
CVE-2024-50210 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-50210?
No patch is currently available for CVE-2024-50210. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-50210 actively exploited?
No — CVE-2024-50210 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →