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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-17T16:07:51.403Z
- Modified: 2026-10-30T13:20:47.760Z
- Assigned by: Linux

## Description

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 BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE and calls the
   bpf_get_local_storage helper.
3. link_update is called to replace prog A with prog B.

The reason is that __cgroup_bpf_replace 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 new_prog's cgroup storage is
incompatible with link->prog.

(As written by CVE List.)

## Affected

- Linux Linux: from 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab before 85785e7e2ebddcaa5c3b31bd3bcd83ae648985d4; from 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab before 16c8321ee40c420f8e02e09515a5126682ddf4ea; from 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab before a033c950f6731be88a7da98604ed78f302f15b80; from 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab before 1ab3da12061d7ccb099f7e925fa2d865967a316a; from 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab before 12feca126831556dc7fabe5a3ba28fbd328768b6; from 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab before 3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94; 5.7 (not affected: before 5.7; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/85785e7e2ebddcaa5c3b31bd3bcd83ae648985d4>
- <https://git.kernel.org/stable/c/16c8321ee40c420f8e02e09515a5126682ddf4ea>
- <https://git.kernel.org/stable/c/a033c950f6731be88a7da98604ed78f302f15b80>
- <https://git.kernel.org/stable/c/1ab3da12061d7ccb099f7e925fa2d865967a316a>
- <https://git.kernel.org/stable/c/12feca126831556dc7fabe5a3ba28fbd328768b6>
- <https://git.kernel.org/stable/c/3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94>

## Sources

- CVE List: [CVE-2026-90250](https://www.cve.org/CVERecord?id=CVE-2026-90250), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90250](https://nvd.nist.gov/vuln/detail/CVE-2026-90250), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90250 · Whole record: https://cve.day/CVE-2026-90250.json · Rebuilt by cve.day 2026-11-25T22:59:39.357Z
