{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-38382","published":"2025-07-25T13:15:27.390000Z","last_modified":"2026-07-30T06:23:11.367000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-908"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.1.57","version_end_excluding":"6.1.144"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.97"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.37"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.15.6"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.16"},{"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"11.0"}],"cpes_truncated":false,"vendors":["linux","debian"],"products":["linux/linux_kernel","debian/debian_linux"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2025-38382/","html_en":"/en/cve/CVE-2025-38382/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38382","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38382"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix iteration of extrefs during log replay\n\nAt __inode_add_ref() when processing extrefs, if we jump into the next\nlabel we have an undefined value of victim_name.len, since we haven't\ninitialized it before we did the goto. This results in an invalid memory\naccess in the next iteration of the loop since victim_name.len was not\ninitialized to the length of the name of the current extref.\n\nFix this by initializing victim_name.len with the current extref's name\nlength.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/2d11d274e2e1d7c79e2ca8461ce3ff3a95c11171","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/539969fc472886a1d63565459514d47e27fef461","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/54a7081ed168b72a8a2d6ef4ba3a1259705a2926","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7ac790dc2ba00499a8d671d4a24de4d4ad27e234","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/aee57a0293dca675637e5504709f9f8fd8e871be","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory"]}]}}