summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-04-07 10:30:25 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-06-03 22:58:00 +0300
commit8eec545cde69e46e9a1d2b7d915ce4f5df85b3bd (patch)
treefbd1f68e1c61473b60e3a8c8204d0a895a445850 /scripts/stackusage
parentb26bc0b97d8d1b7454b7f7ab64f1bda8d1cd4002 (diff)
downloadlinux-8eec545cde69e46e9a1d2b7d915ce4f5df85b3bd.tar.xz
power: reset: linkstation-poweroff: fix use-after-free in the linkstation_poweroff_init()
Move of_node_put(dn) after the of_match_node() call, which still needs the node pointer. The node reference is correctly released after use. Fixes: e2f471efe1d6 ("power: reset: linkstation-poweroff: prepare for new devices") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20260407073025.271865-1-vulab@iscas.ac.cn Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions