VDB

CISA-2023-52462

CISA-2023-52462 PUBLISHED

Reported by Linux · Published February 23, 2024

In the Linux kernel, the following vulnerability has been resolved: bpf: fix check for attempt to corrupt spilled pointer When register is spilled onto a stack as a 1/2/4-byte register, we set slot_type[BPF_REG_SIZE - 1] (plus potentially few more below it, depending on actual spill size). So to check if some stack slot has spilled register we need to consult slot_type[7], not slot_type[0]. To avoid the need to remember and double-check this in the future, just use is_spilled_reg() helper.

Affected Products

VendorProductVersions
LinuxLinuxcdd73a5ed0840da88a3b9ad353f568e6f156d417, 07c286c10a9cedbd71f20269ff3a4e73d9aab2fe, 27113c59b6d0a587b29ae72d4ff3f832f58b0651
LinuxLinux5.16, 0, 5.10.209
LinuxLinux0, 27113c59b6d0a587b29ae72d4ff3f832f58b0651, 27113c59b6d0a587b29ae72d4ff3f832f58b0651
linuxlinux_kernel5.15.86, 5.16, 5.16

Timeline

  • Feb 23, 2024 CVE Published
  • May 4, 2025 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›