{"id":"CVE-2025-22114","summary":"btrfs: don't clobber ret in btrfs_validate_super()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: don't clobber ret in btrfs_validate_super()\n\nCommit 2a9bb78cfd36 (\"btrfs: validate system chunk array at\nbtrfs_validate_super()\") introduces a call to validate_sys_chunk_array()\nin btrfs_validate_super(), which clobbers the value of ret set earlier.\nThis has the effect of negating the validity checks done earlier, making\nit so btrfs could potentially try to mount invalid filesystems.","modified":"2026-04-02T12:45:21.354925Z","published":"2025-04-16T14:12:59.898Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22114.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9db9c7dd5b4e1d3205137a094805980082c37716"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef6800a2015e706e9852a5ec15263fec9990d012"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22114.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22114"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2a9bb78cfd367fdeff74f15b1e98969912292d9e"},{"fixed":"ef6800a2015e706e9852a5ec15263fec9990d012"},{"fixed":"9db9c7dd5b4e1d3205137a094805980082c37716"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22114.json"}}],"schema_version":"1.7.5"}