SB20250226319 - Use-after-free in Linux kernel mtd ubi driver



SB20250226319 - Use-after-free in Linux kernel mtd ubi driver

Published: February 26, 2025 Updated: May 11, 2025

Security Bulletin ID SB20250226319
Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Use-after-free (CVE-ID: CVE-2021-47634)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the vol_attribute_show() function in drivers/mtd/ubi/vmt.c, within the dev_attribute_show(), ubi_attach_mtd_dev() and uif_close() functions in drivers/mtd/ubi/build.c. A local user can escalate privileges on the system.


Remediation

Install update from vendor's website.