CVE-2024-50210: posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()

Published Nov 8, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

posix-clock: posix-clock: Fix unbalanced locking in pcclocksettime()

If getclockdesc() 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 timespec64validstrict() before getclockdesc() to fix it, because the "ts" is not changed after that.

[pabeni@redhat.com: fixed commit message typo]

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=5.10.228<5.11
Linux Linux kernel=5.15.169
Linux Linux kernel=6.1.114
Linux Linux kernel=6.6.58
Linux Linux kernel=6.11.5
Linux Linux kernel=6.12-rc4
debian/linux<6.1.115-1
6.1.115-1
debian/linux<6.11.6-1
6.11.6-1
debian/linux<6.11.6-1
6.11.6-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1

Event History

Nov 8, 2024
CVE Published
via MITRE·06:08 AM
Data Sourced
via MITRE·06:08 AM
Description
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-50210?

CVE-2024-50210 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-50210?

To remediate CVE-2024-50210, update your Linux kernel to a version that includes the fix.

3

Which Linux kernel versions are affected by CVE-2024-50210?

CVE-2024-50210 affects Linux kernel versions between 5.10.228 and 5.11, as well as specific versions 5.15.169, 6.1.114, 6.6.58, 6.11.5, and 6.12-rc4.

4

How can CVE-2024-50210 impact system security?

CVE-2024-50210 could potentially lead to unbalanced locking issues, which may affect the stability and security of the affected system.

5

Is there a public reference for CVE-2024-50210?

Yes, CVE-2024-50210 has been documented in public repositories related to the Linux kernel security updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203