{"id":"CVE-2026-90159","aliases":["CVE-2026-90159"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Disallow bpf_{g,s}etsockopt() in cgroup UNIX getname hooks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Disallow bpf_{g,s}etsockopt() in cgroup UNIX getname hooks\n\n_bpf_setsockopt() and _bpf_getsockopt() call sock_owned_by_me() for\nfull sockets, so these helpers expect the socket lock to be held.\n\nBPF_CGROUP_UNIX_GETPEERNAME and BPF_CGROUP_UNIX_GETSOCKNAME run BPF\nprograms without acquiring the socket lock. A program attached to\neither hook can therefore trigger the sock_owned_by_me() warning by\ncalling bpf_setsockopt() or bpf_getsockopt().\n\nDisallow bpf_setsockopt() and bpf_getsockopt() for CGROUP_UNIX_GETPEERNAME\nand CGROUP_UNIX_GETSOCKNAME.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Disallow bpf_{g,s}etsockopt() in cgroup UNIX getname hooks\n\n_bpf_setsockopt() and _bpf_getsockopt() call sock_owned_by_me() for\nfull sockets, so these helpers expect the socket lock to be held.\n\nBPF_CGROUP_UNIX_GETPEERNAME and BPF_CGROUP_UNIX_GETSOCKNAME run BPF\nprograms without acquiring the socket lock. A program attached to\neither hook can therefore trigger the sock_owned_by_me() warning by\ncalling bpf_setsockopt() or bpf_getsockopt().\n\nDisallow bpf_setsockopt() and bpf_getsockopt() for CGROUP_UNIX_GETPEERNAME\nand CGROUP_UNIX_GETSOCKNAME.","source":"cvelist"}],"published":"2026-09-17T16:06:51.151Z","modified":"2026-10-19T09:19:05.900Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"859051dd165ec6cc915f0f2114699021144fd249","fixed":"61769b9c882a964af3a6ebd9a8e43615f8713234","status":"affected"},{"type":"git","introduced":"859051dd165ec6cc915f0f2114699021144fd249","fixed":"fe91c3f64a738dd97e8542ad5bdfbe5ac430edf6","status":"affected"},{"type":"git","introduced":"859051dd165ec6cc915f0f2114699021144fd249","fixed":"daeb74f5f398e847d1d42906aec6610406a34fdc","status":"affected"},{"type":"git","introduced":"859051dd165ec6cc915f0f2114699021144fd249","fixed":"84473a7e1813a2da7b759ab1d098a84998c8d3f5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","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/61769b9c882a964af3a6ebd9a8e43615f8713234","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe91c3f64a738dd97e8542ad5bdfbe5ac430edf6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/daeb74f5f398e847d1d42906aec6610406a34fdc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84473a7e1813a2da7b759ab1d098a84998c8d3f5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90159","url":"https://www.cve.org/CVERecord?id=CVE-2026-90159","licence":"CVE Terms of Use","modified":"2026-10-19T08:58:57.864Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90159","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90159","licence":"Public domain","modified":"2026-10-19T09:19:05.900Z"}],"updatedAt":"2026-11-25T22:59:39.322Z","epss":{"score":0.002,"percentile":0.10397,"date":"2026-12-01T12:00:22.000Z"}}