Re: [GIT PULL] kmalloc_obj treewide refactor for v7.0-rc1
From: Kees Cook
Date: Sat Feb 21 2026 - 17:37:59 EST
On Sat, Feb 21, 2026 at 12:16:57PM -0800, Linus Torvalds wrote:
> On Sat, 21 Feb 2026 at 11:49, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > So I've pulled this [..]
>
> Uhhuh. Something funky is going on.
>
> On my local build with clang and my local machine configuration, with
> this pull I get
Which Clang version?
> So there's something going on with this conversion, or there's another
> clang bug lurking.
>
> I'm not sure this is a fatal issue, but it makes me *very* nervous.
I'll see if I can reproduce this, but based on the last problem, I'm
going to assume it's the __builtin_counted_by_ref stuff again, as that's
the only "special" in in the kmalloc_flex() stuff...
--
Kees Cook