{"id":"CVE-2026-98204","aliases":["CVE-2026-98204"],"related":[],"kind":"vulnerability","state":"published","title":"Input: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()\n\nWhen chunking writes into SMBus blocks in rmi_smb_write_block(), the\nloop calculates block_len using the original total length (len) instead\nof the remaining length (cur_len).\n\nIf len is greater than 32 bytes (SMB_MAX_COUNT), block_len remains 32\nfor every iteration, even on the final partial chunk where fewer than 32\nbytes remain. This causes smb_block_write() to read 32 bytes from the\nadvanced data buffer pointer, reading past the end of the input buffer.\n\nFix this by calculating block_len using cur_len and advancing the buffer\nand address pointers by block_len.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: rmi_smbus - fix out-of-bounds read in rmi_smb_write_block()\n\nWhen chunking writes into SMBus blocks in rmi_smb_write_block(), the\nloop calculates block_len using the original total length (len) instead\nof the remaining length (cur_len).\n\nIf len is greater than 32 bytes (SMB_MAX_COUNT), block_len remains 32\nfor every iteration, even on the final partial chunk where fewer than 32\nbytes remain. This causes smb_block_write() to read 32 bytes from the\nadvanced data buffer pointer, reading past the end of the input buffer.\n\nFix this by calculating block_len using cur_len and advancing the buffer\nand address pointers by block_len.","source":"cvelist"}],"published":"2026-10-06T08:44:41.712Z","modified":"2026-10-19T10:18:21.060Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"d01337c0892d1509500c727edf81380777c2dd0f","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"7c800af1c6030a5f27d46ce7d6d5d75f9c1efaf8","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"29fbcf5834f0a7f74bfd017c07da2411b35a4e2a","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"50dd585bee7669eb165e5defcc35d17f3822cfbb","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"e022538e13dd1c82af5ec25ac28f12ca0ab26160","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"dc05ec97b8299e48e31367a9bc412c7e9c0e2b42","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"9f0ce5e162eed8b68345abe839c59768bc60f99a","status":"affected"},{"type":"git","introduced":"82264d0cf7aef2247563c031ff2ab96579d5d0cc","fixed":"51cfe54f815ae175c7d1126b983d4d7c89715004","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.10","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d01337c0892d1509500c727edf81380777c2dd0f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c800af1c6030a5f27d46ce7d6d5d75f9c1efaf8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29fbcf5834f0a7f74bfd017c07da2411b35a4e2a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50dd585bee7669eb165e5defcc35d17f3822cfbb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e022538e13dd1c82af5ec25ac28f12ca0ab26160","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc05ec97b8299e48e31367a9bc412c7e9c0e2b42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f0ce5e162eed8b68345abe839c59768bc60f99a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51cfe54f815ae175c7d1126b983d4d7c89715004","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98204","url":"https://www.cve.org/CVERecord?id=CVE-2026-98204","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:35.168Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98204","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98204","licence":"Public domain","modified":"2026-10-19T10:18:21.060Z"}],"updatedAt":"2026-11-25T22:59:42.287Z","epss":{"score":0.00177,"percentile":0.07542,"date":"2026-12-01T12:00:22.000Z"}}