[PATCH 0/4] cifs: Fix integer overflow while processing mount options

Murad Masimov posted 4 patches 9 months, 1 week ago
fs/smb/client/fs_context.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
[PATCH 0/4] cifs: Fix integer overflow while processing mount options
Posted by Murad Masimov 9 months, 1 week ago
These patches fix similar issues that have different origin commits.
User-provided mount parameters are intended to have upper limits, but
are validated after their values are converted from seconds to jiffies,
which can lead to an integer overflow.

Murad Masimov (4):
  cifs: Fix integer overflow while processing acregmax mount option
  cifs: Fix integer overflow while processing acdirmax mount option
  cifs: Fix integer overflow while processing actimeo mount option
  cifs: Fix integer overflow while processing closetimeo mount option

 fs/smb/client/fs_context.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

--
2.39.2
Re: [PATCH 0/4] cifs: Fix integer overflow while processing mount options
Posted by Steve French 9 months, 1 week ago
tentatively merged into cifs-2.6.git for-next pending additional
review and testing

On Tue, Mar 11, 2025 at 9:25 AM Murad Masimov
<m.masimov@mt-integration.ru> wrote:
>
> These patches fix similar issues that have different origin commits.
> User-provided mount parameters are intended to have upper limits, but
> are validated after their values are converted from seconds to jiffies,
> which can lead to an integer overflow.
>
> Murad Masimov (4):
>   cifs: Fix integer overflow while processing acregmax mount option
>   cifs: Fix integer overflow while processing acdirmax mount option
>   cifs: Fix integer overflow while processing actimeo mount option
>   cifs: Fix integer overflow while processing closetimeo mount option
>
>  fs/smb/client/fs_context.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> --
> 2.39.2
>
>


-- 
Thanks,

Steve