CVE-2026-74343
kernfs: fix xattr race condition with multiple superblocks
Mitigation
- Upgrade Linux to 6a07814ff643b5c8e1353d8c6229f52fde205cde or later.
Who should check
- Anyone running Linux >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < bf53db51359939755084d08156684ed649489592; >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < 6a07814ff643b5c8e1353d8c6229f52fde205cde
- Anyone running Linux 7.1
Vulnerability facts
- Affected
- Linux >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < bf53db51359939755084d08156684ed649489592; >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < 6a07814ff643b5c8e1353d8c6229f52fde205cde; Linux 7.1
- Fixed in
- Linux 6a07814ff643b5c8e1353d8c6229f52fde205cde
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: kernfs: fix xattr race condition with multiple superblocks Multiple superblocks with different namespaces can share the same kernfs_node when kernfs_test_super() finds a matching root but different namespace. This means multiple inodes from different superblocks can reference the same kernfs_node->iattr->xattrs structure. The VFS layer only holds per-inode locks during xattr operations, which is insufficient to serialize concurrent xattr modifications on the shared kernfs_node. This can lead to race conditions in simple_xattr_set() where the lookup->replace/remove sequence is not atomic with respect to operations from other superblocks. Fix this by protecting xattr operations with the existing hashed kernfs_locks->open_file_mutex[] array, which is already used to protect per-node open file data. The hashed mutex array provides scalable per-node serialization (scaled by CPU count, up to 1024 locks on 32+ CPU systems) with zero memory overhead. Changes: - Rename open_file_mutex[] to node_mutex[] to reflect dual purpose - Add kernfs_node_lock_ptr() and kernfs_node_lock() helpers - Protect simple_xattr_set() calls in kernfs_xattr_set() and kernfs_vfs_user_xattr_set() with the hashed mutex - Update file.c to use new helpers via compatibility wrappers - Update documentation to explain the extended lock usage
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-74343. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-74343.md Affected: Linux >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < bf53db51359939755084d08156684ed649489592; >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < 6a07814ff643b5c8e1353d8c6229f52fde205cde; Linux 7.1 Fixed in: Linux 6a07814ff643b5c8e1353d8c6229f52fde205cde Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-74343 being exploited?
There is no confirmed exploitation: CVE-2026-74343 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-74343?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-74343?
Linux >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < bf53db51359939755084d08156684ed649489592; >= b32c4a213698ab351b44da2fd1b2a5976c7fa033, < 6a07814ff643b5c8e1353d8c6229f52fde205cde; Linux 7.1.
Is there a fix for CVE-2026-74343?
Yes. Fixed in Linux 6a07814ff643b5c8e1353d8c6229f52fde205cde. Upgrade Linux to 6a07814ff643b5c8e1353d8c6229f52fde205cde or later.
How do I check if I'm affected by CVE-2026-74343?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.