cifs: Fix integer overflow while processing closetimeo mount option
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 · < d5a30fddfe2f2e540f6c43b59cf701809995faef| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix integer overflow while processing closetimeo mount option
User-provided mount parameter closetimeo 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 while converting the user-provided CIFS closetimeo mount option from seconds to jiffies, before checking its upper limit. This occurs when a user supplies an affected mount-option value; the input does not specify the resulting impact or authentication requirements.
Engineers running Linux systems that use CIFS mounts should check their kernel versions; affected versions were not provided.