Bug 2373519 (CVE-2022-50083) - CVE-2022-50083 kernel: ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
Summary: CVE-2022-50083 kernel: ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
Keywords:
Status: NEW
Alias: CVE-2022-50083
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-06-18 12:06 UTC by OSIDB Bzimport
Modified: 2025-06-19 19:02 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:06:34 UTC
In the Linux kernel, the following vulnerability has been resolved:

ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h

When adding an xattr to an inode, we must ensure that the inode_size is
not less than EXT4_GOOD_OLD_INODE_SIZE + extra_isize + pad. Otherwise,
the end position may be greater than the start position, resulting in UAF.

Comment 1 Avinash Hanwate 2025-06-19 18:51:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061857-CVE-2022-50083-faff@gregkh/T


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