CVE Database›CVE-2022-50358

CVE-2022-50358

kernel: brcmfmac: return error when getting invalid max_flowrings from dongle

Loading…

Severity

Low

Red Hat Product Security

4.2

CVSS 3.1

Review impact separately from score.

Published · September 17, 2025

Updated · June 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

brcmfmac: return error when getting invalid max_flowrings from dongle

When firmware hit trap at initialization, host will read abnormal max_flowrings number from dongle, and it will cause kernel panic when doing iowrite to initialize dongle ring. To detect this error at early stage, we directly return error when getting invalid max_flowrings(>256).

Statement

The patch adds input validation for max_flowrings in the brcmfmac PCIe driver to prevent a kernel panic when a trapped/buggy dongle firmware returns an invalid ring count (>256). This issue requires a malfunctioning or tampered device firmware during initialization and results in availability impact only.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, prevent module brcmfmac from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

CVSS / CWE

CVSS 3.1 · 4.2
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CWE-20 · Improper Input Validation