CVE-2022-49640
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2022-49640 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.13
and later are affected. Fixed in
5.10.132,
5.15.56,
5.18.13,
5.19
and their respective stable series.
References
The following references provide additional information about CVE-2022-49640 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2d3b559df3ed39258737789aae2ae7973d205bc1
-
PatchKernel patch commithttps://git.kernel.org/stable/c/40e0477a7371d101c55b69d9c32a7a1ed82ab5ea
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b60eddf98b9716651069dfda296c91311a7a6293
Frequently asked questions
-
What is CVE-2022-49640?
CVE-2022-49640 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 4.13 onward and has been patched in 5.10.132, 5.15.56, 5.18.13 and others. CVE-2022-49640 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49640?
CVE-2022-49640 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49640?
Yes — CVE-2022-49640 has been patched. Fixed versions include 5.10.132, 5.15.56, 5.18.13 and others. If you are running Linux kernel 4.13 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49640 actively exploited?
No — CVE-2022-49640 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →