[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <your-ad-here.call-01740178455-ext-7344@work.hours>
Date: Fri, 21 Feb 2025 23:54:15 +0100
From: Vasily Gorbik <gor@...ux.ibm.com>
To: Heiko Carstens <hca@...ux.ibm.com>
Cc: Haoxiang Li <haoxiang_li2024@....com>, agordeev@...ux.ibm.com,
borntraeger@...ux.ibm.com, svens@...ux.ibm.com,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] s390/tty: Fix a potential memory leak bug
On Fri, Feb 21, 2025 at 04:13:48PM +0100, Heiko Carstens wrote:
> On Tue, Feb 18, 2025 at 11:41:04AM +0800, Haoxiang Li wrote:
> > The check for get_zeroed_page() leads to a direct return
> > and overlooked the memory leak caused by loop allocation.
> > Add a free helper to free spaces allocated by get_zeroed_page().
> >
> > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> > Cc: stable@...r.kernel.org
> > Signed-off-by: Haoxiang Li <haoxiang_li2024@....com>
> > ---
> > drivers/s390/char/sclp_tty.c | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
>
> Same here: no fixes and Cc stable.
>
> Acked-by: Heiko Carstens <hca@...ux.ibm.com>
Applied, thank you!
Powered by blists - more mailing lists