Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139569

f2fs: reject device aliasing without a multi-device configuration

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: reject device aliasing without a multi-device configuration 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. Device aliasing requires at least one secondary device. Reject superblocks that enable device aliasing without entries for both the main and secondary devices in sanity_check_raw_super().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • eae3faf210bdc69181be717ce90437eadc6b3c80 to < a68530a985f7aff0b63d7bfcca44ac12e9916a65affected
  • eae3faf210bdc69181be717ce90437eadc6b3c80 to < 7566fec606d233f803e61f5ce37c54fbcdb00010affected

Linux Linux

Default version status: affected

  • 7.3affected
  • 0 to < 7.3unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References