Memory corruption via stale DSA routing links
Published May 1, 2025 · Updated May 11, 2026
Use-after-free in affected Linux kernel branches allows local users to corrupt memory during DSA switch-tree probe failure. When the final switch setup is deferred or fails, dsa_register_switch() frees its ports but leaves dst->rtable entries pointing to them. A later switch setup dereferences those stale links; reachability requires a cascaded DSA switch tree and a probe failure after tree completion, and the observed result is a KASAN-detected invalid read.
Summary
What happened
Use-after-free in affected Linux kernel branches allows local users to corrupt memory during DSA switch-tree probe failure. When the final switch setup is deferred or fails, dsa_register_switch() frees its ports but leaves dst->rtable entries pointing to them. A later switch setup dereferences those stale links; reachability requires a cascaded DSA switch tree and a probe failure after tree completion, and the observed result is a KASAN-detected invalid read.
The record
- CVE
- CVE-2025-37786
- Published
- May 1, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 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=5.5
- Affected versionversion=c5f51765a1f60b701840544faf3ca63204b8dc3c <51df5513cca6349d0bea01bab95cd96cf869976e
- Affected versionversion=c5f51765a1f60b701840544faf3ca63204b8dc3c <5c8066fbdb9653c6e9a224bdcd8f9c91a484f0de
- Affected versionversion=c5f51765a1f60b701840544faf3ca63204b8dc3c <6c20894d21600ca1e8549086dfbb986e277bf8a6
- Affected versionversion=c5f51765a1f60b701840544faf3ca63204b8dc3c <8bf108d7161ffc6880ad13a0cc109de3cf631727
- Affected versionversion=c5f51765a1f60b701840544faf3ca63204b8dc3c <a038f5f15af455dfe35bc68549e02b950978700a
- Affected versionversion=c5f51765a1f60b701840544faf3ca63204b8dc3c <fb12b460ec46c9efad98de6d9ba349691db51dc7
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