CVE-2025-68744

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a to before 994d6303ed0b84cbc795bb5becf7ed6de40d3f3cAffected
  • 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a to before 3bf1378747e251571e0de15e7e0a6bf2919044e7Affected
  • 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a to before 96a5cb7072cabbac5c66ac9318242c3bdceebb68Affected
  • 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a to before 4a03d69cece145e4fb527464be29c3806aa3221eAffected
  • 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a to before 6af6e49a76c9af7d42eb923703e7648cb2bf401aAffected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.120 through 6.6.*Not affected
  • 6.12.63 through 6.12.*Not affected
  • 6.17.13 through 6.17.*Not affected
  • 6.18.2 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.