# CVE-2022-49640: sysctl: Fix data races in proc_douintvec_minmax().

- Severity: Medium 4.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-02-26T02:23:48.206Z
- Modified: 2026-06-17T05:18:43.150Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 before e3a2144b3b6bf9ecafd91087c8b8b48171ec19df; from 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 before 40e0477a7371d101c55b69d9c32a7a1ed82ab5ea; from 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 before b60eddf98b9716651069dfda296c91311a7a6293; from 61d9b56a89208d8cccd0b4cfec7e6959717e16e3 before 2d3b559df3ed39258737789aae2ae7973d205bc1; 4.13 (not affected: before 4.13; from 5.10.132 up to 5.10.*; from 5.15.56 up to 5.15.*; from 5.18.13 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.13 before 5.10.132; from 5.11 before 5.15.56; from 5.16 before 5.18.13; 5.19

## Every score

- CISA-ADP: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e3a2144b3b6bf9ecafd91087c8b8b48171ec19df> (patch)
- <https://git.kernel.org/stable/c/40e0477a7371d101c55b69d9c32a7a1ed82ab5ea> (patch)
- <https://git.kernel.org/stable/c/b60eddf98b9716651069dfda296c91311a7a6293> (patch)
- <https://git.kernel.org/stable/c/2d3b559df3ed39258737789aae2ae7973d205bc1> (patch)

## Sources

- CVE List: [CVE-2022-49640](https://www.cve.org/CVERecord?id=CVE-2022-49640), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49640](https://nvd.nist.gov/vuln/detail/CVE-2022-49640), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49640 · Whole record: https://cve.day/CVE-2022-49640.json · Rebuilt by cve.day 2026-11-25T22:58:20.774Z
