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

CVE-2026-23221
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d < c71dfb7833db7af652ee8f65011f14c97c47405d ; affected 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d < c424e72cfa67e7e1477035058a8a659f2c0ea637 ; affected 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d < b1983840287303e0dfb401b1b6cecc5ea7471e90 ; affected 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d < dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227 ; affected 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d < 1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0 ; affected 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d < a2ae33e1c6361e960a4d00f7cf75d880b54f9528
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.15.201 ≤ 5.15.* ; unaffected 6.1.164 ≤ 6.1.* ; unaffected 6.6.127 ≤ 6.6.* ; unaffected 6.12.74 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD