EDAC/altera: Use parent device for devres in altr_portb_setup()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
EDAC/altera: Use parent device for devres in altr_portb_setup()
Anchor the devres group and the devm-managed IRQ requests in altr_portb_setup() to the actual parent device (device->edac->dev) instead of the embedded struct device inside the copied per-port altr_edac_device_dev.
This keeps devres_open_group(), devm_request_irq(), devres_remove_group() and devres_release_group() all referring to the same long-lived device so the group and the resources allocated inside it are torn down together.
From the CVE record · Linux
The Linux kernel's EDAC/altera altr_portb_setup() used an embedded device rather than its parent for some managed resources. The input does not describe an attacker outcome or specify whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the EDAC/altera component should check their versions; affected versions are not specified.