diff options
author | Murad Masimov <m.masimov@mt-integration.ru> | 2025-03-11 17:22:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 22:56:58 +0300 |
commit | 5f500874ab9b3cc8c169c2ab49f00b838520b9c5 (patch) | |
tree | ee7f317f57ba569098422a27ab120410212cf190 /scripts/gdb/linux/utils.py | |
parent | f04e46689dc539fd84a8e2360c3deeae1445f8bf (diff) | |
download | linux-5f500874ab9b3cc8c169c2ab49f00b838520b9c5.tar.xz |
cifs: Fix integer overflow while processing acregmax mount option
[ Upstream commit 7489161b1852390b4413d57f2457cd40b34da6cc ]
User-provided mount parameter acregmax 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: 5780464614f6 ("cifs: Add new parameter "acregmax" for distinct file and directory metadata timeout")
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