CVE-2025-21734
JSON

7.8high

misc: fastrpc: Fix copy buffer page size

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.31% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 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.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: misc: fastrpc: Se corrige el tamaño de página del búfer de copia Para un búfer no registrado, el controlador fastrpc copia el búfer y lo pasa al subsistema remoto. Hay un problema con la implementación actual del cálculo del tamaño de página que no considera el desplazamiento en el cálculo. Esto podría provocar que se pase un tamaño de página incorrecto y fuera de los límites, lo que podría generar un problema de memoria. Calcule el inicio y el final de la página utilizando la dirección ajustada por desplazamiento en lugar de la dirección absoluta.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21734 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-21734 changed 2026-07-30Public domain