ksmbd: transport_ipc: validate payload size before reading handle
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2dc125f5da134c0915a840b62565c60a595673dd, Kernel 6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0, Kernel 867ffd9d67285612da3f0498ca618297f8e41f01 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: transport_ipc: validate payload size before reading handle handle_response() dereferences the payload as a 4-byte handle without verifying that the declared payload size is at least 4 bytes. A malformed or truncated message from ksmbd.mountd can lead to a 4-byte read past the declared payload size. Validate the size before dereferencing. This is a minimal fix to guard the initial handle read.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <2dc125f5da134c0915a840b62565c60a595673dd, >=0626e6641f6b467447c81dd7678a69c66f7746cf <6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0, >=0626e6641f6b467447c81dd7678a69c66f7746cf <867ffd9d67285612da3f0498ca618297f8e41f01, >=0626e6641f6b467447c81dd7678a69c66f7746cf <898d527ed94c19980a4d848f10057f1fed578ffb, >=0626e6641f6b467447c81dd7678a69c66f7746cf <a02e432d5130da4c723aabe1205bac805889fdb2 | 2dc125f5da134c0915a840b62565c60a595673dd, 6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0, 867ffd9d67285612da3f0498ca618297f8e41f01, 898d527ed94c19980a4d848f10057f1fed578ffb, a02e432d5130da4c723aabe1205bac805889fdb2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket