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  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:   Tue, 5 Mar 2019 07:57:41 -0800
From:   Tejun Heo <>
To:     Konstantin Khlebnikov <>
Cc:     Peter Zijlstra <>,, Li Zefan <>,
        Johannes Weiner <>,,
        Ingo Molnar <>
Subject: Re: [PATCH] sched/core: check format and overflows in cgroup2 cpu.max


On Wed, Feb 27, 2019 at 11:13:21AM +0300, Konstantin Khlebnikov wrote:
> Cgroup2 interface for cpu bandwidth limit has some flaws:
> - on stack buffer overflow
> - no checks for valid format or trailing garbage
> - no checks for integer overflows
> This patch fixes all these flaws.

Ditto as the blkio patch.  Unless there is a correctness problem, my
preference is towards keeping the parsing functions simple and I don't
think the kernel needs to play the role of strict input verifier here
as long as the only foot getting shot is the user's own.



Powered by blists - more mailing lists