Skip to contentSkip to conversation

CVE-2026-31713: fuse: abort on fatal signal during sync init

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

fuse: abort on fatal signal during sync init

When sync init is used and the server exits for some reason (error, crash) while processing FUSE_INIT, the filesystem creation will hang. The reason is that while all other threads will exit, the mounting thread (or process) will keep the device fd open, which will prevent an abort from happening.

This is a regression from the async mount case, where the mount was done first, and the FUSE_INIT processing afterwards, in which case there's no such recursive syscall keeping the fd open.

The Linux kernel CVE team has assigned CVE-2026-31713 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18 with commit dfb84c33079497bf27058b15780e1c7bba4c371b and fixed in 6.18.25 with commit 0c7fca880a40a209a9c92be14143996d14b93ff6
	Issue introduced in 6.18 with commit dfb84c33079497bf27058b15780e1c7bba4c371b and fixed in 7.0.2 with commit 300e812b882a174dca675d8028684001ad5826bc
	Issue introduced in 6.18 with commit dfb84c33079497bf27058b15780e1c7bba4c371b and fixed in 7.1-rc1 with commit 204aa22a686bfee48daca7db620c1e017615f2ff

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-31713

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
fs/fuse/dev.c
fs/fuse/fuse_i.h
fs/fuse/inode.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/0c7fca880a40a209a9c92be14143996d14b93ff6
	https://git.kernel.org/stable/c/300e812b882a174dca675d8028684001ad5826bc
	https://git.kernel.org/stable/c/204aa22a686bfee48daca7db620c1e017615f2ff