Vulnerability in Linux
CVE-2025-21679
In the Linux kernel, the following vulnerability has been resolved: btrfs: add the missing error handling inside get_canonical_dev_path Inside function get_canonical_dev_path(), we call d_path() to get the final device path. But d_path() can return error, and in that case the next strscpy() call will trigger an invalid memory access. Add back the missing error handling for d_path().
EPSS: 0.002 (6.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 5d261f60b5c82ba1e4b5555252e1c90c43d96015, 7e06de7c83a746e58d4701e013182af133395188, 6.12.5
- Linux Linux_kernel — versions 6.13
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2025-21679?
- CVE-2025-21679 is a medium-severity vulnerability in Linux. CVSS score: 5.5/10. Published 2025-01-31.
- How severe is CVE-2025-21679?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2025-21679 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.