Files
linux-stable-mirror/include/linux
Daniel Jordan 3e6c08dd97 padata: Put CPU offline callback in ONLINE section to allow failure
[ Upstream commit c8c4a2972f ]

syzbot reported the following warning:

    DEAD callback error for CPU1
    WARNING: kernel/cpu.c:1463 at _cpu_down+0x759/0x1020 kernel/cpu.c:1463, CPU#0: syz.0.1960/14614

at commit 4ae12d8bd9 ("Merge tag 'kbuild-fixes-7.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux")
which tglx traced to padata_cpu_dead() given it's the only
sub-CPUHP_TEARDOWN_CPU callback that returns an error.

Failure isn't allowed in hotplug states before CPUHP_TEARDOWN_CPU
so move the CPU offline callback to the ONLINE section where failure is
possible.

Fixes: 894c9ef978 ("padata: validate cpumask without removed CPU during offline")
Reported-by: syzbot+123e1b70473ce213f3af@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/69af0a05.050a0220.310d8.002f.GAE@google.com/
Debugged-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-05-23 13:04:29 +02:00
..
2026-03-04 07:19:39 -05:00
2026-03-04 07:20:22 -05:00
2026-03-04 07:19:26 -05:00
2025-12-18 13:55:17 +01:00
2026-01-08 10:13:54 +01:00
2026-01-08 10:14:34 +01:00
2026-04-11 14:24:32 +02:00
2025-12-18 13:55:18 +01:00
2026-02-11 13:40:25 +01:00
2026-05-14 15:29:29 +02:00
2026-01-08 10:14:11 +01:00
2026-02-11 13:40:25 +01:00
2026-03-04 07:19:35 -05:00