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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c6ba7c9ba43de1b57e9a53946e7ff988554c84ed, < 8b2cdc004d21a7255f219706dca64411108f7897; >= c6ba7c9ba43de1b57e9a53946e7ff988554c84ed, < 40588782f1016c655ae1d302892f61d35af96842; >= c6ba7c9ba43de1b57e9a53946e7ff988554c84ed, < 444d7be9532dcfda8e0385226c862fd7e986f607 |
| Linux | Linux | 4.19 |
References
- https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842Patch
- https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607Patch
- https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897Patch
- https://git.kernel.org/stable/c/40588782f1016c655ae1d302892f61d35af96842Patch
- https://git.kernel.org/stable/c/444d7be9532dcfda8e0385226c862fd7e986f607Patch
- https://git.kernel.org/stable/c/8b2cdc004d21a7255f219706dca64411108f7897Patch
Timeline
- Published
- Mar 25, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed