summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMurad Masimov <m.masimov@mt-integration.ru>2025-03-11 17:22:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-22 22:56:58 +0300
commit6124cbf73e3dea7591857dd63b8ccece28952afd (patch)
tree9f69051f86779ec6e3e7ee4192766158a569fb95 /scripts/gdb/linux/utils.py
parent5f500874ab9b3cc8c169c2ab49f00b838520b9c5 (diff)
downloadlinux-6124cbf73e3dea7591857dd63b8ccece28952afd.tar.xz
cifs: Fix integer overflow while processing acdirmax mount option
[ Upstream commit 5b29891f91dfb8758baf1e2217bef4b16b2b165b ] 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. Fixes: 4c9f948142a5 ("cifs: Add new mount parameter "acdirmax" to allow caching directory metadata") 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