{"id":"CVE-2026-143026","summary":"dm mpath: fix buffer overflow in parse_hw_handler()","details":"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.","modified":"2026-12-03T11:00:52.804724017Z","published":"2026-12-03T09:18:01.552Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143026.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/09661f71e3d7949a1de07703c44294e9bf31187c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4bd198db209c70c4f89e9243df9b34db413e73de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7736414b9b731b51760d66ed233abeb0706e506f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80d03a97ae9e5f77b205aee21a95020865247f10"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f611fe94a781c6fb658488cc7eab4e4923e6df6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a375493b05df8ebaba1d1c8b0f3675f02f702516"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143026.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143026"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0"},{"fixed":"7736414b9b731b51760d66ed233abeb0706e506f"},{"fixed":"80d03a97ae9e5f77b205aee21a95020865247f10"},{"fixed":"4bd198db209c70c4f89e9243df9b34db413e73de"},{"fixed":"a375493b05df8ebaba1d1c8b0f3675f02f702516"},{"fixed":"09661f71e3d7949a1de07703c44294e9bf31187c"},{"fixed":"8f611fe94a781c6fb658488cc7eab4e4923e6df6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143026.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.32"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143026.json"}}],"schema_version":"1.9.2"}