CVE-2025-68252 (GCVE-0-2025-68252)

Vulnerability from cvelistv5 – Published: 2025-12-16 14:32 – Updated: 2026-05-11 21:49
VLAI
Title
misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup
Summary
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup In fastrpc_map_lookup, dma_buf_get is called to obtain a reference to the dma_buf for comparison purposes. However, this reference is never released when the function returns, leading to a dma_buf memory leak. Fix this by adding dma_buf_put before returning from the function, ensuring that the temporarily acquired reference is properly released regardless of whether a matching map is found. Rule: add
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7018 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ec5cb80503bbfee67573699fe52fcf456fd57678 , < c2fef5ebb73f3dabae6fbc571d181914ed32c483 (git)
Affected: 6e0d6cc39f410a4d9ea774fbb254c68fe02ff4bb , < 9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3 (git)
Affected: 6e0928a8988e873da9946e17f8065ad77c720186 , < e17b13387827adce7acb19ac0f07f9bcafe0ff4c (git)
Affected: 1986bba9597b3d97d3e80530dc457a1cd1994e22 , < 214e81a63a9aa0be42382ef0365ba5ed32c513ab (git)
Affected: 9031626ade38b092b72638dfe0c6ffce8d8acd43 , < fff111bf45cbeeb659324316d68554e35d350092 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.1.156 , < 6.1.158 (semver)
Affected: 6.6.112 , < 6.6.115 (semver)
Affected: 6.12.53 , < 6.12.56 (semver)
Affected: 6.17.3 , < 6.17.6 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/fastrpc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c2fef5ebb73f3dabae6fbc571d181914ed32c483",
              "status": "affected",
              "version": "ec5cb80503bbfee67573699fe52fcf456fd57678",
              "versionType": "git"
            },
            {
              "lessThan": "9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3",
              "status": "affected",
              "version": "6e0d6cc39f410a4d9ea774fbb254c68fe02ff4bb",
              "versionType": "git"
            },
            {
              "lessThan": "e17b13387827adce7acb19ac0f07f9bcafe0ff4c",
              "status": "affected",
              "version": "6e0928a8988e873da9946e17f8065ad77c720186",
              "versionType": "git"
            },
            {
              "lessThan": "214e81a63a9aa0be42382ef0365ba5ed32c513ab",
              "status": "affected",
              "version": "1986bba9597b3d97d3e80530dc457a1cd1994e22",
              "versionType": "git"
            },
            {
              "lessThan": "fff111bf45cbeeb659324316d68554e35d350092",
              "status": "affected",
              "version": "9031626ade38b092b72638dfe0c6ffce8d8acd43",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/fastrpc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6.1.158",
              "status": "affected",
              "version": "6.1.156",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.115",
              "status": "affected",
              "version": "6.6.112",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.56",
              "status": "affected",
              "version": "6.12.53",
              "versionType": "semver"
            },
            {
              "lessThan": "6.17.6",
              "status": "affected",
              "version": "6.17.3",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.158",
                  "versionStartIncluding": "6.1.156",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.115",
                  "versionStartIncluding": "6.6.112",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.56",
                  "versionStartIncluding": "6.12.53",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.6",
                  "versionStartIncluding": "6.17.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup\n\nIn fastrpc_map_lookup, dma_buf_get is called to obtain a reference to\nthe dma_buf for comparison purposes. However, this reference is never\nreleased when the function returns, leading to a dma_buf memory leak.\n\nFix this by adding dma_buf_put before returning from the function,\nensuring that the temporarily acquired reference is properly released\nregardless of whether a matching map is found.\n\nRule: add"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T21:49:46.501Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c2fef5ebb73f3dabae6fbc571d181914ed32c483"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3"
        },
        {
          "url": "https://git.kernel.org/stable/c/e17b13387827adce7acb19ac0f07f9bcafe0ff4c"
        },
        {
          "url": "https://git.kernel.org/stable/c/214e81a63a9aa0be42382ef0365ba5ed32c513ab"
        },
        {
          "url": "https://git.kernel.org/stable/c/fff111bf45cbeeb659324316d68554e35d350092"
        }
      ],
      "title": "misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-68252",
    "datePublished": "2025-12-16T14:32:18.819Z",
    "dateReserved": "2025-12-16T13:41:40.266Z",
    "dateUpdated": "2026-05-11T21:49:46.501Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-68252",
      "date": "2026-11-01",
      "epss": "0.00186",
      "percentile": "0.08193"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/misc/fastrpc.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c2fef5ebb73f3dabae6fbc571d181914ed32c483",
                    "status": "affected",
                    "version": "ec5cb80503bbfee67573699fe52fcf456fd57678",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3",
                    "status": "affected",
                    "version": "6e0d6cc39f410a4d9ea774fbb254c68fe02ff4bb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e17b13387827adce7acb19ac0f07f9bcafe0ff4c",
                    "status": "affected",
                    "version": "6e0928a8988e873da9946e17f8065ad77c720186",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "214e81a63a9aa0be42382ef0365ba5ed32c513ab",
                    "status": "affected",
                    "version": "1986bba9597b3d97d3e80530dc457a1cd1994e22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fff111bf45cbeeb659324316d68554e35d350092",
                    "status": "affected",
                    "version": "9031626ade38b092b72638dfe0c6ffce8d8acd43",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/misc/fastrpc.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6.1.158",
                    "status": "affected",
                    "version": "6.1.156",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.6.115",
                    "status": "affected",
                    "version": "6.6.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.12.56",
                    "status": "affected",
                    "version": "6.12.53",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.17.6",
                    "status": "affected",
                    "version": "6.17.3",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup\n\nIn fastrpc_map_lookup, dma_buf_get is called to obtain a reference to\nthe dma_buf for comparison purposes. However, this reference is never\nreleased when the function returns, leading to a dma_buf memory leak.\n\nFix this by adding dma_buf_put before returning from the function,\nensuring that the temporarily acquired reference is properly released\nregardless of whether a matching map is found.\n\nRule: add"
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmisc: fastrpc: Correcci\u00f3n de fuga de objeto dma_buf en fastrpc_map_lookup\n\nEn fastrpc_map_lookup, se llama a dma_buf_get para obtener una referencia al dma_buf con fines de comparaci\u00f3n. Sin embargo, esta referencia nunca se libera cuando la funci\u00f3n retorna, lo que provoca una fuga de memoria de dma_buf.\n\nEsto se corrige a\u00f1adiendo dma_buf_put antes de retornar de la funci\u00f3n, asegurando que la referencia adquirida temporalmente se libere correctamente independientemente de si se encuentra un mapa coincidente."
          }
        ],
        "id": "CVE-2025-68252",
        "lastModified": "2026-10-14T13:10:00.187",
        "metrics": {},
        "published": "2025-12-16T15:15:54.520",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/214e81a63a9aa0be42382ef0365ba5ed32c513ab"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c2fef5ebb73f3dabae6fbc571d181914ed32c483"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e17b13387827adce7acb19ac0f07f9bcafe0ff4c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fff111bf45cbeeb659324316d68554e35d350092"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:37:14+00:00",
      "cve": "CVE-2025-68252",
      "id": "CVE-2025-68252",
      "initial_release_date": "2025-12-16T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68252.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.