{"id":"CVE-2026-143026","state":"PUBLISHED","title":"dm mpath: fix buffer overflow in parse_hw_handler()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm mpath: fix buffer overflow in parse_hw_handler()\n\nparse_hw_handler() builds the hw_handler parameter string in a buffer\nsized with\n\n\tlen = 4;\n\nplus one byte per argument.  Those four bytes were meant for the decimal\nform of the parameter count, three digits plus the terminating NUL.\ndm_read_arg_group() accepts up to 1024 arguments and the count written is\n'hw_argc - 1', so a count of 1000 or more needs four digits plus the NUL\nand sprintf() writes one byte past the allocation.\n\nSize the buffer from the actual string length instead.","publishedAt":"2026-12-03T09:18:01.552Z","updatedAt":"2026-12-03T09:18:01.552Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"7736414b9b731b51760d66ed233abeb0706e506f","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"80d03a97ae9e5f77b205aee21a95020865247f10","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"4bd198db209c70c4f89e9243df9b34db413e73de","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"a375493b05df8ebaba1d1c8b0f3675f02f702516","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"09661f71e3d7949a1de07703c44294e9bf31187c","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"8f611fe94a781c6fb658488cc7eab4e4923e6df6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-mpath.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.32","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.32","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-mpath.c"]}],"references":["https://git.kernel.org/stable/c/7736414b9b731b51760d66ed233abeb0706e506f","https://git.kernel.org/stable/c/80d03a97ae9e5f77b205aee21a95020865247f10","https://git.kernel.org/stable/c/4bd198db209c70c4f89e9243df9b34db413e73de","https://git.kernel.org/stable/c/a375493b05df8ebaba1d1c8b0f3675f02f702516","https://git.kernel.org/stable/c/09661f71e3d7949a1de07703c44294e9bf31187c","https://git.kernel.org/stable/c/8f611fe94a781c6fb658488cc7eab4e4923e6df6"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143026.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143026","state":"PUBLISHED","datePublished":"2026-12-03T09:18:01.552Z","dateUpdated":"2026-12-03T09:18:01.552Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.343Z"},"containers":{"cna":{"title":"dm mpath: fix buffer overflow in parse_hw_handler()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm mpath: fix buffer overflow in parse_hw_handler()\n\nparse_hw_handler() builds the hw_handler parameter string in a buffer\nsized with\n\n\tlen = 4;\n\nplus one byte per argument.  Those four bytes were meant for the decimal\nform of the parameter count, three digits plus the terminating NUL.\ndm_read_arg_group() accepts up to 1024 arguments and the count written is\n'hw_argc - 1', so a count of 1000 or more needs four digits plus the NUL\nand sprintf() writes one byte past the allocation.\n\nSize the buffer from the actual string length instead."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"7736414b9b731b51760d66ed233abeb0706e506f","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"80d03a97ae9e5f77b205aee21a95020865247f10","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"4bd198db209c70c4f89e9243df9b34db413e73de","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"a375493b05df8ebaba1d1c8b0f3675f02f702516","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"09661f71e3d7949a1de07703c44294e9bf31187c","versionType":"git"},{"version":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0","status":"affected","lessThan":"8f611fe94a781c6fb658488cc7eab4e4923e6df6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-mpath.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.32","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.32","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-mpath.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7736414b9b731b51760d66ed233abeb0706e506f"},{"url":"https://git.kernel.org/stable/c/80d03a97ae9e5f77b205aee21a95020865247f10"},{"url":"https://git.kernel.org/stable/c/4bd198db209c70c4f89e9243df9b34db413e73de"},{"url":"https://git.kernel.org/stable/c/a375493b05df8ebaba1d1c8b0f3675f02f702516"},{"url":"https://git.kernel.org/stable/c/09661f71e3d7949a1de07703c44294e9bf31187c"},{"url":"https://git.kernel.org/stable/c/8f611fe94a781c6fb658488cc7eab4e4923e6df6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:01.552Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.32","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}