Bug 2348158 (CVE-2022-49631)

Summary: CVE-2022-49631 kernel: raw: Fix a data-race around sysctl_raw_l3mdev_accept.
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the RAW-IP module in the Linux kernel. A race condition can occur when reading the sysctl_raw_l3mdev_accept resource due to a missing lock, potentially impacting system stability and resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-02-26 03:19:39 UTC
In the Linux kernel, the following vulnerability has been resolved:

raw: Fix a data-race around sysctl_raw_l3mdev_accept.

While reading sysctl_raw_l3mdev_accept, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.

Comment 1 Avinash Hanwate 2025-02-26 13:25:23 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49631-b546@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 17:37:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49631-b546@gregkh/T