CVE-2022-49388
published high CVSS 3.1 · 7.8ubi: ubi_create_volume: Fix use-after-free when volume creation failed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9 · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < abb67043060f2bf4c03d7c3debb9ae980e2b6db3 · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 8302620aeb940f386817321d272b12411ae7d39f · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 6d8d3f68cbecfd31925796f0fb668eb21ab06734 · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 5ff2514e4fb55dcf3d88294686040ca73ea0c1a2 · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < e27ecf325e51abd06aaefba57a6322a46fa4178b · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 1174ab8ba36a48025b68b5ff1085000b1e510217 · 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 8c03a1c21d72210f81cb369cc528e3fde4b45411 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.12 (affected) · 0 to < 4.12 (unaffected · semver) · 4.14.283 through 4.14.* (unaffected · semver) · 4.19.247 through 4.19.* (unaffected · semver) · 5.4.198 through 5.4.* (unaffected · semver) · 5.10.122 through 5.10.* (unaffected · semver) · 5.15.47 through 5.15.* (unaffected · semver) · 5.17.15 through 5.17.* (unaffected · semver) · 5.18.4 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1813 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-028 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2022-1813 |
Show 56 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaultppc64le | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaults390x | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_255-defaultx86_64 | Advisory build | 1-8.5.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.255.1 | SUSE-SU-2025:1293-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2022-1813 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-015 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-028 |
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].
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9 (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < abb67043060f2bf4c03d7c3debb9ae980e2b6db3 (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 8302620aeb940f386817321d272b12411ae7d39f (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 6d8d3f68cbecfd31925796f0fb668eb21ab06734 (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 5ff2514e4fb55dcf3d88294686040ca73ea0c1a2 (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < e27ecf325e51abd06aaefba57a6322a46fa4178b (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 1174ab8ba36a48025b68b5ff1085000b1e510217 (affected · git)493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec to < 8c03a1c21d72210f81cb369cc528e3fde4b45411 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.12 (affected)0 to < 4.12 (unaffected · semver)4.14.283 through 4.14.* (unaffected · semver)4.19.247 through 4.19.* (unaffected · semver)5.4.198 through 5.4.* (unaffected · semver)5.10.122 through 5.10.* (unaffected · semver)5.15.47 through 5.15.* (unaffected · semver)5.17.15 through 5.17.* (unaffected · semver)5.18.4 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
8- https://git.kernel.org/stable/c/1174ab8ba36a48025b68b5ff1085000b1e510217
- https://git.kernel.org/stable/c/25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9
- https://git.kernel.org/stable/c/5ff2514e4fb55dcf3d88294686040ca73ea0c1a2
- https://git.kernel.org/stable/c/6d8d3f68cbecfd31925796f0fb668eb21ab06734
- https://git.kernel.org/stable/c/8302620aeb940f386817321d272b12411ae7d39f
- https://git.kernel.org/stable/c/8c03a1c21d72210f81cb369cc528e3fde4b45411
- https://git.kernel.org/stable/c/abb67043060f2bf4c03d7c3debb9ae980e2b6db3
- https://git.kernel.org/stable/c/e27ecf325e51abd06aaefba57a6322a46fa4178b
Provider assertions
2Linux · cna
ubi: ubi_create_volume: Fix use-after-free when volume creation failed
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 815879854ddff8a96ef077dc4f25833c23a662c1453abae975164738b977f60e
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record