mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
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:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| tegra-se-aes.c | ||
| tegra-se-hash.c | ||
| tegra-se-key.c | ||
| tegra-se-main.c | ||
| tegra-se.h | ||