CVE-2026-63932
5.5medium
iio: chemical: mhz19b: reject oversized serial replies
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4572a70b3681e38055c78d12fb68cd147bdbee7d before a5a05410cb34bfa486d63684cdc1f87a3b13f20a, from 4572a70b3681e38055c78d12fb68cd147bdbee7d before ea69e7a6efa88ef32090a91064c362738cc19ddd, from 4572a70b3681e38055c78d12fb68cd147bdbee7d before 673478bc29cf72010faaf293c1c8c667393335a0, 6.16 Not affected: before 6.16, from 6.18.35 up to 6.18.*, from 7.0.12 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.16 before 6.18.35, from 6.19 before 7.0.12, 7.1 | NVD |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63932 changed 2026-07-19 | CVE Terms of Use |
| NVD | CVE-2026-63932 changed 2026-10-30 | Public domain |