[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250221151348.11661Dae-hca@linux.ibm.com>
Date: Fri, 21 Feb 2025 16:13:48 +0100
From: Heiko Carstens <hca@...ux.ibm.com>
To: Haoxiang Li <haoxiang_li2024@....com>
Cc: gor@...ux.ibm.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 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>
Powered by blists - more mailing lists