Bug 2425197 (CVE-2022-50746) - CVE-2022-50746 kernel: erofs: validate the extent length for uncompressed pclusters
Summary: CVE-2022-50746 kernel: erofs: validate the extent length for uncompressed pcl...
Keywords:
Status: NEW
Alias: CVE-2022-50746
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-12-24 14:10 UTC by OSIDB Bzimport
Modified: 2025-12-24 19:27 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:10:13 UTC
In the Linux kernel, the following vulnerability has been resolved:

erofs: validate the extent length for uncompressed pclusters

syzkaller reported a KASAN use-after-free:
https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2

The referenced fuzzed image actually has two issues:
 - m_pa == 0 as a non-inlined pcluster;
 - The logical length is longer than its physical length.

The first issue has already been addressed.  This patch addresses
the second issue by checking the extent length validity.


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