CVE-2022-49388
published 2025-02-26CVE-2022-49388: 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…
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.29%
21.4th percentile
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].
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < 25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9 | 25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9 |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < abb67043060f2bf4c03d7c3debb9ae980e2b6db3 | abb67043060f2bf4c03d7c3debb9ae980e2b6db3 |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < 8302620aeb940f386817321d272b12411ae7d39f | 8302620aeb940f386817321d272b12411ae7d39f |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < 6d8d3f68cbecfd31925796f0fb668eb21ab06734 | 6d8d3f68cbecfd31925796f0fb668eb21ab06734 |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < 5ff2514e4fb55dcf3d88294686040ca73ea0c1a2 | 5ff2514e4fb55dcf3d88294686040ca73ea0c1a2 |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < e27ecf325e51abd06aaefba57a6322a46fa4178b | e27ecf325e51abd06aaefba57a6322a46fa4178b |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < 1174ab8ba36a48025b68b5ff1085000b1e510217 | 1174ab8ba36a48025b68b5ff1085000b1e510217 |
| linux | linux | >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec < 8c03a1c21d72210f81cb369cc528e3fde4b45411 | 8c03a1c21d72210f81cb369cc528e3fde4b45411 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 4.12 < 4.14.283 | 4.14.283 |
| linux | linux_kernel | >= 4.15 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.47 | 5.15.47 |
| linux | linux_kernel | >= 5.16 < 5.17.15 | 5.17.15 |
| linux | linux_kernel | >= 5.18 < 5.18.4 | 5.18.4 |
| linux | linux_kernel | >= 5.5 < 5.10.122 | 5.10.122 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-422g-php3-xrv4: In the Linux kernel, the following vulnerability has been resolved:
ubi: ubi_create_volume: Fix use-after-free when volume creation failed
There is
ghsa_unreviewed·2025-02-27
CVE-2022-49388 [HIGH] CWE-416 GHSA-422g-php3-xrv4: In the Linux kernel, the following vulnerability has been resolved:
ubi: ubi_create_volume: Fix use-after-free when volume creation failed
There is
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].
OSV
CVE-2022-49388: 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
osv·2025-02-26·CVSS 7.8
CVE-2022-49388 [HIGH] CVE-2022-49388: 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
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].
Red Hat
kernel: ubi: ubi_create_volume: Fix use-after-free when volume creation failed
vendor_redhat·2025-02-26·CVSS 7.8
CVE-2022-49388 [HIGH] CWE-416 kernel: ubi: ubi_create_volume: Fix use-after-free when volume creation failed
kernel: ubi: ubi_create_volume: Fix use-after-free when volume creation failed
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].
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel
Debian
CVE-2022-49388: linux - In the Linux kernel, the following vulnerability has been resolved: ubi: ubi_cr...
vendor_debian·2022·CVSS 7.8
CVE-2022-49388 [HIGH] CVE-2022-49388: linux - In the Linux kernel, the following vulnerability has been resolved: ubi: ubi_cr...
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].
Scope: local
bookworm: resolved (fixed in 5.18.5-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.5-1)
sid: resolved (fixed in 5.18.5-1)
trixie: resolved (fixed in 5.18.5-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/1174ab8ba36a48025b68b5ff1085000b1e510217https://git.kernel.org/stable/c/25ff1e3a1351c0d936dd1ac2f9e58231ea1510c9https://git.kernel.org/stable/c/5ff2514e4fb55dcf3d88294686040ca73ea0c1a2https://git.kernel.org/stable/c/6d8d3f68cbecfd31925796f0fb668eb21ab06734https://git.kernel.org/stable/c/8302620aeb940f386817321d272b12411ae7d39fhttps://git.kernel.org/stable/c/8c03a1c21d72210f81cb369cc528e3fde4b45411https://git.kernel.org/stable/c/abb67043060f2bf4c03d7c3debb9ae980e2b6db3https://git.kernel.org/stable/c/e27ecf325e51abd06aaefba57a6322a46fa4178b
2025-02-26
Published