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.
https://git.kernel.org/stable/c/dc4797c909b6cacb1bb24449e6c57d50a14d73bf
https://git.kernel.org/stable/c/9868f5c077dfe0b606331f2e782484f91a5789a5
https://git.kernel.org/stable/c/8325ecf3f16d764a0e0ba42c95b63f08e38710a8
https://git.kernel.org/stable/c/2cf03ada03532bfb42f06fbf01d9e2a99e6011d7