{"id":"CVE-2026-90250","summary":"bpf, cgroup: Fix storage null-ptr-deref after replacing prog","details":"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-\u003eprog.","modified":"2026-09-19T03:47:25.586837323Z","published":"2026-09-17T16:07:51.403Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90250.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/12feca126831556dc7fabe5a3ba28fbd328768b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ab3da12061d7ccb099f7e925fa2d865967a316a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a033c950f6731be88a7da98604ed78f302f15b80"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90250.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90250"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0c991ebc8c69d29b7fc44db17075c5aa5253e2ab"},{"fixed":"a033c950f6731be88a7da98604ed78f302f15b80"},{"fixed":"1ab3da12061d7ccb099f7e925fa2d865967a316a"},{"fixed":"12feca126831556dc7fabe5a3ba28fbd328768b6"},{"fixed":"3f562c537e9ecf4bc5e206cfffc2cc047f1b7e94"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90250.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90250.json"}}],"schema_version":"1.9.0"}