Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.63, 6.17.13, 6.18.2, 6.6.120
CVEs
CVE-2025-68744
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:11 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 24 Dec 2025, 12:09 UTC

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

osv:CVE-2025-68744

Kernel

Fixed versions: 6.6.120, 6.12.63, 6.17.13, 6.18.2

Complete source record
{
  "id": "3b57b9911424b713db5940df82596b2971bea582033d8cf13fc44772724aff44",
  "url": "https://osv.dev/vulnerability/CVE-2025-68744",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bpf: Free special fields when update [lru_,]percpu_hash maps",
    "summary": "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()'.",
    "evidence": "osv:CVE-2025-68744",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.120",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.63",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-68744",
      "aliases": [
        "CVE-2025-68744"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "65334e64a493c6a0976de7ad56bf8b7a9ff04b4a"
                },
                {
                  "fixed": "994d6303ed0b84cbc795bb5becf7ed6de40d3f3c"
                },
                {
                  "fixed": "3bf1378747e251571e0de15e7e0a6bf2919044e7"
                },
                {
                  "fixed": "96a5cb7072cabbac5c66ac9318242c3bdceebb68"
                },
                {
                  "fixed": "4a03d69cece145e4fb527464be29c3806aa3221e"
                },
                {
                  "fixed": "6af6e49a76c9af7d42eb923703e7648cb2bf401a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68744.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.6.120"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.63"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.18.0"
                },
                {
                  "fixed": "6.18.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68744.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.092784003Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3bf1378747e251571e0de15e7e0a6bf2919044e7",
        "https://git.kernel.org/stable/c/4a03d69cece145e4fb527464be29c3806aa3221e",
        "https://git.kernel.org/stable/c/6af6e49a76c9af7d42eb923703e7648cb2bf401a",
        "https://git.kernel.org/stable/c/96a5cb7072cabbac5c66ac9318242c3bdceebb68",
        "https://git.kernel.org/stable/c/994d6303ed0b84cbc795bb5becf7ed6de40d3f3c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68744.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68744",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68744.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68744",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 509733,
  "published_at": "2025-12-24T12:09:40.839+00:00"
}