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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-19T14:43:12.810Z
- Modified: 2026-11-22T11:16:53.863Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e12d203b8c880061c0bf0339cad51e5851a33442 before a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd; from e12d203b8c880061c0bf0339cad51e5851a33442 before c206cdfee6c037b829178bb7e17e6e37ddc9aa35; 6.19 (not affected: before 6.19; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd>
- <https://git.kernel.org/stable/c/c206cdfee6c037b829178bb7e17e6e37ddc9aa35>

## Sources

- CVE List: [CVE-2026-99478](https://www.cve.org/CVERecord?id=CVE-2026-99478), CVE Terms of Use, modified 2026-11-22
- NVD: [CVE-2026-99478](https://nvd.nist.gov/vuln/detail/CVE-2026-99478), Public domain, modified 2026-11-22

---

Page: https://cve.day/CVE-2026-99478 · Whole record: https://cve.day/CVE-2026-99478.json · Rebuilt by cve.day 2026-11-25T22:59:52.087Z
