Kernel warning via md length wraparound
Published Sep 15, 2025 · Updated Sep 15, 2025
Integer wraparound in affected Linux kernel md/raid0 releases starting at 4.10 allows local users to trigger a kernel warning during RAID0 startup. In dump_zones(), snprintf() reports the length that would have been generated rather than bytes written, so 200 minus len wraps to a large positive size when concatenated device names exceed 200 characters. Reaching the path requires local access and the ability to start a RAID0 array with unusually long constituent device names; the documented consequence is a warning in the kernel formatting path.
Summary
What happened
Integer wraparound in affected Linux kernel md/raid0 releases starting at 4.10 allows local users to trigger a kernel warning during RAID0 startup. In dump_zones(), snprintf() reports the length that would have been generated rather than bytes written, so 200 minus len wraps to a large positive size when concatenated device names exceed 200 characters. Reaching the path requires local access and the ability to start a RAID0 array with unusually long constituent device names; the documented consequence is a warning in the kernel formatting path.
The record
- CVE
- CVE-2022-50299
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record 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.10
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <1727fd5015d8f93474148f94e34cda5aa6ad4a43
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <3b0a2bd51f60418ecd67493586a2bb2174199de3
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <41ca95033a0c47cd6dace1f0a36a6eb5ebe799e6
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <5d8259c9d1915a50c60c7d6e9e7fb9b7da64a175
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <76694e9ce0b2238c0a5f3ba54f9361dd3770ec78
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <897b1450abe5a67c842a5d24173ce4449ccdfa94
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <97238b88583c27c9d3b4a0cedb45f816523f17c3
- Affected versionversion=766038846e875740cf4c20dfc5d5b292ba47360a <f95825c4e51cf9a653b0ef947ac78401fc9d3a40
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