Re: [PATCH v3 0/4] mm: clarify nofail memory allocation
From: Michal Hocko <mhocko@suse.com>
Date: 2024-08-20 06:24:32
Also in:
linux-mm
From: Michal Hocko <mhocko@suse.com>
Date: 2024-08-20 06:24:32
Also in:
linux-mm
On Mon 19-08-24 12:33:17, Linus Torvalds wrote:
On Mon, 19 Aug 2024 at 12:23, Barry Song [off-list ref] wrote:quoted
That could be an exploit taking advantage of those improper callers,So? FIX THE BUGGY CODE. Don't make insane and incorrect changes to the MM code and spread Fear, Uncertainty and Doubt.quoted
thus it wouldn’t necessarily result in an immediate oops in callers but result in an exploitNo. Any bug can be an exploit. Don't try to make this something special by calling it an exploit. NULL pointer dereferences are some of the *least* worrisome bugs, because we don't allow people to mmap the NULL area anyway. So just stop spreading FUD. We don't improve the kernel by making excuses for bugs, we improve it by fixing things.
I really do not think that accusing Barry from spreading FUD is fair! I believe there is a good intention behind this initiative and he has used tools that he has available. So rather than throwing FUD arguments I would really like to stick to a technical discussion, please. -- Michal Hocko SUSE Labs