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().
References
Configurations
Configuration 1 (hide)
|
History
15 Oct 2025, 13:39
Type | Values Removed | Values Added |
---|---|---|
CWE | NVD-CWE-noinfo | |
Summary |
|
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
First Time |
Linux
Linux linux Kernel |
|
References | () https://git.kernel.org/stable/c/d0fb5741932b831eded49bfaaf33353e96200d6d - Patch | |
References | () https://git.kernel.org/stable/c/fe4de594f7a2e9bc49407de60fbd20809fad4192 - Patch | |
CPE | cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* |
31 Jan 2025, 12:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-01-31 12:15
Updated : 2025-10-15 13:39
NVD link : CVE-2025-21679
Mitre link : CVE-2025-21679
CVE.ORG link : CVE-2025-21679
JSON object : View
Products Affected
linux
- linux_kernel
CWE