Re: [PATCH] s390/tty: Fix a potential memory leak bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> > Signed-off-by: Haoxiang Li <haoxiang_li2024@xxxxxxx>
> > ---
> >  drivers/s390/char/sclp_tty.c | 12 ++++++++++++
> >  1 file changed, 12 insertions(+)
> 
> Same here: no fixes and Cc stable.
> 
> Acked-by: Heiko Carstens <hca@xxxxxxxxxxxxx>

Applied, thank you!




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux