1. Accueil
  2. Vulnérabilités
  3. CVE-2024-50210

CVE-2024-50210

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

Publiée le 8 nov. 2024 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 24/100

Résumé

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]

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (11 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.10.228 (inclus) à 5.10.229 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.169 (inclus) à 5.15.170 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.114 (inclus) à 6.1.115 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.58 (inclus) à 6.6.59 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.11.5 (inclus) à 6.11.6 (exclu) — CNA (éditeur ou attributeur)
Linux kernel de 5.10.228 (inclus) à 5.11 (exclu) — NVD
Linux kernel 5.15.169 — NVD
Linux kernel 6.1.114 — NVD
Linux kernel 6.6.58 — NVD
Linux kernel 6.11.5 — NVD
Linux kernel 6.12 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-667 · Autre (CWE-667)

Comment sont obtenues et calculées ces données