Bug 2402229 (CVE-2022-50512) - CVE-2022-50512 kernel: ext4: fix potential memory leak in ext4_fc_record_regions()
Summary: CVE-2022-50512 kernel: ext4: fix potential memory leak in ext4_fc_record_regi...
Keywords:
Status: NEW
Alias: CVE-2022-50512
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-10-07 16:04 UTC by OSIDB Bzimport
Modified: 2025-10-07 17:46 UTC (History)
0 users

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


Attachments (Terms of Use)

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

ext4: fix potential memory leak in ext4_fc_record_regions()

As krealloc may return NULL, in this case 'state->fc_regions' may not be
freed by krealloc, but 'state->fc_regions' already set NULL. Then will
lead to 'state->fc_regions' memory leak.


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