CVE-2022-49388: ubi: ubi_create_volume: Fix use-after-free when volume creation failed
Vulnerability summary
CVE-2022-49388 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 21.7% 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 1 · Related 1Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: ubi: ubi_create_volume: Fix use-after-free when volume creation failed There is an use-after-free problem for 'eba_tbl' in ubi_create_volume()'s error handling path: ubi_eba_replace_table(vol, eba_tbl) vol->eba_tbl = tbl out_mapping: ubi_eba_destroy_table(eba_tbl) // Free 'eba_tbl' out_unlock: put_device(&vol->dev) vol_release kfree(tbl->entries) // UAF Fix it by removing redundant 'eba_tbl' releasing. Fetch a reproducer in [Link].
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 · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% 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.
Ubuntu110 products
- linux< 4.15.0-192.203 | < 5.4.0-126.142 | < 5.15.0-48.54
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1140.151 | < 5.4.0-1085.92 | < 5.15.0-1020.24
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9 | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < abb67043060f2bf4c03d7c3debb9ae980e2b6db3 | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 8302620aeb940f386817321d272b12411ae7d39f | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 6d8d3f68cbecfd31925796f0fb668eb21ab06734 | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 5ff2514e4fb55dcf3d88294686040ca73ea0c1a2 | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < e27ecf325e51abd06aaefba57a6322a46fa4178b | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 1174ab8ba36a48025b68b5ff1085000b1e510217 | ≥ 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 8c03a1c21d72210f81cb369cc528e3fde4b45411 | 4.12
- linux_kernel≥ 4.12, < 4.14.283 | ≥ 4.15, < 4.19.247 | ≥ 4.20, < 5.4.198 | ≥ 5.5, < 5.10.122 | ≥ 5.11, < 5.15.47 | ≥ 5.16, < 5.17.15 | ≥ 5.18, < 5.18.4
Debian1 product
- linux< 5.18.5-1
3 vendors · 113 products