Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-63932

iio: chemical: mhz19b: reject oversized serial replies

Description

In the Linux kernel, the following vulnerability has been resolved: iio: chemical: mhz19b: reject oversized serial replies mhz19b_receive_buf() appends each serdev chunk into the fixed MHZ19B_CMD_SIZE receive buffer and advances buf_idx by len without checking that the chunk fits in the remaining space. A large callback can therefore overflow st->buf before the command path validates the reply. Reset the reply state before each command and reject oversized serial replies before copying them into the fixed buffer. When an oversized reply is detected, wake the waiter and report -EMSGSIZE instead of overwriting st->buf.

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

  • 4572a70b3681e38055c78d12fb68cd147bdbee7d to < a5a05410cb34bfa486d63684cdc1f87a3b13f20aaffected
  • 4572a70b3681e38055c78d12fb68cd147bdbee7d to < ea69e7a6efa88ef32090a91064c362738cc19dddaffected
  • 4572a70b3681e38055c78d12fb68cd147bdbee7d to < 673478bc29cf72010faaf293c1c8c667393335a0affected

Linux Linux

Default version status: affected

  • 6.16affected
  • 0 to < 6.16unaffected
  • 6.18.35 to ≤ 6.18.*unaffected
  • 7.0.12 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References