# CVE-2026-98405: smb: client: fix missing iov bounds check in parse_posix_sids()

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-10-14T13:27:40.589Z
- Modified: 2026-10-24T14:16:40.877Z
- Assigned by: Linux

## Description

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

smb: client: fix missing iov bounds check in parse_posix_sids()

In parse_posix_sids(), sidsbuf_end is calculated using the server-supplied
out_len without being validated against the actual length of the received
iov (iov_len).

If a server provides an inflated out_len, sidsbuf_end will point past the
end of the iov. This defeats the bounds guards in posix_info_sid_size(),
allowing out-of-bounds reads into adjacent kernel memory.

Fix this by rejecting responses where the calculated sidsbuf_end would
exceed the received iov boundaries or cause pointer wraparound.

(As written by CVE List.)

## Affected

- Linux Linux: from a90f37e3d7acfd9824f162830583bbf7846fe252 before d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644; from 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 before b862996e5105be1293da9cdc85da77b76021c3bd; from 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 before 2f8ed71aaaba3bc8b19cd9930cc62e63e142b299; from 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 before eac6917a42899aad0617bbf04798c5dd946a1fe5; from 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 before b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc; from 6.6.32 before 6.6.158; 6.8 (not affected: before 6.8; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644>
- <https://git.kernel.org/stable/c/b862996e5105be1293da9cdc85da77b76021c3bd>
- <https://git.kernel.org/stable/c/2f8ed71aaaba3bc8b19cd9930cc62e63e142b299>
- <https://git.kernel.org/stable/c/eac6917a42899aad0617bbf04798c5dd946a1fe5>
- <https://git.kernel.org/stable/c/b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc>

## Sources

- CVE List: [CVE-2026-98405](https://www.cve.org/CVERecord?id=CVE-2026-98405), CVE Terms of Use, modified 2026-10-24
- NVD: [CVE-2026-98405](https://nvd.nist.gov/vuln/detail/CVE-2026-98405), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-98405 · Whole record: https://cve.day/CVE-2026-98405.json · Rebuilt by cve.day 2026-11-25T22:59:44.639Z
