Bug 2360193 (CVE-2025-22114) - CVE-2025-22114 kernel: btrfs: don't clobber ret in btrfs_validate_super()
Summary: CVE-2025-22114 kernel: btrfs: don't clobber ret in btrfs_validate_super()
Keywords:
Status: NEW
Alias: CVE-2025-22114
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 15:02 UTC by OSIDB Bzimport
Modified: 2025-04-17 16:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:02:02 UTC
In the Linux kernel, the following vulnerability has been resolved:

btrfs: don't clobber ret in btrfs_validate_super()

Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at
btrfs_validate_super()") introduces a call to validate_sys_chunk_array()
in btrfs_validate_super(), which clobbers the value of ret set earlier.
This has the effect of negating the validity checks done earlier, making
it so btrfs could potentially try to mount invalid filesystems.

Comment 1 Avinash Hanwate 2025-04-17 16:25:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041625-CVE-2025-22114-721d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.