Bug 2347954 (CVE-2022-49641) - CVE-2022-49641 kernel: sysctl: Fix data races in proc_douintvec().
Summary: CVE-2022-49641 kernel: sysctl: Fix data races in proc_douintvec().
Keywords:
Status: NEW
Alias: CVE-2022-49641
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:11 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:32 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 14:03:58 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022618-CVE-2022-49641-00e7@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 18:23:29 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022618-CVE-2022-49641-00e7@gregkh/T


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