CVE-2022-49388
ubi: ubi_create_volume: Fix use-after-free when volume creation failed
- Published
- Updated
- Reserved
- Assigned by
- Linux
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].
Timeline
ID reserved
By Linux
Published
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.29% · top 78% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < 25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < abb67043060f2bf4c03d7c3debb9ae980e2b6db3
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < 8302620aeb940f386817321d272b12411ae7d39f
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < 6d8d3f68cbecfd31925796f0fb668eb21ab06734
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < 5ff2514e4fb55dcf3d88294686040ca73ea0c1a2
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < e27ecf325e51abd06aaefba57a6322a46fa4178b
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < 1174ab8ba36a48025b68b5ff1085000b1e510217
- affected 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec – < 8c03a1c21d72210f81cb369cc528e3fde4b45411
- affected 4.12
- unaffected < 4.12
- unaffected 4.14.283 – ≤ 4.14.*
- unaffected 4.19.247 – ≤ 4.19.*
- unaffected 5.4.198 – ≤ 5.4.*
- unaffected 5.10.122 – ≤ 5.10.*
- unaffected 5.15.47 – ≤ 5.15.*
- unaffected 5.17.15 – ≤ 5.17.*
- unaffected 5.18.4 – ≤ 5.18.*
- unaffected 5.19 – ≤ *
References (8)
- https://git.kernel.org/stable/c/25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9 (opens in a new tab)
- https://git.kernel.org/stable/c/abb67043060f2bf4c03d7c3debb9ae980e2b6db3 (opens in a new tab)
- https://git.kernel.org/stable/c/8302620aeb940f386817321d272b12411ae7d39f (opens in a new tab)
- https://git.kernel.org/stable/c/6d8d3f68cbecfd31925796f0fb668eb21ab06734 (opens in a new tab)
- https://git.kernel.org/stable/c/5ff2514e4fb55dcf3d88294686040ca73ea0c1a2 (opens in a new tab)
- https://git.kernel.org/stable/c/e27ecf325e51abd06aaefba57a6322a46fa4178b (opens in a new tab)
- https://git.kernel.org/stable/c/1174ab8ba36a48025b68b5ff1085000b1e510217 (opens in a new tab)
- https://git.kernel.org/stable/c/8c03a1c21d72210f81cb369cc528e3fde4b45411 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49388)Record last updated .