diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-12 18:18:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-24 08:58:34 +0200 |
| commit | f25d31d7f3a0511e378f417fa006c938cc09f92c (patch) | |
| tree | 50072c4ee449314fc2fd89e390bcaa0d7d276efc /tools/perf/scripts/python/stackcollapse.py | |
| parent | da11bd4b697b393a207f19a2ed7d382a811a3ddc (diff) | |
| download | kernel-f25d31d7f3a0511e378f417fa006c938cc09f92c.tar.gz | |
fix a leak in fcntl_dirnotify()
[ Upstream commit fdfe0133473a528e3f5da69c35419ce6711d6b89 ]
[into #fixes, unless somebody objects]
Lifetime of new_dn_mark is controlled by that of its ->fsn_mark,
pointed to by new_fsn_mark. Unfortunately, a failure exit had
been inserted between the allocation of new_dn_mark and the
call of fsnotify_init_mark(), ending up with a leak.
Fixes: 1934b212615d "file: reclaim 24 bytes from f_owner"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/20250712171843.GB1880847@ZenIV
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
