Aller au contenu
5.5 Moyenne

CVE-2024-50210 In the Linux kernel, the following vulnerability has been resolved: posix-clock: posix-clock: Fix unbalanced locking…

Description

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]

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.11 6.11.5 → < 6.11.6 6.11.6
Linux 6.6 6.6.58 → < 6.6.59 6.6.59
Linux 6.1 6.1.114 → < 6.1.115 6.1.115
Linux 5.15 5.15.169 → < 5.15.170 5.15.170
Linux 5.10 5.10.228 → < 5.10.229 5.10.229
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1
Les 18286 CVE de Linux →
Suivre cette CVE