bpf: Free special fields when update [lru_,]percpu_hash maps (Linux Linux)

CVE-2025-68744
Not available

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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()'.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a < 994d6303ed0b84cbc795bb5becf7ed6de40d3f3c ; affected 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a < 3bf1378747e251571e0de15e7e0a6bf2919044e7 ; affected 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a < 96a5cb7072cabbac5c66ac9318242c3bdceebb68 ; affected 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a < 4a03d69cece145e4fb527464be29c3806aa3221e ; affected 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a < 6af6e49a76c9af7d42eb923703e7648cb2bf401a
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.120 ≤ 6.6.* ; unaffected 6.12.63 ≤ 6.12.* ; unaffected 6.17.13 ≤ 6.17.* ; unaffected 6.18.2 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD