Bug 2348334 (CVE-2022-49368)

Summary: CVE-2022-49368 kernel: net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dfreiber, drow, jburrell, rhel-process-autobot, vkumar, watson-tool-maintainers
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 Linux kernel. A local attacker could exploit an out-of-bounds read vulnerability in the `mtk_eth_soc` component. This flaw allows an attacker to read data beyond the intended memory boundary by providing specially crafted input. Successful exploitation could lead to the disclosure of sensitive information and potentially cause the system to become unavailable (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:25:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()

The "fsp->location" variable comes from user via ethtool_get_rxnfc().
Check that it is valid to prevent an out of bounds read.

Comment 1 Avinash Hanwate 2025-02-26 10:04:17 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022645-CVE-2022-49368-d1d6@gregkh/T