diff options
| author | Eli Billauer <eli.billauer@gmail.com> | 2026-10-09 09:45:52 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 16:31:16 +0200 |
| commit | ca263d97a83cd6e2e646197e46396519ac57dcb6 (patch) | |
| tree | 779f1826c81b0d994aac073bc50bc0802e5436ab /tools/lib/python/kdoc | |
| parent | 305876de50cc691ffdcb6aa7fd9805c8e6ff789e (diff) | |
char: xillybus: Remove duplicate error path code
Remove dedicated code for the error path, which is both redundant and
incorrect: It calls kref_put() before mutex_unlock(&chan->lock). As
kref_put() may result in releasing the memory containing the mutex, this
could lead to UAF.
Assisted-by: Deepseek:v4-pro Kimi:K2.6 ChatGPT:GPT-5.5 Claude:Sonnet-4.6
Assisted-by: Sashiko-0.2.5:gemini-3.1-pro-preview
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Link: https://patch.msgid.link/20261009074557.19996-3-eli.billauer@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
