CVE-2026-23221

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

State
Published
Severity
Not scored
Published
Feb 18, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before c71dfb7833db7af652ee8f65011f14c97c47405dAffected
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before c424e72cfa67e7e1477035058a8a659f2c0ea637Affected
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before b1983840287303e0dfb401b1b6cecc5ea7471e90Affected
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227Affected
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before 1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0Affected
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before a2ae33e1c6361e960a4d00f7cf75d880b54f9528Affected
  • 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d to before 148891e95014b5dc5878acefa57f1940c281c431Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.15.201 through 5.15.*Not affected
  • 6.1.164 through 6.1.*Not affected
  • 6.6.127 through 6.6.*Not affected
  • 6.12.74 through 6.12.*Not affected
  • 6.18.11 through 6.18.*Not affected
  • 6.19.1 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.