CVE-2026-98204

Input: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

Input: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()

When chunking writes into SMBus blocks in rmi_smb_write_block(), the loop calculates block_len using the original total length (len) instead of the remaining length (cur_len).

If len is greater than 32 bytes (SMB_MAX_COUNT), block_len remains 32 for every iteration, even on the final partial chunk where fewer than 32 bytes remain. This causes smb_block_write() to read 32 bytes from the advanced data buffer pointer, reading past the end of the input buffer.

Fix this by calculating block_len using cur_len and advancing the buffer and address pointers by block_len.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before d01337c0892d1509500c727edf81380777c2dd0fAffected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before 7c800af1c6030a5f27d46ce7d6d5d75f9c1efaf8Affected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before 29fbcf5834f0a7f74bfd017c07da2411b35a4e2aAffected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before 50dd585bee7669eb165e5defcc35d17f3822cfbbAffected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before e022538e13dd1c82af5ec25ac28f12ca0ab26160Affected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before dc05ec97b8299e48e31367a9bc412c7e9c0e2b42Affected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before 9f0ce5e162eed8b68345abe839c59768bc60f99aAffected
  • 82264d0cf7aef2247563c031ff2ab96579d5d0cc to before 51cfe54f815ae175c7d1126b983d4d7c89715004Affected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 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.