dm mpath: fix buffer overflow in parse_hw_handler()

Summary

CVECVE-2026-143026
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:30 UTC
Updated2026-12-03 10:17:30 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: dm mpath: fix buffer overflow in parse_hw_handler() parse_hw_handler() builds the hw_handler parameter string in a buffer sized with len = 4; plus one byte per argument. Those four bytes were meant for the decimal form of the parameter count, three digits plus the terminating NUL. dm_read_arg_group() accepts up to 1024 arguments and the count written is 'hw_argc - 1', so a count of 1000 or more needs four digits plus the NUL and sprintf() writes one byte past the allocation. Size the buffer from the actual string length instead.

Risk And Classification

EPSS: 0.002150000 probability, percentile 0.126040000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 7736414b9b731b51760d66ed233abeb0706e506f git Not specified
CNA Linux Linux affected 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 80d03a97ae9e5f77b205aee21a95020865247f10 git Not specified
CNA Linux Linux affected 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 4bd198db209c70c4f89e9243df9b34db413e73de git Not specified
CNA Linux Linux affected 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 a375493b05df8ebaba1d1c8b0f3675f02f702516 git Not specified
CNA Linux Linux affected 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 09661f71e3d7949a1de07703c44294e9bf31187c git Not specified
CNA Linux Linux affected 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 8f611fe94a781c6fb658488cc7eab4e4923e6df6 git Not specified
CNA Linux Linux affected 2.6.32 Not specified
CNA Linux Linux unaffected 2.6.32 semver Not specified
CNA Linux Linux unaffected 5.10.276 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.227 5.15.* semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/4bd198db209c70c4f89e9243df9b34db413e73de 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/09661f71e3d7949a1de07703c44294e9bf31187c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/80d03a97ae9e5f77b205aee21a95020865247f10 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8f611fe94a781c6fb658488cc7eab4e4923e6df6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a375493b05df8ebaba1d1c8b0f3675f02f702516 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7736414b9b731b51760d66ed233abeb0706e506f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report