ksmbd: check outstanding simultaneous SMB operations
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: check outstanding simultaneous SMB operations
If Client send simultaneous SMB operations to ksmbd, It exhausts too much memory through the "ksmbd_work_cache”. It will cause OOM issue. ksmbd has a credit mechanism but it can't handle this problem. This patch add the check if it exceeds max credits to prevent this problem by assuming that one smb request consumes at least one credit.
From the CVE record · Linux
The Linux kernel’s ksmbd does not adequately limit outstanding simultaneous SMB operations. A remote SMB client can send simultaneous operations that exhaust memory through the ksmbd_work_cache and cause an out-of-memory condition. The input does not specify whether authentication is required; no user interaction is described.
Operators running Linux kernels with ksmbd should check their systems; affected versions are not specified.