cifs: Fix integer overflow while processing acdirmax mount option
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4c9f948142a550af416a2bfb5e56d29ce29e92cf · < 5b29891f91dfb8758baf1e2217bef4b16b2b165b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix integer overflow while processing acdirmax mount option
User-provided mount parameter acdirmax of type u32 is intended to have an upper limit, but before it is validated, the value is converted from seconds to jiffies which can lead to an integer overflow.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel can overflow an integer when converting a user-provided acdirmax CIFS mount option from seconds to jiffies before checking its upper limit. This requires the mount option to be supplied locally; the input does not specify the resulting impact or whether authentication is required.
Engineers running Linux kernels that process the CIFS acdirmax mount option should check their versions against the vendor advisory.