Kernel crash via bgmac queue accounting race
Published Jun 18, 2025 · Updated Aug 5, 2026
Race condition in the Linux bgmac driver allows remote attackers to crash the kernel by triggering concurrent receive activity. When an RX interrupt occurs after bgmac sets ring->end but before netdev_sent_queue(), bgmac_dma_tx_free() miscalculates the completed byte count and trips the dql_completed() BUG_ON. Exposure requires a system using the Broadcom bgmac driver; successful triggering produces a kernel Oops and interrupts service without reported data disclosure or modification.
Summary
What happened
Race condition in the Linux bgmac driver allows remote attackers to crash the kernel by triggering concurrent receive activity. When an RX interrupt occurs after bgmac sets ring->end but before netdev_sent_queue(), bgmac_dma_tx_free() miscalculates the completed byte count and trips the dql_completed() BUG_ON. Exposure requires a system using the Broadcom bgmac driver; successful triggering produces a kernel Oops and interrupts service without reported data disclosure or modification.
The record
- CVE
- CVE-2022-50062
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-617, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.1
- Affected versionversion=b38c83dd08665a93e439c4ffd9eef31bc098a6ea <1b7680c6c1f6de9904f1d9b05c952f0c64a03350
- Affected versionversion=b38c83dd08665a93e439c4ffd9eef31bc098a6ea <ab2b55bb25db289ba0b68e3d58494476bdb1041d
- Affected versionversion=b38c83dd08665a93e439c4ffd9eef31bc098a6ea <ac6d4482f29ab992b605c1b4bd1347f1f679f4e4
- Affected versionversion=b38c83dd08665a93e439c4ffd9eef31bc098a6ea <c506c9a97120f43257e9b3ce7b1f9a24eafc3787
- Affected versionversion=b38c83dd08665a93e439c4ffd9eef31bc098a6ea <da1421a29d3b8681ba6a7f686bd0b40dda5acaf3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo