CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's I2C subsystem, specifically within the AMD MP2 PCI driver, where a stale pointer can be dereferenced if the adapter registration fails. This can lead to potential system crashes or undefined behavior during IRQ and system-sleep operations. Linux system administrators and developers working with AMD hardware should prioritize addressing this issue to ensure system stability and prevent exploitation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: i2c: amd-mp2: Unregister callback on adapter add failure amd_mp2_register_cb() stores the platform I2C context in the MP2 PCI driver's callback table before the adapter is registered. If i2c_add_adapter() fails, probe returns and devres frees the context, but the PCI driver can still dereference the stale pointer from its IRQ and system-sleep callbacks. Unregister the callback before returning the adapter registration error.