---
id: CVE-2026-90250
title: |-
  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 scena…
summary: |-
  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 scena…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab <
    a033c950f6731be88a7da98604ed78f302f15b80
  - >-
    Linux >= 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab <
    1ab3da12061d7ccb099f7e925fa2d865967a316a
  - >-
    Linux >= 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab <
    12feca126831556dc7fabe5a3ba28fbd328768b6
  - >-
    Linux >= 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab <
    3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94
  - Linux 5.7
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:17:21.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90250'
references:
  - url: 'https://git.kernel.org/stable/c/12feca126831556dc7fabe5a3ba28fbd328768b6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1ab3da12061d7ccb099f7e925fa2d865967a316a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a033c950f6731be88a7da98604ed78f302f15b80'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T16:21:47.844Z'
epss: 0.00209
epssPercentile: 0.09862
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
