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] [thread-next>] [day] [month] [year] [list]
Date: Thu, 18 Jan 2024 13:59:41 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Lokesh Gidra <lokeshgidra@...gle.com>
Cc: linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
 linux-kernel@...r.kernel.org, selinux@...r.kernel.org, surenb@...gle.com,
 kernel-team@...roid.com, aarcange@...hat.com, peterx@...hat.com,
 david@...hat.com, axelrasmussen@...gle.com, bgeffon@...gle.com,
 willy@...radead.org, jannh@...gle.com, kaleshsingh@...gle.com,
 ngeoffray@...gle.com
Subject: Re: [PATCH] userfaultfd: fix mmap_changing checking in
 mfill_atomic_hugetlb

On Wed, 17 Jan 2024 14:37:29 -0800 Lokesh Gidra <lokeshgidra@...gle.com> wrote:

> In mfill_atomic_hugetlb(), mmap_changing isn't being checked
> again if we drop mmap_lock and reacquire it. When the lock is not held,
> mmap_changing could have been incremented. This is also inconsistent
> with the behavior in mfill_atomic().

Thanks. Could you and reviewers please consider

- what might be the userspace-visible runtime effects?

- Should the fix be backported into earlier kernels?

- A suitable Fixes: target?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ