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:   Mon, 18 Apr 2022 21:03:52 -0700
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Peng Liu <liupeng256@...wei.com>
Cc:     <mike.kravetz@...cle.com>, <david@...hat.com>,
        <yaozhenguo1@...il.com>, <baolin.wang@...ux.alibaba.com>,
        <songmuchun@...edance.com>, <liuyuntao10@...wei.com>,
        <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
        <wangkefeng.wang@...wei.com>, <dave@...olabs.net>
Subject: Re: [PATCH v4] hugetlb: Fix wrong use of nr_online_nodes

On Sat, 16 Apr 2022 10:35:26 +0000 Peng Liu <liupeng256@...wei.com> wrote:

> Certain systems are designed to have sparse/discontiguous nodes. In
> this case, nr_online_nodes can not be used to walk through numa node.
> Also, a valid node may be greater than nr_online_nodes.
> 
> However, in hugetlb, it is assumed that nodes are contiguous. Recheck
> all the places that use nr_online_nodes, and repair them one by one.

oops.

What are the user-visible runtime effects of this flaw?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ