diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-04-08 18:45:34 +0300 |
|---|---|---|
| committer | Xu Yilun <yilun.xu@linux.intel.com> | 2026-05-04 14:27:05 +0300 |
| commit | 54f3c5643ec523a04b6ec0e7c19eb10f5ebebdd3 (patch) | |
| tree | 66a7c6290736831d03b40d8e05a3cb9c93aa6491 /scripts | |
| parent | 254f49634ee16a731174d2ae34bc50bd5f45e731 (diff) | |
| download | linux-54f3c5643ec523a04b6ec0e7c19eb10f5ebebdd3.tar.xz | |
fpga: region: fix use-after-free in child_regions_with_firmware()
Move of_node_put(child_region) after the error print to avoid accessing
freed memory when pr_err() references child_region.
Fixes: 0fa20cdfcc1f ("fpga: fpga-region: device tree control for FPGA")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
[ Yilun: Fix the Fixes tag ]
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20260408154534.404327-1-vulab@iscas.ac.cn
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
