diff options
author | Murad Masimov <m.masimov@mt-integration.ru> | 2025-03-11 17:22:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 22:56:58 +0300 |
commit | b24edd5c191c2689c59d0509f0903f9487eb6317 (patch) | |
tree | 289f913004609f95267ccd687a95827a8e5845fd /scripts/gdb/linux/utils.py | |
parent | 4df7ec9d3e024b491f890f4d363d6dd311f188d4 (diff) | |
download | linux-b24edd5c191c2689c59d0509f0903f9487eb6317.tar.xz |
cifs: Fix integer overflow while processing closetimeo mount option
[ Upstream commit d5a30fddfe2f2e540f6c43b59cf701809995faef ]
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.
Fixes: 5efdd9122eff ("smb3: allow deferred close timeout to be configurable")
Signed-off-by: Murad Masimov <m.masimov@mt-integration.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions