Skip to content
Heist/ feed
Back to feed
MediumFix available

brcmfmac: return error when getting invalid max_flowrings from dongle

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.163, 5.15.86, 5.4.229, 6.0.16, 6.1.2
CVEs
CVE-2022-50358
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:58 UTC · Revision 1

Source evidence

brcmfmac: return error when getting invalid max_flowrings from dongle

core-osv · Original source

Published 17 Sept 2025, 14:56 UTC

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

osv:CVE-2022-50358

Kernel

Fixed versions: 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "d6178f73ccce9f3ad2acf337deeb158fca2d65598b85e42c2713fda8b880eec4",
  "url": "https://osv.dev/vulnerability/CVE-2022-50358",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "brcmfmac: return error when getting invalid max_flowrings from dongle",
    "summary": "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).",
    "evidence": "osv:CVE-2022-50358",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.229",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-50358",
      "aliases": [
        "CVE-2022-50358"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9e37f045d5e7f33450515f237c2f6f6bfee137dd"
                },
                {
                  "fixed": "3cc9299036bdb647408e11e41de3eb1ff6d428cd"
                },
                {
                  "fixed": "2e8bb402b060a6c22160de3d72cee057698177c8"
                },
                {
                  "fixed": "10c4b63d09a5b0ebf1b61af1dae7f25555cf58b6"
                },
                {
                  "fixed": "87f126b25fa8562196f0f4c0aa46a446026199bf"
                },
                {
                  "fixed": "200347eb3b2608cc8b54c13dd1d5e03809ba2eb2"
                },
                {
                  "fixed": "2aca4f3734bd717e04943ddf340d49ab62299a00"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50358.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.17.0"
                },
                {
                  "fixed": "5.4.229"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50358.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.527389619Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/10c4b63d09a5b0ebf1b61af1dae7f25555cf58b6",
        "https://git.kernel.org/stable/c/200347eb3b2608cc8b54c13dd1d5e03809ba2eb2",
        "https://git.kernel.org/stable/c/2aca4f3734bd717e04943ddf340d49ab62299a00",
        "https://git.kernel.org/stable/c/2e8bb402b060a6c22160de3d72cee057698177c8",
        "https://git.kernel.org/stable/c/3cc9299036bdb647408e11e41de3eb1ff6d428cd",
        "https://git.kernel.org/stable/c/87f126b25fa8562196f0f4c0aa46a446026199bf",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50358.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50358",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50358.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50358",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491751,
  "published_at": "2025-09-17T14:56:10.688+00:00"
}