Bug 2355515 (CVE-2022-49739) - CVE-2022-49739 kernel: gfs2: Always check inode size of inline inodes
Summary: CVE-2022-49739 kernel: gfs2: Always check inode size of inline inodes
Keywords:
Status: NEW
Alias: CVE-2022-49739
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 17:05 UTC by OSIDB Bzimport
Modified: 2025-03-27 20:16 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-27 17:05:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

gfs2: Always check inode size of inline inodes

Check if the inode size of stuffed (inline) inodes is within the allowed
range when reading inodes from disk (gfs2_dinode_in()).  This prevents
us from on-disk corruption.

The two checks in stuffed_readpage() and gfs2_unstuffer_page() that just
truncate inline data to the maximum allowed size don't actually make
sense, and they can be removed now as well.


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