ksmbd: validate session id and tree id in the compound request
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 22%. Fixed in Kernel 5005bcb4219156f1bf7587b185080ec1da08518e, Kernel 854156d12caa9d36de1cf5f084591c7686cc8a9d, Kernel d1066c1b3663401cd23c0d6e60cdae750ce00c0f and 1 more.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate session id and tree id in the compound request This patch validate session id and tree id in compound request. If first operation in the compound is SMB2 ECHO request, ksmbd bypass session and tree validation. So work->sess and work->tcon could be NULL. If secound request in the compound access work->sess or tcon, It cause NULL pointer dereferecing error.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <5005bcb4219156f1bf7587b185080ec1da08518e, >=0626e6641f6b467447c81dd7678a69c66f7746cf <854156d12caa9d36de1cf5f084591c7686cc8a9d, >=0626e6641f6b467447c81dd7678a69c66f7746cf <d1066c1b3663401cd23c0d6e60cdae750ce00c0f, >=0626e6641f6b467447c81dd7678a69c66f7746cf <eb947403518ea3d93f6d89264bb1f5416bb0c7d0 | 5005bcb4219156f1bf7587b185080ec1da08518e, 854156d12caa9d36de1cf5f084591c7686cc8a9d, d1066c1b3663401cd23c0d6e60cdae750ce00c0f, eb947403518ea3d93f6d89264bb1f5416bb0c7d0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket