Database/Kernel, userspace & hypervisor
Linux kernel BPF verifier (stack depth tracking for variable-offset writes): check_mem_access() passed only the fixed
Impact
check_mem_access() passed only the fixed part of an offset register to the stack-depth accounting, ignoring the variable part, so a program whose writes used a variable offset could verify while the kernel allocated a stack smaller than the program actually needs. The program then reads out of bounds at run time - a kernel memory disclosure or corruption that the verifier was supposed to make impossible. The same patch also makes privileged reads of uninitialized stack slots behave consistently. On GPU nodes the exposure is whatever is allowed to load BPF: the CNI, the node agents, the metrics exporters.
Who can reach it
Local user able to load BPF programs, which means CAP_BPF/CAP_SYS_ADMIN or root; the inconsistency fixed here concerns privileged programs specifically. An unprivileged tenant without BPF access cannot reach it.
What to do
Move to a kernel with the fix (four stable commits are listed) and reboot each node to run it. No runtime toggle exists; restricting who may load BPF programs is the only interim step. Treat it as a rolling drain and reboot alongside the other BPF verifier fixes rather than a window of its own.
References
Related entries
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): Missing or insufficient validation of user-suppliedCVE-2023-52678 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): An out-of-bounds access in the amdkfd (KFD computeCVE-2023-52816 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A use-after-free in the amdkfd (KFD compute driverCVE-2023-52825 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
- Linux i915 GPU kernel driver: A use-after-free in the i915 GPU kernel driver. The general shape is that a GPU object isCVE-2023-52913 · Linux i915 GPU kernel driverHigh
- Linux i915 GPU kernel driver (GEM tiling): A double-free reachable by racing I915_GEM_SET_TILING from multiple threads.CVE-2023-52930 · Linux i915 GPU kernel driver (GEM tiling)High
- Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd): A correctness defect in the amdkfd (KFD computeCVE-2023-53009 · Linux kernel amdkfd (KFD compute driver, /dev/kfd) (drm/amdkfd)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.