Files
linux-stable-mirror/fs
Al Viro 9a7de97b91 fix a leak in fcntl_dirnotify()
[ Upstream commit fdfe013347 ]

[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: 1934b21261 "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>
2025-07-24 08:56:30 +02:00
..
2025-06-19 15:32:36 +02:00
2025-07-10 16:05:08 +02:00
2025-07-10 16:05:08 +02:00
2025-07-24 08:56:30 +02:00
2025-01-23 17:22:55 +01:00
2025-03-22 12:54:15 -07:00
2025-07-10 16:05:08 +02:00
2025-06-27 11:11:36 +01:00