Security Advisory

CVE-2025-40050

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2025-10-28 11:48:26
Last updated 2026-05-11 21:41:30
Assigner Linux
State PUBLISHED

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Skip scalar adjustment for BPF_NEG if dst is a pointer In check_alu_op(), the verifier currently calls check_reg_arg() and adjust_scalar_min_max_vals() unconditionally for BPF_NEG operations. However, if the destination register holds a pointer, these scalar adjustments are unnecessary and potentially incorrect. This patch adds a check to skip the adjustment logic when the destination register contains a pointer.