CVE-2026-99478
published high CVSS 3.1 · 7.8filelock: keep superblock active through delegation wait
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe12d203b8c880061c0bf0339cad51e5851a33442 to < a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd · e12d203b8c880061c0bf0339cad51e5851a33442 to < c206cdfee6c037b829178bb7e17e6e37ddc9aa35 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - filename_mkdirat, filename_mknodat, filename_symlinkat and filename_rmdir call try_break_deleg on the parent directory, then end_creating_path or path_put, then break_deleg_wait. That is a local syscall path; nfsd and ksmbd pass a NULL delegated_inode and never reach break_deleg_wait, and no wire message carries the triggering state. AC:L - The attacker mounts their own tmpfs, takes a directory delegation with fcntl F_SETDELEG, blocks in break_deleg_wait via mkdirat, then umount2(MNT_DETACH) and close() of the lease fd from another thread they control. The iput in break_deleg_wait races shmem_put_super only against that close, so the interleaving is attacker-controlled. PR:L - vfs_setlease allows F_SETDELEG for the directory owner without CAP_LEASE, and mkdirat only needs write and execute on that directory. Mounting tmpfs and umount2(MNT_DETACH) need CAP_SYS_ADMIN in the mount namespace user_ns (may_mount); tmpfs sets FS_USERNS_MOUNT, so an unprivileged user gets that by unsharing a user and mount namespace. UI:N - The same attacker opens the directory, sets the delegation, issues mkdirat, mknodat, symlinkat or rmdir, lazy-unmounts the tmpfs, and closes the lease fd. No other user has to mount an image or perform a filesystem operation. S:U - break_deleg_wait's final iput corrupts the calling kernel in shmem_evict_inode. The bug does not cross a KVM/Xen guest-host boundary or an IOMMU/DMA boundary. C:H - After shmem_put_super frees the shmem_sb_info, shmem_evict_inode still loads it through SHMEM_SB. simple_xattrs_free then dereferences the freed xa_cache.ht via rhashtable_remove_fast when the directory has xattrs, and shmem_free_inode reads max_inodes from that slab object. Reclaiming it yields an arbitrary read. I:H - shmem_free_inode raw_spin_locks the freed sbinfo->stat_lock and adds into free_ispace, and simple_xattrs_free unlinks xattrs through the freed xa_cache. Both write attacker-reclaimable heap, which is enough to build a kernel write primitive from this use-after-free. A:H - The waiter's iput runs shmem_evict_inode on sbinfo that shmem_put_super already freed, which is the reported KASAN use-after-free. If the inode is still on sb->s_inodes, generic_shutdown_super instead poisons i_sb and the same iput faults. Either way the kernel oopses.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e12d203b8c880061c0bf0339cad51e5851a33442 to < a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd (affected · git)e12d203b8c880061c0bf0339cad51e5851a33442 to < c206cdfee6c037b829178bb7e17e6e37ddc9aa35 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
filelock: keep superblock active through delegation wait
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d3ecdfd6d4035bb4a399138c29a416f17e4abb10381b3bd71904b4c09c6a89c5
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record