fuse: abort on fatal signal during sync init
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.257.0.27.1In 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.
From the CVE record · Linux
In the Linux kernel, a FUSE filesystem mount using synchronous initialization can hang if the server exits while processing FUSE_INIT. The mounting process keeps the device file descriptor open, preventing the operation from aborting. The input does not identify an attacker access path or required authentication.
Engineers running Linux kernels that use FUSE synchronous initialization should check whether their versions are affected.