CVE-2022-50512: ext4: fix potential memory leak in ext4_fc_record_regions()
Vulnerability summary
CVE-2022-50512 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 07-10-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu120 products
- linuxAll versions (No fix recorded) | < 5.15.0-60.66
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1030.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, < 2cfb769d60a2a57eb3566765428b6131cd16dcfe | ≥ 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, < 417b0455a0b6d0f60a2930592731d1f8340e24be | ≥ 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, < a4058b869e6c5e517c79e30532a350d0f3115c3e | ≥ 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, < 518566e71ad86b7c2f1bf6d9caee9588bb7ac158 | ≥ 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, < 7069d105c1f15c442b68af43f7fde784f3126739 | 5.10
- linux_kernel≥ 5.10, < 5.10.150 | ≥ 5.11, < 5.15.75 | ≥ 5.16, < 5.19.17 | ≥ 6.0, < 6.0.3
Debian1 product
- linux< 6.0.3-1
3 vendors · 123 products