# CVE-2025-21734: misc: fastrpc: Fix copy buffer page size

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-02-27T02:12:11.663Z
- Modified: 2026-08-05T11:54:03.438Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

misc: fastrpc: Fix copy buffer page size

For non-registered buffer, fastrpc driver copies the buffer and
pass it to the remote subsystem. There is a problem with current
implementation of page size calculation which is not considering
the offset in the calculation. This might lead to passing of
improper and out-of-bounds page size which could result in
memory issue. Calculate page start and page end using the offset
adjusted address instead of absolute address.

(As written by CVE List.)

## Affected

- Linux Linux: from 02b45b47fbe84e23699bb6bdc74d4c2780e282b4 before c56ba3ea8e3c9a69a992aad18f7a65e43e51d623; from 02b45b47fbe84e23699bb6bdc74d4c2780e282b4 before c0464bad0e85fcd5d47e4297d1e410097c979e55; from 02b45b47fbe84e23699bb6bdc74d4c2780e282b4 before 24a79c6bc8de763f7c50f4f84f8b0c183bc25a51; from 02b45b47fbe84e23699bb6bdc74d4c2780e282b4 before c3f7161123fcbdc64e90119ccce292d8b66281c4; from 02b45b47fbe84e23699bb6bdc74d4c2780e282b4 before e966eae72762ecfdbdb82627e2cda48845b9dd66; 5.2 (not affected: before 5.2; from 6.1.129 up to 6.1.*; from 6.6.78 up to 6.6.*; from 6.12.14 up to 6.12.*; from 6.13.3 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.2 before 6.1.129; from 6.2 before 6.6.78; from 6.7 before 6.12.14; from 6.13 before 6.13.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/c56ba3ea8e3c9a69a992aad18f7a65e43e51d623> (patch)
- <https://git.kernel.org/stable/c/c0464bad0e85fcd5d47e4297d1e410097c979e55> (patch)
- <https://git.kernel.org/stable/c/24a79c6bc8de763f7c50f4f84f8b0c183bc25a51> (patch)
- <https://git.kernel.org/stable/c/c3f7161123fcbdc64e90119ccce292d8b66281c4> (patch)
- <https://git.kernel.org/stable/c/e966eae72762ecfdbdb82627e2cda48845b9dd66> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Sources

- CVE List: [CVE-2025-21734](https://www.cve.org/CVERecord?id=CVE-2025-21734), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21734](https://nvd.nist.gov/vuln/detail/CVE-2025-21734), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21734 · Whole record: https://cve.day/CVE-2025-21734.json · Rebuilt by cve.day 2026-11-25T22:58:54.511Z
