sh: intc: Fix use-after-free bug in register_intc_controller()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2dcec7a988a1895540460a0bf5603bab63d5a3ed · < b8b84dcdf3ab1d414304819f824b10efba64132c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
sh: intc: Fix use-after-free bug in register_intc_controller()
In the error handling for this function, d is freed without ever removing it from intc_list which would lead to a use after free. To fix this, let's only add it to the list after everything has succeeded.
From the CVE record · Linux
The Linux kernel’s sh interrupt controller registration function can leave a freed object on a list when error handling runs, causing a use-after-free. The input does not specify how an attacker could trigger it, whether access or user interaction is required, or its impact beyond the use-after-free.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.