summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-06-04 10:27:06 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2026-06-12 09:56:45 +0800
commit6ea0ce3a19f9c37a014099e2b0a46b27fa164564 (patch)
tree77a346961f8b889365c92f4f0222e5271811ca56 /scripts/Makefile.thinlto
parent606ba888b98e0d26a2c4e5c8dc0542e3ad8f0f3a (diff)
crypto: tegra - fix refcount leak in tegra_se_host1x_submit()
The timeout error path in tegra_se_host1x_submit() returns without calling host1x_job_put(), while all other paths (success, submit error, pin error) properly release the job reference through the job_put label. Since host1x_job_alloc() initializes the reference count and host1x_job_put() is required to drop it, omitting it on timeout causes a permanent refcount leak. Fix this by redirecting the timeout return to the existing job_put label, ensuring the job reference and any associated syncpt references are consistently released. Cc: stable@vger.kernel.org Fixes: 0880bb3b00c8 ("crypto: tegra - Add Tegra Security Engine driver") Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: Akhil R <akhilrajeev@nvidia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions