CVE-2026-139569

f2fs: reject device aliasing without a multi-device configuration

Published Nov 30, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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().

Analysis

AI-generated

Technical impact

A malformed F2FS image can enable the F2FS_FEATURE_DEVICE_ALIAS flag without providing a multi‑device configuration. When the kernel scans for devices it returns without allocating devices for the superblock, then later dereferences a NULL device pointer during segment allocation. This null pointer dereference results in a kernel crash, effectively denying service. The flaw is a classic input validation and null‑pointer dereference weakness that allows an attacker to cause a DoS by supplying a crafted file system image.

Affected Systems

The vulnerability affects the Linux kernel f2fs file‑system implementation. Any Linux kernel build that supports f2fs and can mount an F2FS image without a properly configured multi‑device setup is affected. No specific kernel version ranges are listed, so all supported kernels that include this code path are potentially impacted.

Risk and Exploitability

The exploit requires delivering a specially crafted F2FS image to the target machine. Attacks are likely to be local or physical, as the attacker would need to control the image that is mounted on the system. This could also be leveraged remotely if the malicious file system image is exposed to a client that mounts it, for example via networked storage. The EPSS score is not available, but the lack of a mitigate flag in CISA KEV and the severity implied by a kernel crash indicate a high‑risk vulnerability. The CVSS severity is not provided, but the impact of a kernel panic justifies treating it as high severity. Precautionary measures should be taken as soon as possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fixed device alias check for f2fs. The latest stable releases contain this patch and should be installed immediately.
  • If an immediate kernel upgrade is not possible, avoid mounting or using any F2FS images that enable device aliasing unless the superblock includes valid entries for both the main and secondary devices; otherwise the system will be susceptible to kernel panic.
  • Before mounting or integrating new F2FS images, verify that the file system image is well‑formed and contains the required multi‑device configuration to prevent the null pointer dereference.

Generated by OpenCVE AI on December 1, 2026 at 05:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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().
Title f2fs: reject device aliasing without a multi-device configuration
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM