# CVE-2022-49641: sysctl: Fix data races in proc_douintvec().

- 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-01)
- Published: 2025-02-26T02:23:48.675Z
- Modified: 2026-06-17T05:18:43.360Z
- 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().

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e7d316a02f683864a12389f8808570e37fb90aa3 before d5d54714e329f646bd7af4994fc427d88ee68936; from e7d316a02f683864a12389f8808570e37fb90aa3 before d335db59f7fb3353f56e52371f1ee796ae9c8f09; from e7d316a02f683864a12389f8808570e37fb90aa3 before 630c76850d554d7140232e71b5d1663e88cffb54; from e7d316a02f683864a12389f8808570e37fb90aa3 before 4762b532ec9539755aab61445d5da6e1926ccb99; 70cd763eb1574cac07138be91f474a661e02d694; f4cea51e9a3d536e2ca2b74a958f7c0b4ea733c3; from 4.4.24 before 4.5; from 4.7.7 before 4.8; 4.8 (not affected: before 4.8; 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.4.24 before 4.5; from 4.7.7 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/d5d54714e329f646bd7af4994fc427d88ee68936> (patch)
- <https://git.kernel.org/stable/c/d335db59f7fb3353f56e52371f1ee796ae9c8f09> (patch)
- <https://git.kernel.org/stable/c/630c76850d554d7140232e71b5d1663e88cffb54> (patch)
- <https://git.kernel.org/stable/c/4762b532ec9539755aab61445d5da6e1926ccb99> (patch)

## Sources

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

---

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