CVE-2025-21734·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.13.3
- Published
- 2025-02-27
Affected versions
From: 6.13
Until: 6.13.3
Fixed in: 6.13.3
How to fix this CVE
Update your Linux kernel to version 6.13.3 or later to resolve a memory calculation vulnerability in the fastrpc driver that affects non-registered buffer handling. This patch corrects improper page size calculations when processing buffers, preventing potential memory access violations and system instability. Systems running kernel versions 6.13 through 6.13.2 should prioritize this update.
sudo dnf update kernel kernel-devel kernel-headersDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — ensure it is not in the 6.13.0-6.13.2 range
- Verify fastrpc module is loaded: lsmod | grep fastrpc — if not present, vulnerability exposure is minimal but update is still recommended
- Review kernel compilation options: grep CONFIG_FASTRPC /boot/config-$(uname -r) — look for =y or =m to determine if fastrpc is enabled
- After patching, reboot and confirm new kernel version: uname -r — should show 6.13.3 or later
FAQ
What is CVE-2025-21734?
This vulnerability affects the Linux kernel's fastrpc driver buffer handling. When copying unregistered buffers to remote subsystems, the driver miscalculates memory page boundaries by ignoring buffer offsets, potentially causing out-of-bounds memory access and system instability.
Is CVE-2025-21734 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the high CVSS score (7.8) warrants prompt patching.
What versions of Kernel are affected by CVE-2025-21734?
Linux kernel versions 6.13 through 6.13.2 are affected. Kernel 6.13.3 and later include the fix.
How do I check if my server is vulnerable to CVE-2025-21734?
Run 'uname -r' and verify the output. If it shows 6.13.0, 6.13.1, or 6.13.2, your system is vulnerable. Also confirm fastrpc is enabled with: grep CONFIG_FASTRPC /boot/config-$(uname -r)
Does Defensia detect CVE-2025-21734?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2025-21734 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/24a79c6bc8de763f7c50f4f84f8b0c183bc25a51
- https://git.kernel.org/stable/c/c0464bad0e85fcd5d47e4297d1e410097c979e55
- https://git.kernel.org/stable/c/c3f7161123fcbdc64e90119ccce292d8b66281c4
- https://git.kernel.org/stable/c/c56ba3ea8e3c9a69a992aad18f7a65e43e51d623
- https://git.kernel.org/stable/c/e966eae72762ecfdbdb82627e2cda48845b9dd66
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-21734. Free for 1 server.
Get started free