CVE-2022-50286: ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
Vulnerability summary
CVE-2022-50286 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.1% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 15-09-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline When converting files with inline data to extents, delayed allocations made on a file system created with both the bigalloc and inline options can result in invalid extent status cache content, incorrect reserved cluster counts, kernel memory leaks, and potential kernel panics. With bigalloc, the code that determines whether a block must be delayed allocated searches the extent tree to see if that block maps to a previously allocated cluster. If not, the block is delayed allocated, and otherwise, it isn't. However, if the inline option is also used, and if the file containing the block is marked as able to store data inline, there isn't a valid extent tree associated with the file. The current code in ext4_clu_mapped() calls ext4_find_extent() to search the non-existent tree for a previously allocated cluster anyway, which typically finds nothing, as desired. However, a side effect of the search can be to cache invalid content from the non-existent tree (garbage) in the extent status tree, including bogus entries in the pending reservation tree. To fix this, avoid searching the extent tree when allocating blocks for bigalloc + inline files that are being converted from inline to extent mapped.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% 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 causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu116 products
- linux< 5.4.0-144.161 | < 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1097.105 | < 5.15.0-1033.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ d40e09f701cf7a44e595a558b067b2b4f67fbf87, < f83391339d8493b9ff24167516aaa5a5e88d8f81 | ≥ 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6, < 6f4200ec76a0d31200c308ec5a71c68df5417004 | ≥ 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6, < 9404839e0c9db5a517ea83c0ca3388b39d105fdf | ≥ 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6, < d440d6427a5e3a877c1c259b8d2b216ddb65e185 | ≥ 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6, < c0c8edbc8abbe8f16d80a1d794d1ba2c12b6f193 | ≥ 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6, < 81b915181c630ee1cffa052e52874fe4e1ba91ac | ≥ 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6, < 131294c35ed6f777bd4e79d42af13b5c41bf2775 | ≥ 4.19.270, < 4.19.271 | 4.20
- linux_kernel< 5.4.229 | ≥ 5.5, < 5.10.163 | ≥ 5.11, < 5.15.87 | ≥ 5.16, < 6.0.18 | ≥ 6.1, < 6.1.4
Debian1 product
- linux< 6.1.4-1
3 vendors · 119 products