firmware: arm_scmi: Unrequest devices if driver registration fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a76b20b1f03099204db29b90e1024fe1c2b2cdd7, Kernel 06e65e07a1bcb39a1ebc8bb89a981f8e07900497, Kernel 4520d4a1db37198756ad23568e36cdf091b6ffff and 7 more.
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Unrequest devices if driver registration fails scmi_driver_register() requests protocol devices before registering the driver. If driver_register() fails, those requests remain in the global IDR and retain pointers to the module's ID table. Once the failed module load releases that storage, later request matching or SCMI device creation can dereference the stale pointers. Unrequest the complete protocol table before returning the registration failure. At this point table registration succeeded, so every entry is owned by the current registration attempt.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d3cd7c525fd2ecce3a6c963f314969a54783d211 <a76b20b1f03099204db29b90e1024fe1c2b2cdd7, >=d3cd7c525fd2ecce3a6c963f314969a54783d211 <06e65e07a1bcb39a1ebc8bb89a981f8e07900497, >=d3cd7c525fd2ecce3a6c963f314969a54783d211 <4520d4a1db37198756ad23568e36cdf091b6ffff, >=d3cd7c525fd2ecce3a6c963f314969a54783d211 <524e57035af2d32498af9dd8fa6fdc92fcc8f80a, >=d3cd7c525fd2ecce3a6c963f314969a54783d211 <9f7cd6a62aa754ed6b48cbd5d50de40add1bcc86, =6.3, >=a6fe96b2e371d5fd300cca24459cdcf471c2c741 <35a36fbbc985135f0d35a89d7f9d035ffc499d6e | a76b20b1f03099204db29b90e1024fe1c2b2cdd7, 06e65e07a1bcb39a1ebc8bb89a981f8e07900497, 4520d4a1db37198756ad23568e36cdf091b6ffff, 524e57035af2d32498af9dd8fa6fdc92fcc8f80a, 9f7cd6a62aa754ed6b48cbd5d50de40add1bcc86, 35a36fbbc985135f0d35a89d7f9d035ffc499d6e |
| linux-kernel: Kernel | >=6.19.0 <7.2.6, >=6.3.0 <6.6.157, >=6.7.0 <6.12.110, >=6.13.0 <6.18.52 | 7.2.6, 6.6.157, 6.12.110, 6.18.52 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket