{"id":"CVE-2025-40050","published":"2025-10-28T11:48:26Z","modified":"2026-05-11T21:41:30Z","title":"bpf: Skip scalar adjustment for BPF_NEG if dst is a pointer","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Skip scalar adjustment for BPF_NEG if dst is a pointer\n\nIn check_alu_op(), the verifier currently calls check_reg_arg() and\nadjust_scalar_min_max_vals() unconditionally for BPF_NEG operations.\nHowever, if the destination register holds a pointer, these scalar\nadjustments are unnecessary and potentially incorrect.\n\nThis patch adds a check to skip the adjustment logic when the destination\nregister contains a pointer.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.12391,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b9ef4963227246b9222e1559ddeec8e7af63e6c6","tags":[]},{"url":"https://git.kernel.org/stable/c/34904582b502a86fdb4d7984b12cacd2faabbe0d","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.48}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= aced132599b3c8884c050218d4c48eef203678f6, < b9ef4963227246b9222e1559ddeec8e7af63e6c6",">= aced132599b3c8884c050218d4c48eef203678f6, < 34904582b502a86fdb4d7984b12cacd2faabbe0d"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2025-36478","exploited":false,"provenance":"source"}}