CVE-2026-23221
Received Received - Intake

Use-After-Free in Linux fsl-mc Driver Override Handling

Vulnerability report for CVE-2026-23221, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-18

Last updated on: 2026-03-18

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc: fix use-after-free in driver_override_show() The driver_override_show() function reads the driver_override string without holding the device_lock. However, driver_override_store() uses driver_set_override(), which modifies and frees the string while holding the device_lock. This can result in a concurrent use-after-free if the string is freed by the store function while being read by the show function. Fix this by holding the device_lock around the read operation.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-18
Last Modified
2026-03-18
Generated
2026-07-06
AI Q&A
2026-02-18
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.19 (inc) to 6.19.1 (exc)
linux linux_kernel From 5.16 (inc) to 6.1.164 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.11 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.127 (exc)
linux linux_kernel From 5.10 (inc) to 5.15.201 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.74 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Detection Guidance

I don't know

Mitigation Strategies

I don't know

Executive Summary

This vulnerability is a use-after-free issue in the Linux kernel's fsl-mc bus driver, specifically in the driver_override_show() function.

The problem occurs because driver_override_show() reads the driver_override string without holding the device_lock, while driver_override_store() modifies and frees this string while holding the device_lock.

If the string is freed by the store function while being read by the show function, it can lead to a concurrent use-after-free condition.

The fix involves holding the device_lock during the read operation to prevent this race condition.

Impact Analysis

A use-after-free vulnerability can lead to undefined behavior including system crashes, data corruption, or potential escalation of privileges if exploited.

In this case, concurrent access to freed memory in the Linux kernel could destabilize the system or be leveraged by an attacker to execute arbitrary code or cause denial of service.

Compliance Impact

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-23221. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart