DMA queue misconfiguration via shift overflow
Published Feb 26, 2025 · Updated May 11, 2026
Integer overflow in the Linux stmmac driver from 4.12 allows local users to misconfigure DMA queue mapping on affected hardware. The dwmac4_map_mtl_dma function computes the MTL_RXQ_DMA_MAP1 mask with a 32-bit left shift, so queue numbers above four use an out-of-range shift and produce the wrong mask. Reachability requires stmmac hardware exposing more than four queues; the public record demonstrates a UBSAN warning but does not document a crash or other runtime consequence.
Summary
What happened
Integer overflow in the Linux stmmac driver from 4.12 allows local users to misconfigure DMA queue mapping on affected hardware. The dwmac4_map_mtl_dma function computes the MTL_RXQ_DMA_MAP1 mask with a 32-bit left shift, so queue numbers above four use an out-of-range shift and produce the wrong mask. Reachability requires stmmac hardware exposing more than four queues; the public record demonstrates a UBSAN warning but does not document a crash or other runtime consequence.
The record
- CVE
- CVE-2022-49592
- Published
- Feb 26, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 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.12
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <508d86ead36cbd8dfb60773a33276790d668c473
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <573768dede0e2b7de38ecbc11cb3ee47643902dc
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <613b065ca32e90209024ec4a6bb5ca887ee70980
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <7c687a893f5cae5ca40d189635602e93af9bab73
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <a3ac79f38d354b10925824899cdbd2caadce55ba
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <ad2febdfbd01e1d092a08bfdba92ede79ea05ff3
- Affected versionversion=d43042f4da3e1c2e4ccac3b1d9153cb0798533a4 <e846bde09677fa3b203057846620b7ed96540f5f
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.
Weakness, pattern, technique
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