Bug 2440662 (CVE-2026-23221) - CVE-2026-23221 kernel: bus: fsl-mc: fix use-after-free in driver_override_show()
Summary: CVE-2026-23221 kernel: bus: fsl-mc: fix use-after-free in driver_override_show()
Keywords:
Status: NEW
Alias: CVE-2026-23221
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-18 16:03 UTC by OSIDB Bzimport
Modified: 2026-02-19 21:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-02-18 16:03:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.