CVE-2026-63932

iio: chemical: mhz19b: reject oversized serial replies

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4572a70b3681e38055c78d12fb68cd147bdbee7d to before a5a05410cb34bfa486d63684cdc1f87a3b13f20aAffected
  • 4572a70b3681e38055c78d12fb68cd147bdbee7d to before ea69e7a6efa88ef32090a91064c362738cc19dddAffected
  • 4572a70b3681e38055c78d12fb68cd147bdbee7d to before 673478bc29cf72010faaf293c1c8c667393335a0Affected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.