CVE-2026-23221

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

18 Mar 2026, 14:50

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CWE CWE-416
References () https://git.kernel.org/stable/c/148891e95014b5dc5878acefa57f1940c281c431 - () https://git.kernel.org/stable/c/148891e95014b5dc5878acefa57f1940c281c431 - Patch
References () https://git.kernel.org/stable/c/1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0 - () https://git.kernel.org/stable/c/1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0 - Patch
References () https://git.kernel.org/stable/c/a2ae33e1c6361e960a4d00f7cf75d880b54f9528 - () https://git.kernel.org/stable/c/a2ae33e1c6361e960a4d00f7cf75d880b54f9528 - Patch
References () https://git.kernel.org/stable/c/b1983840287303e0dfb401b1b6cecc5ea7471e90 - () https://git.kernel.org/stable/c/b1983840287303e0dfb401b1b6cecc5ea7471e90 - Patch
References () https://git.kernel.org/stable/c/c424e72cfa67e7e1477035058a8a659f2c0ea637 - () https://git.kernel.org/stable/c/c424e72cfa67e7e1477035058a8a659f2c0ea637 - Patch
References () https://git.kernel.org/stable/c/c71dfb7833db7af652ee8f65011f14c97c47405d - () https://git.kernel.org/stable/c/c71dfb7833db7af652ee8f65011f14c97c47405d - Patch
References () https://git.kernel.org/stable/c/dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227 - () https://git.kernel.org/stable/c/dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

23 Feb 2026, 04:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/148891e95014b5dc5878acefa57f1940c281c431 -
Summary
  • (es) Se ha resuelto la siguiente vulnerabilidad en el kernel de Linux: bus: fsl-mc: corrección de uso después de liberación en driver_override_show() La función driver_override_show() lee la cadena driver_override sin mantener el device_lock. Sin embargo, driver_override_store() utiliza driver_set_override(), que modifica y libera la cadena mientras mantiene el device_lock. Esto puede resultar en un uso después de liberación concurrente si la cadena es liberada por la función store mientras es leída por la función show. Solucionar esto manteniendo el device_lock alrededor de la operación de lectura.

19 Feb 2026, 16:27

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/b1983840287303e0dfb401b1b6cecc5ea7471e90 -
  • () https://git.kernel.org/stable/c/c424e72cfa67e7e1477035058a8a659f2c0ea637 -
  • () https://git.kernel.org/stable/c/c71dfb7833db7af652ee8f65011f14c97c47405d -
  • () https://git.kernel.org/stable/c/dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227 -

18 Feb 2026, 16:22

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-18 16:22

Updated : 2026-03-18 14:50


NVD link : CVE-2026-23221

Mitre link : CVE-2026-23221

CVE.ORG link : CVE-2026-23221


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free