{"id":"CVE-2023-52462","aliases":["CVE-2023-52462"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: fix check for attempt to corrupt spilled pointer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix check for attempt to corrupt spilled pointer\n\nWhen register is spilled onto a stack as a 1/2/4-byte register, we set\nslot_type[BPF_REG_SIZE - 1] (plus potentially few more below it,\ndepending on actual spill size). So to check if some stack slot has\nspilled register we need to consult slot_type[7], not slot_type[0].\n\nTo avoid the need to remember and double-check this in the future, just\nuse is_spilled_reg() helper.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix check for attempt to corrupt spilled pointer\n\nWhen register is spilled onto a stack as a 1/2/4-byte register, we set\nslot_type[BPF_REG_SIZE - 1] (plus potentially few more below it,\ndepending on actual spill size). So to check if some stack slot has\nspilled register we need to consult slot_type[7], not slot_type[0].\n\nTo avoid the need to remember and double-check this in the future, just\nuse is_spilled_reg() helper.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: revisión de corrección para intentar dañar el puntero derramado Cuando el registro se derrama en una pila como un registro de 1/2/4 bytes, configuramos slot_type[BPF_REG_SIZE - 1] (más potencialmente algunos más debajo de él, dependiendo del tamaño real del derrame). Entonces, para verificar si alguna ranura de la pila se ha desbordado, debemos consultar slot_type[7], no slot_type[0]. Para evitar la necesidad de recordar y volver a verificar esto en el futuro, simplemente use el asistente is_spilled_reg().","source":"nvd"}],"published":"2024-02-23T14:46:22.900Z","modified":"2026-06-17T06:42:46.573Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"cdd73a5ed0840da88a3b9ad353f568e6f156d417","fixed":"2757f17972d87773b3677777f5682510f13c66ef","status":"affected"},{"type":"git","introduced":"07c286c10a9cedbd71f20269ff3a4e73d9aab2fe","fixed":"67e6707f07354ed1acb4e65552e97c60cf9d69cf","status":"affected"},{"type":"git","introduced":"27113c59b6d0a587b29ae72d4ff3f832f58b0651","fixed":"fc3e3c50a0a4cac1463967c110686189e4a59104","status":"affected"},{"type":"git","introduced":"27113c59b6d0a587b29ae72d4ff3f832f58b0651","fixed":"8dc15b0670594543c356567a1a45b0182ec63174","status":"affected"},{"type":"git","introduced":"27113c59b6d0a587b29ae72d4ff3f832f58b0651","fixed":"40617d45ea05535105e202a8a819e388a2b1f036","status":"affected"},{"type":"git","introduced":"27113c59b6d0a587b29ae72d4ff3f832f58b0651","fixed":"ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae","status":"affected"},{"type":"semver","introduced":"5.10.163","fixed":"5.10.209","status":"affected"},{"type":"semver","introduced":"5.15.86","fixed":"5.15.148","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"5.10.209","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.148","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.75","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.14","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.2","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10.209"},{"status":"affected","introduced":"5.11.0","fixed":"5.15.148"},{"status":"affected","introduced":"5.16.0","fixed":"6.1.75"},{"status":"affected","introduced":"6.2.0","fixed":"6.6.14"},{"status":"affected","introduced":"6.7.0","fixed":"6.7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2757f17972d87773b3677777f5682510f13c66ef","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67e6707f07354ed1acb4e65552e97c60cf9d69cf","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc3e3c50a0a4cac1463967c110686189e4a59104","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8dc15b0670594543c356567a1a45b0182ec63174","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40617d45ea05535105e202a8a819e388a2b1f036","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-25T18:04:18.745Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52462","url":"https://www.cve.org/CVERecord?id=CVE-2023-52462","licence":"CVE Terms of Use","modified":"2026-05-23T15:25:35.174Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52462","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52462","licence":"Public domain","modified":"2026-06-17T06:42:46.573Z"}],"updatedAt":"2026-11-25T22:58:33.067Z","epss":{"score":0.00226,"percentile":0.14241,"date":"2026-12-01T12:00:22.000Z"}}