Re: [PATCH 6.12 034/244] bpf: Fix u32/s32 bounds when ranges cross min/max boundary

Shung-Hsi Yu
2026-04-08T05:44:02Z

On Thu, Apr 02, 2026 at 01:02:05PM +0200, Paul Chaignon wrote:
> On Thu, Apr 02, 2026 at 12:46:10PM +0200, Greg Kroah-Hartman wrote:
> > On Wed, Apr 01, 2026 at 06:42:49PM +0200, Paul Chaignon wrote:
> > > On Wed, Apr 01, 2026 at 07:32:26AM -0700, Alexei Starovoitov wrote:
> > > > On Wed, Apr 1, 2026 at 4:44 AM Greg Kroah-Hartman
> > > > <gregkh@linuxfoundation.org> wrote:
> > > > > On Wed, Apr 01, 2026 at 02:22:58PM +0800, Shung-Hsi Yu wrote:
...
> > > > I suggest ignoring the selftest failures.
> > > > The patch is necessary for stable and backports.
> > > > It's fixing a real issue.

Ack. I was only thinking about register invariant violation, but hadn't
thought about the scx_layered sched_ext scheduler load failure that was
reported by Andrea.

Come to think of it efc11a667878 ("bpf: Improve bounds when tnum has a
single possible value") probably should be brought in for similar
reason. I'll prepare and sent it to 6.12 (and earlier, if possible)
later this week.

...
> > Can you send the 2 patches needed here and I will queue them up.
>
> Will do. Thanks!

Thanks!