sysctl: Fix data races in proc_douintvec_minmax(). (Linux Linux)

CVE-2022-49640
MEDIUM 4.7

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sysctl: Fix data races in proc_douintvec_minmax(). A sysctl variable is accessed concurrently, and there is always a chance of data-race. So, all readers and writers need some basic protection to avoid load/store-tearing. This patch changes proc_douintvec_minmax() to use READ_ONCE() and WRITE_ONCE() internally to fix data-races on the sysctl side. For now, proc_douintvec_minmax() itself is tolerant to a data-race, but we still need to add annotations on the other subsystem's side.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 < e3a2144b3b6bf9ecafd91087c8b8b48171ec19df ; affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 < 40e0477a7371d101c55b69d9c32a7a1ed82ab5ea ; affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 < b60eddf98b9716651069dfda296c91311a7a6293 ; affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 < 2d3b559df3ed39258737789aae2ae7973d205bc1
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 5.10.132 ≤ 5.10.* ; unaffected 5.15.56 ≤ 5.15.* ; unaffected 5.18.13 ≤ 5.18.* ; unaffected 5.19 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD