CVE-2025-38382btrfs: fix iteration of extrefs during log replay
- 7.8HighCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In 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.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 13 months later
· 13 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e – < 539969fc472886a1d63565459514d47e27fef461
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 2d11d274e2e1d7c79e2ca8461ce3ff3a95c11171
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 7ac790dc2ba00499a8d671d4a24de4d4ad27e234
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < aee57a0293dca675637e5504709f9f8fd8e871be
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 54a7081ed168b72a8a2d6ef4ba3a1259705a2926
- affected 6.1.57 – < 6.1.144
- affected 6.2
- unaffected < 6.2
- unaffected 6.1.144 – ≤ 6.1.*
- unaffected 6.6.97 – ≤ 6.6.*
- unaffected 6.12.37 – ≤ 6.12.*
- unaffected 6.15.6 – ≤ 6.15.*
- unaffected 6.16 – ≤ *
References
References6
- https://git.kernel.org/stable/c/539969fc472886a1d63565459514d47e27fef461 (opens in a new tab)
- https://git.kernel.org/stable/c/2d11d274e2e1d7c79e2ca8461ce3ff3a95c11171 (opens in a new tab)
- https://git.kernel.org/stable/c/7ac790dc2ba00499a8d671d4a24de4d4ad27e234 (opens in a new tab)
- https://git.kernel.org/stable/c/aee57a0293dca675637e5504709f9f8fd8e871be (opens in a new tab)
- https://git.kernel.org/stable/c/54a7081ed168b72a8a2d6ef4ba3a1259705a2926 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-22621 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38382)Record last updated .