smb: client: fix missing iov bounds check in parse_posix_sids()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644, Kernel 2f8ed71aaaba3bc8b19cd9930cc62e63e142b299, Kernel b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc and 6 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a90f37e3d7acfd9824f162830583bbf7846fe252 <d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644, >=858e74876c5cbff1dfd5bace99e32fbce2abd4b5 <2f8ed71aaaba3bc8b19cd9930cc62e63e142b299, >=858e74876c5cbff1dfd5bace99e32fbce2abd4b5 <b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc, >=858e74876c5cbff1dfd5bace99e32fbce2abd4b5 <b862996e5105be1293da9cdc85da77b76021c3bd, >=858e74876c5cbff1dfd5bace99e32fbce2abd4b5 <eac6917a42899aad0617bbf04798c5dd946a1fe5, =6.8, >=6.6.32 <6.6.158 | d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644, 2f8ed71aaaba3bc8b19cd9930cc62e63e142b299, b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc, b862996e5105be1293da9cdc85da77b76021c3bd, eac6917a42899aad0617bbf04798c5dd946a1fe5, 6.6.158 |
| linux-kernel: Kernel | >=6.19.0 <7.2.8, >=6.6.32 <6.6.158, >=6.8.0 <6.12.112, >=6.13.0 <6.18.54 | 7.2.8, 6.6.158, 6.12.112, 6.18.54 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket