CVE-2025-21804: Linux kernel · NULL Pointer Dereference
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 01:14 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been applied in the Linux kernel to correct the variable used in devm_request_mem_region() calls within the rcar-ep driver. Users should update to the fixed kernel version once available. No other mitigation is specified.
Description
CVE-2025-21804 is a medium severity vulnerability in the Linux kernel's PCI rcar-ep driver. It involves the incorrect use of a stack-based string variable when calling devm_request_mem_region(), which can cause undefined behavior. This may lead to system crashes due to string iterator overruns accessing unmapped memory. The issue has been fixed by correcting the variable used for the resource name.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21804 (opens in a new tab)
- git.kernel.org/stable/c/24576899c49509c0d533bcf569139f691d8f7af7 (opens in a new tab)
- git.kernel.org/stable/c/2c54b9fca1755e80a343ccfde0652dc5ea4744b2 (opens in a new tab)
- git.kernel.org/stable/c/2d2da5a4c1b4509f6f7e5a8db015cd420144beb4 (opens in a new tab)
- git.kernel.org/stable/c/44708208c2a4b828a57a2abe7799c9d3962e7eaa (opens in a new tab)
- git.kernel.org/stable/c/6987e021b64cbb49981d140bb72d9d1466f191c4 (opens in a new tab)
- git.kernel.org/stable/c/7a47e14c5fb0b6dba7073be7b0119fb8fe864e01 (opens in a new tab)
- git.kernel.org/stable/c/9ff46b0bfeb6e0724a4ace015aa7a0b887cdb7c1 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)