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

ufs: create the root dentry after loading cylinder metadata

ufs_fill_super() installed sb->s_root before it loaded the cylinder
group structures for a writable mount:

sb->s_root = d_make_root(inode);
...
if (!sb_rdonly(sb))
if (!ufs_read_cylinder_structures(sb))
goto failed;

When ufs_read_cylinder_structures() failed, the error path freed the
in-core superblock information and set sb->s_fs_info to NULL while
sb->s_root stayed installed. get_tree_bdev() then reached
deactivate_locked_super(), and because s_root was present,
generic_shutdown_super() called sync_filesystem() and the put_super
operation. Both dereference UFS_SB(sb), which is now NULL, so a mount
that fails only while reading the cylinder groups oopses during
teardown. A crafted image whose first cylinder group cannot be read
reaches this path.

Load the cylinder group metadata first and create the root dentry last,
so the superblock is published to the VFS only once it is fully set up.
ufs_setup_cstotal() and ufs_read_cylinder_structures() take only the
super_block and do not use the root inode, so the reordering is safe.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel crash via null pointer dereference during teardown of a failed UFS mount
Action: Apply patch immediately
AI Analysis

Impact

The Linux kernel contains a flaw in the UFS filesystem module where the root directory entry is installed before the cylinder group metadata is loaded during mounting. If reading the first cylinder group fails, the superblock is freed while the root entry remains, and subsequent cleanup dereferences a NULL pointer. This results in a kernel oops, effectively crashing the system.

Affected Systems

All Linux kernel installations that enable the UFS filesystem module are affected, regardless of specific version. The flaw exists in the implementation of ufs_fill_super and the associated cylinder group handling routine. Systems that routinely mount UFS images—such as legacy file systems, embedded devices, or custom kernels—are at risk if the unpatched module is in use.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score is below 1%, reflecting a very low but nonzero probability of exploitation, and the vulnerability is not listed in CISA KEV. The attack vector is likely local: an attacker must mount a crafted UFS image whose first cylinder group cannot be read, which typically requires local or elevated privileges. When such a mount is attempted, the kernel crash occurs during teardown, producing a denial of service that can lead to a system reboot or halt.

Generated by OpenCVE AI on October 1, 2026 at 05:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the commit that reorders cylinder group loading before root dentry creation.
  • Restrict mounting of UFS filesystems to trusted images and avoid mounting untrusted or arbitrary UFS devices.
  • If an update is not immediately available, disable the UFS module by removing it with modprobe -r ufs or blacklisting it in /etc/modprobe.d/.

Generated by OpenCVE AI on October 1, 2026 at 05:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Fri, 25 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ufs: create the root dentry after loading cylinder metadata ufs_fill_super() installed sb->s_root before it loaded the cylinder group structures for a writable mount: sb->s_root = d_make_root(inode); ... if (!sb_rdonly(sb)) if (!ufs_read_cylinder_structures(sb)) goto failed; When ufs_read_cylinder_structures() failed, the error path freed the in-core superblock information and set sb->s_fs_info to NULL while sb->s_root stayed installed. get_tree_bdev() then reached deactivate_locked_super(), and because s_root was present, generic_shutdown_super() called sync_filesystem() and the put_super operation. Both dereference UFS_SB(sb), which is now NULL, so a mount that fails only while reading the cylinder groups oopses during teardown. A crafted image whose first cylinder group cannot be read reaches this path. Load the cylinder group metadata first and create the root dentry last, so the superblock is published to the VFS only once it is fully set up. ufs_setup_cstotal() and ufs_read_cylinder_structures() take only the super_block and do not use the root inode, so the reordering is safe.
Title ufs: create the root dentry after loading cylinder metadata
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:10:54.225Z

Reserved: 2026-09-25T10:18:58.203Z

Link: CVE-2026-97927

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:19.950

Modified: 2026-10-19T10:17:43.547

Link: CVE-2026-97927

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97927 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T05:45:17Z

Weaknesses