Re: [PATCH] proc: Fix broken error paths for namespace links
From: Mateusz Guzik
Date: Mon Jul 06 2026 - 16:57:39 EST
On Mon, Jul 06, 2026 at 08:22:42PM +0200, Jann Horn wrote:
> Don't return the return value of down_read_killable() (0) when a ptrace
> access check fails, return -EACCES as intended.
>
This is the kind of a bug LLMs can find very reliably.
In fact Sashiko did report it, along with something extra to take a look
at:
https://sashiko.dev/#/patchset/20260518-procfs-lockfix-part1-v1-0-5c3d20e0ac33%40google.com