# CVE-2022-50358: brcmfmac: return error when getting invalid max_flowrings from dongle

- Severity: Medium 4.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-09-17T14:56:10.688Z
- Modified: 2026-06-17T05:23:19.247Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from 9e37f045d5e7f33450515f237c2f6f6bfee137dd before 3cc9299036bdb647408e11e41de3eb1ff6d428cd; from 9e37f045d5e7f33450515f237c2f6f6bfee137dd before 2e8bb402b060a6c22160de3d72cee057698177c8; from 9e37f045d5e7f33450515f237c2f6f6bfee137dd before 10c4b63d09a5b0ebf1b61af1dae7f25555cf58b6; from 9e37f045d5e7f33450515f237c2f6f6bfee137dd before 87f126b25fa8562196f0f4c0aa46a446026199bf; from 9e37f045d5e7f33450515f237c2f6f6bfee137dd before 200347eb3b2608cc8b54c13dd1d5e03809ba2eb2; from 9e37f045d5e7f33450515f237c2f6f6bfee137dd before 2aca4f3734bd717e04943ddf340d49ab62299a00; 3.17 (not affected: before 3.17; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- CISA-ADP: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3cc9299036bdb647408e11e41de3eb1ff6d428cd> (patch)
- <https://git.kernel.org/stable/c/2e8bb402b060a6c22160de3d72cee057698177c8> (patch)
- <https://git.kernel.org/stable/c/10c4b63d09a5b0ebf1b61af1dae7f25555cf58b6> (patch)
- <https://git.kernel.org/stable/c/87f126b25fa8562196f0f4c0aa46a446026199bf> (patch)
- <https://git.kernel.org/stable/c/200347eb3b2608cc8b54c13dd1d5e03809ba2eb2> (patch)
- <https://git.kernel.org/stable/c/2aca4f3734bd717e04943ddf340d49ab62299a00> (patch)

## Sources

- CVE List: [CVE-2022-50358](https://www.cve.org/CVERecord?id=CVE-2022-50358), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50358](https://nvd.nist.gov/vuln/detail/CVE-2022-50358), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50358 · Whole record: https://cve.day/CVE-2022-50358.json · Rebuilt by cve.day 2026-11-25T22:58:21.179Z
