Not scored
bpf: Free special fields when update [lru_,]percpu_hash maps
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Free special fields when update [lru_,]percpu_hash maps As [lru_,]percpu_hash maps support BPF_KPTR_{REF,PERCPU}, missing calls to 'bpf_obj_free_fields()' in 'pcpu_copy_value()' could cause the memory referenced by BPF_KPTR_{REF,PERCPU} fields to be held until the map gets freed. Fix this by calling 'bpf_obj_free_fields()' after 'copy_map_value[,_long]()' in 'pcpu_copy_value()'.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a before 994d6303ed0b84cbc795bb5becf7ed6de40d3f3c, from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a before 3bf1378747e251571e0de15e7e0a6bf2919044e7, from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a before 96a5cb7072cabbac5c66ac9318242c3bdceebb68, from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a before 4a03d69cece145e4fb527464be29c3806aa3221e, from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a before 6af6e49a76c9af7d42eb923703e7648cb2bf401a, 6.4 Not affected: before 6.4, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.*, from 6.18.2 up to 6.18.*, from 6.19 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: bpf: Free special fields when update [lru_,]percpu_hash maps As [lru_,]percpu_hash maps support BPF_KPTR_{REF,PERCPU}, missing calls to 'bpf_obj_free_fields()' in 'pcpu_copy_value()' could cause the memory referenced by BPF_KPTR_{REF,PERCPU} fields to be held until the map gets freed. Fix this by calling 'bpf_obj_free_fields()' after 'copy_map_value[,_long]()' in 'pcpu_copy_value()'.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bpf: Liberar campos especiales al actualizar mapas [lru_,]percpu_hash Dado que los mapas [lru_,]percpu_hash soportan BPF_KPTR_{REF,PERCPU}, las llamadas faltantes a 'bpf_obj_free_fields()' en 'pcpu_copy_value()' podrían causar que la memoria referenciada por los campos BPF_KPTR_{REF,PERCPU} se retenga hasta que el mapa sea liberado. Solucionar esto llamando a 'bpf_obj_free_fields()' después de 'copy_map_value[,_long]()' en 'pcpu_copy_value()'.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68744 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-68744 changed 2026-10-13 | Public domain |