[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200912174241.eeaa771755915f27babf9322@linux-foundation.org>
Date: Sat, 12 Sep 2020 17:42:41 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Muchun Song <songmuchun@...edance.com>
Cc: hannes@...xchg.org, mhocko@...nel.org, vdavydov.dev@...il.com,
cgroups@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: memcontrol: Fix out-of-bounds on the buf returned
by memory_stat_format
On Sat, 12 Sep 2020 23:51:00 +0800 Muchun Song <songmuchun@...edance.com> wrote:
> The memory_stat_format() returns a format string, but the return buf
> may not including the trailing '\0'. So the users may read the buf
> out of bounds.
That sounds serious. Is a cc:stable appropriate?
Powered by blists - more mailing lists