Re: [f2fs-dev] [PATCH] f2fs: reject device aliasing without a multi-device configuration
From: patchwork-bot+f2fs
Date: Wed Sep 30 2026 - 13:22:35 EST
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Fri, 18 Sep 2026 13:39:22 +0000 you wrote:
> A malformed F2FS image can enable F2FS_FEATURE_DEVICE_ALIAS without
> providing a multi-device configuration. For a regular single-device
> filesystem, f2fs_scan_devices() returns without allocating sbi->devs.
>
> In this state, f2fs_dev_is_alloc_blocked() passes the device alias
> feature check and dereferences FDEV(0), resulting in a NULL pointer
> dereference during segment allocation.
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: reject device aliasing without a multi-device configuration
https://git.kernel.org/jaegeuk/f2fs/c/7566fec606d2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html