CVE-2021-47143

net/smc: remove device from smcd_dev_list after failed device_add()

published March 25, 2024

CVSS
—
EPSS
0%
Percentile
12.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.5th percentile
Published
2024-03-25T09:07Z
EPSS history
Timeline
  • 25 MAR 09:07Z
    net/smc: remove device from smcd_dev_list after failed device_add()
    cvelistv5