Vulnerability in Linux

CVE-2022-49634

In the Linux kernel, the following vulnerability has been resolved:

sysctl: Fix data-races in proc_dou8vec_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_dou8vec_minmax() to use READ_ONCE() and
WRITE_ONCE() internally to fix data-races on the sysctl side. For now,
proc_dou8vec_minmax() itself is tolerant to a data-race, but we still
need to add annotations on the other subsystem's side.

Vulnerability class: Race Condition

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 8.0th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 389dab6142d742f91010f38de0f1f2f440b97e1b, cb9444130662c6c13022579c861098f212db2562, 5.13
  • Linux Kernel — versions 5.19

Weakness classification (CWE)

References