Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: remove device from smcd_dev_list after failed device_add() If the device_add() for a smcd_dev fails, there's no cleanup step that rolls back the earlier list_add(). The device subsequently gets freed, and we end up with a corrupted list. Add some error handling that removes the device from the list.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c6ba7c9ba43de1b57e9a53946e7ff988554c84ed to < 8b2cdc004d21a7255f219706dca64411108f7897affectedc6ba7c9ba43de1b57e9a53946e7ff988554c84ed to < 40588782f1016c655ae1d302892f61d35af96842affectedc6ba7c9ba43de1b57e9a53946e7ff988554c84ed to < 444d7be9532dcfda8e0385226c862fd7e986f607affected
Linux Linux
Default version status: affected
4.19affected0 to < 4.19unaffected5.10.42 to ≤ 5.10.*unaffected5.12.9 to ≤ 5.12.*unaffected5.13 to ≤ *unaffected