dm mpath: fix buffer overflow in parse_hw_handler()
Summary
| CVE | CVE-2026-143026 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:30 UTC |
| Updated | 2026-12-03 10:17:30 UTC |
| Description | In 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
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.