CVE-2024-50210 json
posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
published 2024-11-08 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-44712
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
[pabeni@redhat.com: fixed commit message typo]
Patch / fix
- Linux Linux 5.10.229, 5.15.170, 6.1.115, 6.6.59, 6.11.6
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
- linux Debian 12 6.1.115-1
- linux Debian 14, Debian 13 6.11.6-1
debian advisories DEBIAN-CVE-2024-50210
- linux Ubuntu 24.04 LTS 6.8.0-58.60
- linux-aws Ubuntu 24.04 LTS 6.8.0-1027.29
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1028.30
- linux-gke Ubuntu 24.04 LTS 6.8.0-1023.27
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1024.24
- linux-azure Ubuntu 24.04 LTS 6.8.0-1027.32
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1010.12
- linux-riscv Ubuntu 24.04 LTS 6.8.0-58.60.1
ubuntu advisories UBUNTU-CVE-2024-50210
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-default-base Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1.21.4
- kernel-livepatch-MICRO-6-0_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.2
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
- kernel-livepatch-MICRO-6-0-RT_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.1
suse advisories SUSE-SU-2025:20164-1SUSE-SU-2025:20247-1SUSE-SU-2025:20163-1SUSE-SU-2025:20246-1SUSE-SU-2025:0577-1SUSE-SU-2025:0577-2
- kernel-source-longterm openSUSE Tumbleweed 6.12.11-1.1
- kernel-source openSUSE Tumbleweed 6.11.8-1.1
opensuse advisories openSUSE-SU-2025:14705-1openSUSE-SU-2024:14500-1
- git.kernel.org/stable/c/d005400262ddaf1ca1666bbcd1acf42fe81d57ce commit
- git.kernel.org/stable/c/a8219446b95a859488feaade674d13f9efacfa32 commit
- git.kernel.org/stable/c/c7fcfdba35abc9f39b83080c2bce398dad13a943 commit
- git.kernel.org/stable/c/e56e0ec1b79f5a6272c6e78b36e9d593aa0449af commit
- git.kernel.org/stable/c/5f063bbf1ee6b01611c016b54e050a41506eb794 commit
- git.kernel.org/stable/c/1ba33b327c3f88a7baee598979d73ab5b44d41cc commit
- git.kernel.org/stable/c/b27330128eca25179637c1816d5a72d6cc408c66 commit
- git.kernel.org/stable/c/6e62807c7fbb3c758d233018caf94dfea9c65dbd commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-50210 updated cvss 5.5
kernel: posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-102-01 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Weakness
-
- CWE-667 Improper Locking
- Technology feeds
References
-
git.kernel.org
/stable/c/d005400262ddaf1ca1666bbcd1acf42fe81d57ce
patch
-
git.kernel.org
/stable/c/a8219446b95a859488feaade674d13f9efacfa32
patch
-
git.kernel.org
/stable/c/c7fcfdba35abc9f39b83080c2bce398dad13a943
patch
-
git.kernel.org
/stable/c/e56e0ec1b79f5a6272c6e78b36e9d593aa0449af
patch
-
git.kernel.org
/stable/c/5f063bbf1ee6b01611c016b54e050a41506eb794
patch
-
git.kernel.org
/stable/c/1ba33b327c3f88a7baee598979d73ab5b44d41cc
patch
-
git.kernel.org
/stable/c/b27330128eca25179637c1816d5a72d6cc408c66
patch
-
git.kernel.org
/stable/c/6e62807c7fbb3c758d233018caf94dfea9c65dbd
patch
- lists.debian.org /debian-lts-announce/2025/03/msg00002.html
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
- cert-portal.siemens.com /productcert/html/ssa-265688.html
Sources
- CVE List CVE-2024-50210
- NVD CVE-2024-50210
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.