Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143026

dm mpath: fix buffer overflow in parse_hw_handler()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 to < 7736414b9b731b51760d66ed233abeb0706e506faffected
  • 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 to < 80d03a97ae9e5f77b205aee21a95020865247f10affected
  • 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 to < 4bd198db209c70c4f89e9243df9b34db413e73deaffected
  • 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 to < a375493b05df8ebaba1d1c8b0f3675f02f702516affected
  • 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 to < 09661f71e3d7949a1de07703c44294e9bf31187caffected
  • 2bfd2e1337f0d8bb6ff45ce12934c45b83d70ee0 to < 8f611fe94a781c6fb658488cc7eab4e4923e6df6affected

Linux Linux

Default version status: affected

  • 2.6.32affected
  • 0 to < 2.6.32unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References