{
  "id": "CVE-2025-21734",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21734",
  "published_at": "2025-02-27T02:12:11.663Z",
  "title": "misc: fastrpc: Fix copy buffer page size",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix copy buffer page size\n\nFor non-registered buffer, fastrpc driver copies the buffer and\npass it to the remote subsystem. There is a problem with current\nimplementation of page size calculation which is not considering\nthe offset in the calculation. This might lead to passing of\nimproper and out-of-bounds page size which could result in\nmemory issue. Calculate page start and page end using the offset\nadjusted address instead of absolute address.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 02b45b47fbe84e23699bb6bdc74d4c2780e282b4, \u003c c56ba3ea8e3c9a69a992aad18f7a65e43e51d623",
          "\u003e= 02b45b47fbe84e23699bb6bdc74d4c2780e282b4, \u003c c0464bad0e85fcd5d47e4297d1e410097c979e55",
          "\u003e= 02b45b47fbe84e23699bb6bdc74d4c2780e282b4, \u003c 24a79c6bc8de763f7c50f4f84f8b0c183bc25a51",
          "\u003e= 02b45b47fbe84e23699bb6bdc74d4c2780e282b4, \u003c c3f7161123fcbdc64e90119ccce292d8b66281c4",
          "\u003e= 02b45b47fbe84e23699bb6bdc74d4c2780e282b4, \u003c e966eae72762ecfdbdb82627e2cda48845b9dd66"
        ],
        "fixed_in": [
          "c56ba3ea8e3c9a69a992aad18f7a65e43e51d623",
          "c0464bad0e85fcd5d47e4297d1e410097c979e55",
          "24a79c6bc8de763f7c50f4f84f8b0c183bc25a51",
          "c3f7161123fcbdc64e90119ccce292d8b66281c4",
          "e966eae72762ecfdbdb82627e2cda48845b9dd66"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.2"
        ],
        "fixed_in": [
          "0",
          "6.1.129",
          "6.6.78",
          "6.12.14",
          "6.13.3",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c56ba3ea8e3c9a69a992aad18f7a65e43e51d623 or c0464bad0e85fcd5d47e4297d1e410097c979e55 or 24a79c6bc8de763f7c50f4f84f8b0c183bc25a51 or c3f7161123fcbdc64e90119ccce292d8b66281c4 or e966eae72762ecfdbdb82627e2cda48845b9dd66 or later.",
      "Upgrade Linux to 0 or 6.1.129 or 6.6.78 or 6.12.14 or 6.13.3 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
