Return-Path: Date: Mon, 19 Nov 2018 16:15:51 +0100 From: Greg Kroah-Hartman To: Steve McIntyre <93sam@debian.org> Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Arnd Bergmann , Dominik Brodowski , "Eric W. Biederman" , Andrew Morton , Al Viro , Oleg Nesterov , Will Deacon , Catalin Marinas , Sasha Levin Subject: Re: [PATCH 4.19 087/361] signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack Message-ID: <20181119151551.GC5340@kroah.com> References: <20181111221619.915519183@linuxfoundation.org> <20181111221632.025807083@linuxfoundation.org> <20181112114857.2aidwlw2podpzytb@tack.einval.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181112114857.2aidwlw2podpzytb@tack.einval.com> List-ID: On Mon, Nov 12, 2018 at 11:49:05AM +0000, Steve McIntyre wrote: > On Sun, Nov 11, 2018 at 02:17:14PM -0800, Greg Kroah-Hartman wrote: > >4.19-stable review patch. If anyone has any objections, please let me know. > > > >------------------ > > > >From: Will Deacon > > > >[ Upstream commit 22839869f21ab3850fbbac9b425ccc4c0023926f ] > > > >The sigaltstack(2) system call fails with -ENOMEM if the new alternative > >signal stack is found to be smaller than SIGMINSTKSZ. On architectures > >such as arm64, where the native value for SIGMINSTKSZ is larger than > >the compat value, this can result in an unexpected error being reported > >to a compat task. See, for example: > > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904385 > > ... > > Thanks Greg! If it's not too much effort, could you also take this for > 4.9-stable as well please? That would get it into our next Debian > stable update too. :-) Does not apply to 4.9.y, can you provide a working backport? thanks, greg k-h