Bug 2347966 (CVE-2022-49634) - CVE-2022-49634 kernel: sysctl: Fix data-races in proc_dou8vec_minmax().
Summary: CVE-2022-49634 kernel: sysctl: Fix data-races in proc_dou8vec_minmax().
Keywords:
Status: NEW
Alias: CVE-2022-49634
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:12 UTC by OSIDB Bzimport
Modified: 2025-04-03 17:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:12:56 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 12:21:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49634-4a89@gregkh/T

Comment 5 Avinash Hanwate 2025-02-26 16:47:33 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49634-4a89@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.