CVE-2022-49640
sysctl: Fix data races in proc_douintvec_minmax().
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.18% · top 93% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.7.
Weakness
Affected products
- affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 – < e3a2144b3b6bf9ecafd91087c8b8b48171ec19df
- affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 – < 40e0477a7371d101c55b69d9c32a7a1ed82ab5ea
- affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 – < b60eddf98b9716651069dfda296c91311a7a6293
- affected 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 – < 2d3b559df3ed39258737789aae2ae7973d205bc1
- affected 4.13
- unaffected < 4.13
- unaffected 5.10.132 – ≤ 5.10.*
- unaffected 5.15.56 – ≤ 5.15.*
- unaffected 5.18.13 – ≤ 5.18.*
- unaffected 5.19 – ≤ *
References (4)
- https://git.kernel.org/stable/c/e3a2144b3b6bf9ecafd91087c8b8b48171ec19df (opens in a new tab)
- https://git.kernel.org/stable/c/40e0477a7371d101c55b69d9c32a7a1ed82ab5ea (opens in a new tab)
- https://git.kernel.org/stable/c/b60eddf98b9716651069dfda296c91311a7a6293 (opens in a new tab)
- https://git.kernel.org/stable/c/2d3b559df3ed39258737789aae2ae7973d205bc1 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49640)Record last updated .