https://github.com/torvalds/linux
Revision 40a1926022d128057376d35167128a7c74e3dca4 authored by Al Viro on 05 June 2022, 18:01:42 UTC, committed by Al Viro on 05 June 2022, 19:03:03 UTC
It used to grab an extra reference to struct file rather than
just transferring to caller the one it had removed from descriptor
table.  New variant doesn't, and callers need to be adjusted.

Reported-and-tested-by: syzbot+47dd250f527cb7bebf24@syzkaller.appspotmail.com
Fixes: 6319194ec57b ("Unify the primitives for file descriptor closing")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 6319194
Raw File
Tip revision: 40a1926022d128057376d35167128a7c74e3dca4 authored by Al Viro on 05 June 2022, 18:01:42 UTC
fix the breakage in close_fd_get_file() calling conventions change
Tip revision: 40a1926
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.

All contributions to the Linux Kernel are subject to this COPYING file.
back to top