CVE-2022-49388: Linux Kernel

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Linux Linux Kernel: from 4.12, before 4.14.283 (fixed in 4.14.283); from 4.15, before 4.19.247 (fixed in 4.19.247); from 4.20, before 5.4.198 (fixed in 5.4.198); from 5.5, before 5.10.122 (fixed in 5.10.122); from 5.11, before 5.15.47 (fixed in 5.15.47); from 5.16, before 5.17.15 (fixed in 5.17.15); …

Published 2025-02-26. Last modified 2026-06-17.