CVE Database›CVE-2026-23221

CVE-2026-23221

kernel: bus: fsl-mc: fix use-after-free in driver_override_show()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · February 18, 2026

Updated · June 28, 2026

Description

A use-after-free flaw was found in the Linux kernel's Freescale Management Complex (fsl-mc) bus driver. The driver_override_show() sysfs function reads the driver_override string without acquiring the device_lock, while driver_override_store() modifies and frees the string while holding the lock. This race condition can result in a use-after-free if the string is freed by a concurrent store operation while being read by the show function.

Statement

This vulnerability affects systems with Freescale/NXP QorIQ DPAA2 hardware using the fsl-mc bus driver. Exploitation requires concurrent sysfs access to the driver_override attribute, typically requiring local access with appropriate permissions. The flaw is specific to embedded and data plane acceleration hardware platforms.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-663 · Use of a Non-reentrant Function in a Concurrent Context