CVE-2024-50210

Medium

In 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]

Package Linux Kernel
Published 2024-11-08
Last modified 2026-05-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-667

CVE-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. Fixed in 5.10.229, 5.15.170, 6.1.115, 6.6.59, 6.11.6 and their respective stable series.

Affected from
≥ 5.10.228 ≥ 5.15.169 ≥ 6.1.114 ≥ 6.6.58 ≥ 6.11.5
Fixed in
✓ 5.10.229 5.10.x ✓ 5.15.170 5.15.x ✓ 6.1.115 6.1.x ✓ 6.6.59 6.6.x ✓ 6.11.6 6.11.x

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 and has been patched in 5.10.229, 5.15.170, 6.1.115 and others. 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?

    Yes. CVE-2024-50210 has been patched. Fixed versions include 5.10.229, 5.15.170, 6.1.115 and others. If you are running Linux kernel 5.10.228 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • 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.