diff options
| author | Murad Masimov <[email protected]> | 2025-03-11 14:22:04 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-03-13 13:41:27 +0000 |
| commit | 5b29891f91dfb8758baf1e2217bef4b16b2b165b (patch) | |
| tree | 51e6e5f0a4b4d7550d9c654155d676eafb73d093 /net/core/dev_api.c | |
| parent | cifs: Fix integer overflow while processing acregmax mount option (diff) | |
| download | kernel-5b29891f91dfb8758baf1e2217bef4b16b2b165b.tar.gz kernel-5b29891f91dfb8758baf1e2217bef4b16b2b165b.zip | |
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.
Fixes: 4c9f948142a5 ("cifs: Add new mount parameter "acdirmax" to allow caching directory metadata")
Signed-off-by: Murad Masimov <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
