CVE-2025-21679

Medium

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().

Package Linux Kernel
Published 2025-01-31
Last modified 2025-10-15
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
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.

Affected from
≥ 6.12.5
Fixed in
✓ 6.12.11 6.12.x

Frequently 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.