Commit 7b9d8b5
committed
cifs: Fix integer overflow while processing acregmax mount option
jira NONE_AUTOMATION
cve CVE-2025-21964
Rebuild_History Non-Buildable kernel-5.14.0-570.18.1.el9_6
commit-author Murad Masimov <m.masimov@mt-integration.ru>
commit 7489161
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: 5780464 ("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>
(cherry picked from commit 7489161)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent d443a8c commit 7b9d8b5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1359 | 1359 | | |
1360 | 1360 | | |
1361 | 1361 | | |
1362 | | - | |
1363 | | - | |
| 1362 | + | |
1364 | 1363 | | |
1365 | 1364 | | |
1366 | 1365 | | |
| 1366 | + | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
| |||
0 commit comments