lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu,  3 Nov 2022 16:14:03 +0000
From:   SeongJae Park <sj@...nel.org>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     SeongJae Park <sj@...nel.org>, Shuah Khan <shuah@...nel.org>,
        damon@...ts.linux.dev, linux-mm@...ck.org,
        linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] Fix slab-out-of-bounds Write in dbgfs_rm_context_write

Hi Andrew,


May I ask you to merge this fix in your tree if you have no concern for this?
I think it deserves stable@.


Thanks,
SJ

On Mon, 31 Oct 2022 18:25:52 +0000 SeongJae Park <sj@...nel.org> wrote:

> This patchset is for fixing (patch 1) the syzbot-reported
> slab-out-of-bounds write in dbgfs_rm_context_write[1], and adding a
> selftest for the bug (patch 2).
> 
> [1] https://lore.kernel.org/damon/000000000000ede3ac05ec4abf8e@google.com/
> 
> SeongJae Park (2):
>   mm/damon/dbgfs: check if rm_contexts input is for a real context
>   selftests/damon: test non-context inputs to rm_contexts file
> 
>  mm/damon/dbgfs.c                              |  7 +++++++
>  tools/testing/selftests/damon/Makefile        |  1 +
>  .../damon/debugfs_rm_non_contexts.sh          | 19 +++++++++++++++++++
>  3 files changed, 27 insertions(+)
>  create mode 100755 tools/testing/selftests/damon/debugfs_rm_non_contexts.sh
> 
> -- 
> 2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ