lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 2 Aug 2021 07:51:20 +0200
From:   Steffen Klassert <steffen.klassert@...unet.com>
To:     Pavel Skripkin <paskripkin@...il.com>
CC:     <herbert@...dor.apana.org.au>, <davem@...emloft.net>,
        <kuba@...nel.org>, <netdev@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>,
        <syzbot+9cd5837a045bbee5b810@...kaller.appspotmail.com>
Subject: Re: [PATCH next] net: xfrm: fix shift-out-of-bounce

On Wed, Jul 28, 2021 at 07:38:18PM +0300, Pavel Skripkin wrote:
> We need to check up->dirmask to avoid shift-out-of-bounce bug,
> since up->dirmask comes from userspace.
> 
> Also, added XFRM_USERPOLICY_DIRMASK_MAX constant to uapi to inform
> user-space that up->dirmask has maximum possible value
> 
> Fixes: 2d151d39073a ("xfrm: Add possibility to set the default to block if we have no policy")
> Reported-and-tested-by: syzbot+9cd5837a045bbee5b810@...kaller.appspotmail.com
> Signed-off-by: Pavel Skripkin <paskripkin@...il.com>

Applied, thanks a lot!

Powered by blists - more mailing lists