{"id":"CVE-2026-90250","aliases":["CVE-2026-90250"],"related":[],"kind":"vulnerability","state":"published","title":"bpf, cgroup: Fix storage null-ptr-deref after replacing prog","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, cgroup: Fix storage null-ptr-deref after replacing prog\n\nSyzkaller reported a storage null-ptr-deref issue after replacing prog.\nThis occurs in the following scenario:\n1. prog A, an empty prog, is attached to a cgrp.\n2. prog B uses BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE and calls the\n   bpf_get_local_storage helper.\n3. link_update is called to replace prog A with prog B.\n\nThe reason is that __cgroup_bpf_replace fails to alloc and assign the\nrequired cgrp storage for the incoming replacement prog. Consequently,\nthe new prog inherits an uninit storage, leading to null-ptr-deref panic\nwhen kick the new prog.\n\nFix this by rejecting a link update if new_prog's cgroup storage is\nincompatible with link->prog.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, cgroup: Fix storage null-ptr-deref after replacing prog\n\nSyzkaller reported a storage null-ptr-deref issue after replacing prog.\nThis occurs in the following scenario:\n1. prog A, an empty prog, is attached to a cgrp.\n2. prog B uses BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE and calls the\n   bpf_get_local_storage helper.\n3. link_update is called to replace prog A with prog B.\n\nThe reason is that __cgroup_bpf_replace fails to alloc and assign the\nrequired cgrp storage for the incoming replacement prog. Consequently,\nthe new prog inherits an uninit storage, leading to null-ptr-deref panic\nwhen kick the new prog.\n\nFix this by rejecting a link update if new_prog's cgroup storage is\nincompatible with link->prog.","source":"cvelist"}],"published":"2026-09-17T16:07:51.403Z","modified":"2026-10-30T13:20:47.760Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab","fixed":"85785e7e2ebddcaa5c3b31bd3bcd83ae648985d4","status":"affected"},{"type":"git","introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab","fixed":"16c8321ee40c420f8e02e09515a5126682ddf4ea","status":"affected"},{"type":"git","introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab","fixed":"a033c950f6731be88a7da98604ed78f302f15b80","status":"affected"},{"type":"git","introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab","fixed":"1ab3da12061d7ccb099f7e925fa2d865967a316a","status":"affected"},{"type":"git","introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab","fixed":"12feca126831556dc7fabe5a3ba28fbd328768b6","status":"affected"},{"type":"git","introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab","fixed":"3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/85785e7e2ebddcaa5c3b31bd3bcd83ae648985d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16c8321ee40c420f8e02e09515a5126682ddf4ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a033c950f6731be88a7da98604ed78f302f15b80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ab3da12061d7ccb099f7e925fa2d865967a316a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12feca126831556dc7fabe5a3ba28fbd328768b6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90250","url":"https://www.cve.org/CVERecord?id=CVE-2026-90250","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:56.117Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90250","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90250","licence":"Public domain","modified":"2026-10-30T13:20:47.760Z"}],"updatedAt":"2026-11-25T22:59:39.357Z","epss":{"score":0.00206,"percentile":0.11285,"date":"2026-12-01T12:00:22.000Z"}}