cbcvebase.
CVE-2025-21804
published 2025-02-27

CVE-2025-21804: In the Linux kernel, the following vulnerability has been resolved: PCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region() The…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.20%
10.0th percentile
In the Linux kernel, the following vulnerability has been resolved: PCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region() The rcar_pcie_parse_outbound_ranges() uses the devm_request_mem_region() macro to request a needed resource. A string variable that lives on the stack is then used to store a dynamically computed resource name, which is then passed on as one of the macro arguments. This can lead to undefined behavior. Depending on the current contents of the memory, the manifestations of errors may vary. One possible output may be as follows: $ cat /proc/iomem 30000000-37ffffff : 38000000-3fffffff : Sometimes, garbage may appear after the colon. In very rare cases, if no NULL-terminator is found in memory, the system might crash because the string iterator will overrun which can lead to access of unmapped memory above the stack. Thus, fix this by replacing outbound_name with the name of the previously requested resource. With the changes applied, the output will be as follows: $ cat /proc/iomem 30000000-37ffffff : memory2 38000000-3fffffff : memory3 [kwilczynski: commit log]

Affected

22 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.129-1 (bookworm)linux 6.1.129-1 (bookworm)
debianlinux-6.1< linux 6.1.129-1 (bookworm)linux 6.1.129-1 (bookworm)
linuxlinux
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 7a47e14c5fb0b6dba7073be7b0119fb8fe864e017a47e14c5fb0b6dba7073be7b0119fb8fe864e01
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 6987e021b64cbb49981d140bb72d9d1466f191c46987e021b64cbb49981d140bb72d9d1466f191c4
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 24576899c49509c0d533bcf569139f691d8f7af724576899c49509c0d533bcf569139f691d8f7af7
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 2c54b9fca1755e80a343ccfde0652dc5ea4744b22c54b9fca1755e80a343ccfde0652dc5ea4744b2
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 9ff46b0bfeb6e0724a4ace015aa7a0b887cdb7c19ff46b0bfeb6e0724a4ace015aa7a0b887cdb7c1
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 44708208c2a4b828a57a2abe7799c9d3962e7eaa44708208c2a4b828a57a2abe7799c9d3962e7eaa
linuxlinux>= 2a6d0d63d99956a66f6605832f11755d74a41951 < 2d2da5a4c1b4509f6f7e5a8db015cd420144beb42d2da5a4c1b4509f6f7e5a8db015cd420144beb4
linuxlinux_kernel>= 0 < 5.10.237-15.10.237-1
linuxlinux_kernel>= 0 < 6.1.129-16.1.129-1
linuxlinux_kernel>= 0 < 6.12.13-16.12.13-1
linuxlinux_kernel>= 0 < 6.12.13-16.12.13-1
linuxlinux_kernel>= 0 < 5.15.0-140.1505.15.0-140.150
linuxlinux_kernel>= 0 < 6.8.0-64.676.8.0-64.67
linuxlinux_kernel>= 5.11 < 5.15.1795.15.179
linuxlinux_kernel>= 5.16 < 6.1.1296.1.129
linuxlinux_kernel>= 5.8 < 5.10.2355.10.235
linuxlinux_kernel>= 6.13 < 6.13.26.13.2
linuxlinux_kernel>= 6.2 < 6.6.766.6.76
linuxlinux_kernel>= 6.7 < 6.12.136.12.13

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.