What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 6.18.35, 7.0.12; Linux kernel 7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-63932 or the next vulnerability affects your stack