firmware: stratix10-svc: fix bug in saving controller data
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b5dc75c915cdaebab9b9875022e45638d6b14a7e · < bd226fa02ed6db6fce0fae010802f0950fd14fb9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firmware: stratix10-svc: fix bug in saving controller data
Fix the incorrect usage of platform_set_drvdata and dev_set_drvdata. They both are of the same data and overrides each other. This resulted in the rmmod of the svc driver to fail and throw a kernel panic for kthread_stop and fifo free.
From the CVE record · Linux
The Linux kernel stratix10-svc driver incorrectly saves controller data, causing two data-setting calls to overwrite each other. Removing the driver with rmmod can then fail and trigger a kernel panic; the input does not describe an attacker route, authentication requirements, or user interaction.
Engineers running Linux kernels with the stratix10-svc driver should check their versions; affected versions are not specified.