CVE-2022-49640

sysctl: Fix data races in proc_douintvec_minmax().

Medium · published February 26, 2025

CVSS v3.1
4.7
EPSS
0%
Percentile
6.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00177 · 6.9th percentile
Published
2025-02-26T02:23Z
EPSS history
Timeline
  • 26 FEB 02:23Z
    sysctl: Fix data races in proc_douintvec_minmax().
    cvelistv5