CVE-2022-49641

sysctl: Fix data races in proc_douintvec().

MEDIUM 4.7

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sysctl: Fix data races in proc_douintvec(). 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() to use READ_ONCE() and WRITE_ONCE() internally to fix data-races on the sysctl side. For now, proc_douintvec() itself is tolerant to a data-race, but we still need to add annotations on the other subsystem's side.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e7d316a02f683864a12389f8808570e37fb90aa3 < d5d54714e329f646bd7af4994fc427d88ee68936 ; affected e7d316a02f683864a12389f8808570e37fb90aa3 < d335db59f7fb3353f56e52371f1ee796ae9c8f09 ; affected e7d316a02f683864a12389f8808570e37fb90aa3 < 630c76850d554d7140232e71b5d1663e88cffb54 ; affected e7d316a02f683864a12389f8808570e37fb90aa3 < 4762b532ec9539755aab61445d5da6e1926ccb99 ; affected 70cd763eb1574cac07138be91f474a661e02d694 ; affected f4cea51e9a3d536e2ca2b74a958f7c0b4ea733c3
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; 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