CVE-2025-38382
MediumIn the Linux kernel, the following vulnerability has been resolved: btrfs: fix iteration of extrefs during log replay At __inode_add_ref() when processing extrefs, if we jump into the next label we have an undefined value of victim_name.len, since we haven't initialized it before we did the goto. This results in an invalid memory access in the next iteration of the loop since victim_name.len was not initialized to the length of the name of the current extref. Fix this by initializing victim_name.len with the current extref's name length.
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
Weakness type
CWE-908CVE-2025-38382 is classified as CWE-908
See CWE-908 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.1.57,
6.2
and later are affected. Fixed in
6.1.144,
6.6.97,
6.12.37,
6.15.6,
6.16
and their respective stable series.
References
The following references provide additional information about CVE-2025-38382 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2d11d274e2e1d7c79e2ca8461ce3ff3a95c11171
-
PatchKernel patch commithttps://git.kernel.org/stable/c/539969fc472886a1d63565459514d47e27fef461
-
PatchKernel patch commithttps://git.kernel.org/stable/c/54a7081ed168b72a8a2d6ef4ba3a1259705a2926
Frequently asked questions
-
What is CVE-2025-38382?
CVE-2025-38382 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.1.57 onward and has been patched in 6.1.144, 6.6.97, 6.12.37 and others. CVE-2025-38382 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38382?
CVE-2025-38382 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-38382?
Yes — CVE-2025-38382 has been patched. Fixed versions include 6.1.144, 6.6.97, 6.12.37 and others. If you are running Linux kernel 6.1.57 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38382 actively exploited?
No — CVE-2025-38382 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.