7.8

CVE-2026-23221

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 5.10 < 5.15.201
LinuxLinux Kernel Version >= 5.16 < 6.1.164
LinuxLinux Kernel Version >= 6.2 < 6.6.127
LinuxLinux Kernel Version >= 6.7 < 6.12.74
LinuxLinux Kernel Version >= 6.13 < 6.18.11
LinuxLinux Kernel Version >= 6.19 < 6.19.1
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.022
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

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.

https://git.kernel.org/stable/c/1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0
Patch
https://git.kernel.org/stable/c/a2ae33e1c6361e960a4d00f7cf75d880b54f9528
Patch
https://git.kernel.org/stable/c/b1983840287303e0dfb401b1b6cecc5ea7471e90
Patch
https://git.kernel.org/stable/c/c424e72cfa67e7e1477035058a8a659f2c0ea637
Patch
https://git.kernel.org/stable/c/c71dfb7833db7af652ee8f65011f14c97c47405d
Patch
https://git.kernel.org/stable/c/dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227
Patch
https://git.kernel.org/stable/c/148891e95014b5dc5878acefa57f1940c281c431
Patch