summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2026-07-24 15:28:01 -0700
committerDave Jiang <dave.jiang@intel.com>2026-07-24 15:37:27 -0700
commit15da704b732332cc1e8f121f624e5e6c05124c5d (patch)
tree6b5055321549801f1b086249731dd4e3cfce686e /scripts/Makefile.thinlto
parent2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83 (diff)
downloadlinux-stable-15da704b732332cc1e8f121f624e5e6c05124c5d.tar.gz
linux-stable-15da704b732332cc1e8f121f624e5e6c05124c5d.zip
cxl/region: Fix use-after-free in find_pos_and_ways() error path
The error path releases its reference to a switch decoder before logging an error that includes the decoder name. If the released reference is the last one, the decoder can be freed before the error message accesses its name. Drop the reference after the error is reported. Fixes: d90acdf49e18 ("cxl/region: Add a dev_err() on missing target list entries") Reviewed-by: Li Ming <ming.li@zohomail.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Signed-off-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/10deb519b543ef693ce23148b509a03fe1c07d0c.1784931354.git.alison.schofield@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions