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]
Message-ID: <YXZxe/bQS397KX/W@hirez.programming.kicks-ass.net>
Date:   Mon, 25 Oct 2021 10:57:31 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc:     mingo@...hat.com, juri.lelli@...hat.com,
        vincent.guittot@...aro.org, dietmar.eggemann@....com,
        rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
        bristot@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched: Fix implicit type conversion

On Mon, Oct 25, 2021 at 08:17:27AM +0000, Jiasheng Jiang wrote:
> The variable 'n' is defined as ULONG. However in the cpumask_next(),
> it is used as INT.
> That is vulnerable and may cause overflow.
> Therefore, it might be better to define 'n' as INT.

-ENOPARSE

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ