Re: [PATCH 00/13] fs: let d_real() fail
From: Alexei Starovoitov
Date: Sun Nov 15 2026 - 13:28:26 EST
On Sun, Nov 15, 2026 at 06:01 AM Christian Brauner <brauner@xxxxxxxxxx> wrote:
> As Amir pointed out the correct fix is to teach the callers to deal with
> an error. So d_real() may now fail for D_REAL_DATA and all callers
> handle it: uprobes fail when they're created, IMA treats it like failing
> to hash the file, IPE denies and the bpf kfunc returns NULL. Then
> d_real_inode() goes away so nobody can ignore the error again. The first
> patch only drops the WARN.
For bpf bits:
Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx>