[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d22ab1b8a17220fc8a5de94be037138a7a043ace.camel@perches.com>
Date: Mon, 28 Mar 2022 04:44:44 -0700
From: Joe Perches <joe@...ches.com>
To: Sasha Levin <sashal@...nel.org>, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Cc: Chaitanya Kulkarni <kch@...dia.com>,
Himanshu Madhani <himanshu.madhani@...cle.com>,
Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org
Subject: Re: [PATCH AUTOSEL 4.19 02/12] loop: use sysfs_emit() in the sysfs
xxx show()
On Mon, 2022-03-28 at 07:24 -0400, Sasha Levin wrote:
> From: Chaitanya Kulkarni <kch@...dia.com>
>
> [ Upstream commit b27824d31f09ea7b4a6ba2c1b18bd328df3e8bed ]
>
> sprintf does not know the PAGE_SIZE maximum of the temporary buffer
> used for outputting sysfs content and it's possible to overrun the
> PAGE_SIZE buffer length.
IMOP This isn't something that should be backported.
Powered by blists - more mailing lists