CVE-2026-90250: bpf, cgroup: Fix storage null-ptr-deref after replacing prog

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf, cgroup: Fix storage null-ptr-deref after replacing prog

Syzkaller reported a storage null-ptr-deref issue after replacing prog. This occurs in the following scenario: 1. prog A, an empty prog, is attached to a cgrp. 2. prog B uses BPFMAPTYPEPERCPUCGROUPSTORAGE and calls the bpfgetlocalstorage helper. 3. linkupdate is called to replace prog A with prog B.

The reason is that cgroupbpfreplace fails to alloc and assign the required cgrp storage for the incoming replacement prog. Consequently, the new prog inherits an uninit storage, leading to null-ptr-deref panic when kick the new prog.

Fix this by rejecting a link update if newprog's cgroup storage is incompatible with link->prog.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the panic?

A cgroup must have an empty BPF program attached, then a link update must replace it with a program that uses BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE and calls bpf_get_local_storage. When the replacement program is subsequently executed, it can dereference uninitialized cgroup storage and panic.

2

Is a normal BPF program replacement affected?

The issue is specific to replacing a linked cgroup BPF program where the incoming program requires per-CPU cgroup storage but the existing linked program does not have compatible storage. The described failure path is link_update from an empty program to a storage-using program.

3

What does the fix change?

The fix rejects a link update when the replacement program's cgroup storage is incompatible with the program currently associated with the link. This prevents the replacement program from inheriting uninitialized storage.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203