CVE-2025-21679
MediumIn 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().
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.12.5
and later are affected. Fixed in
6.12.11
and their respective stable series.
References
2 totalFrequently asked questions
-
What is CVE-2025-21679?
CVE-2025-21679 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.12.5 onward and has been patched in 6.12.11. CVE-2025-21679 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-21679?
CVE-2025-21679 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-21679?
Yes. CVE-2025-21679 has been patched. Fixed versions include 6.12.11. If you are running Linux kernel 6.12.5 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-21679 actively exploited?
No. CVE-2025-21679 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.