Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-99478

CVE-2026-99478: filelock: keep superblock active through delegation wait

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99478: high-severity vulnerability (CVSS 7.8) in Linux Linux.

What happened

Original description from the source: In the Linux kernel, the following vulnerability has been resolved: filelock: keep superblock active through delegation wait A caller may drop its path after try_break_deleg() returns a delegated inode but before break_deleg_wait() finishes. The extra inode reference held in struct delegated_inode does not keep the superblock active. After a lazy unmount, closing the delegation holder can release the last mount reference and shut down the superblock while another task waits for the delegation break. The waiter's final iput() can then enter the filesystem's eviction code after its superblock-private state was freed. This has been observed as a KASAN use-after-free in shmem_evict_inode(). When try_break_deleg() saves a delegated inode, take an active reference to its superblock while the caller still pins the mount. Keep that reference through break_deleg_wait() and the final iput(), then release it with deactivate_super(). This protects every caller of the helpers, including the mknod, mkdir, symlink and rmdir paths that drop their path before waiting.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

Linux Linux >= e12d203b8c880061c0bf0339cad51e5851a33442, < a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd; Linux Linux >= e12d203b8c880061c0bf0339cad51e5851a33442, < c206cdfee6c037b829178bb7e17e6e37ddc9aa35; Linux Linux 6.19; Linux Linux < 6.19; Linux Linux 7.3.2 (fixed in 7.3.2); Linux Linux 7.4-rc1 (fixed in 7.4-rc1)

ProductVersionsFixed in
Linux Linux>= e12d203b8c880061c0bf0339cad51e5851a33442, < a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd—
Linux Linux>= e12d203b8c880061c0bf0339cad51e5851a33442, < c206cdfee6c037b829178bb7e17e6e37ddc9aa35—
Linux Linux6.19—
Linux Linux< 6.19—
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 7.3.2, 7.4-rc1.

Fixed in: 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.