Linux
bus: fsl-mc: use generic driver_override infrastructure
In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc: use generic driver_override infrastructure When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF. Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally. Note that calling match() from __driver_attach() without the device lock held is intentional. [1]
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d, < dbba371b19129abe9649553ab912e6bccf6c1a5b
- >= 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d, < 4911b836f35c034c36f102db4ecbe339b38e7d1d
- >= 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d, < 8139ce66b52a4a5638bfb445b037c07d4abeb08e
- >= 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d, < 60bfb563a399c4597dc80588a1109758a8908b97
- >= 1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d, < 6c8dfb0362732bf1e4829867a2a5239fedc592d0
Fixed in dbba371b19129abe9649553ab912e6bccf6c1a5b, 4911b836f35c034c36f102db4ecbe339b38e7d1d, 8139ce66b52a4a5638bfb445b037c07d4abeb08e, 60bfb563a399c4597dc80588a1109758a8908b97, 6c8dfb0362732bf1e4829867a2a5239fedc592d0
- 5.10
Fixed in 0, 6.6.160, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to dbba371b19129abe9649553ab912e6bccf6c1a5b or 4911b836f35c034c36f102db4ecbe339b38e7d1d or 8139ce66b52a4a5638bfb445b037c07d4abeb08e or 60bfb563a399c4597dc80588a1109758a8908b97 or 6c8dfb0362732bf1e4829867a2a5239fedc592d0 or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.