CVE-2026-139391
CVE-2026-139391 — ocfs2: retain all security xattrs during inode creation
In the Linux kernel, the following vulnerability has been resolved: ocfs2: retain all security xattrs during inode creation When creating a new inode, ocfs2_init_security_get() stores the security xattr returned by the LSM framework in ocfs2_security_xattr_info so that it can be written later within the same transaction. But ocfs2_initxattrs() only ever looks at the first element of the xattr array, and it keeps the name as a bare pointer into memory owned by the security layer instead of copying it. The value, by contrast, is already duplicated with kmemdup(). With stacked LSMs, security_inode_init_security() provides one xattr per LSM, so all labels but the first are silently dropped and never written to disk, leaving newly created files without the security xattrs the other LSMs rely on. The borrowed name is not an outright bug with the LSMs in tree today: security_inode_init_security() frees only ->value once the callback returns, and documents ->name as the attribute name suffix, so the pointer stays valid for as long as ocfs2 uses it. It is fragile though, as an LSM that allocates the name together with the value would turn it into a use-after-free, so the rework below copies the names as well. Fix this by storing copies of all the security xattrs: allocate an array in ocfs2_initxattrs(), copy the names and values, account for all of them in the credit calculations, and write each one in ocfs2_init_security_set(). While at it, switch the allocations from GFP_KERNEL to GFP_NOFS. The callback runs in the inode creation path with the parent directory locked, and the security layer allocates the very same xattr array with GFP_NOFS, so direct reclaim must not be allowed to recurse into the filesystem from here.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 6.4). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | c41324385aa7c9ac0fc1fa9c2521aacedea24788 | Vulnerable |
| Linux | Linux | 291fe3d6f5dbafa6dd87a510c1351e8ce8a8a52e to < 1b9930ebec9dc92b3cce3231dcb9ed8ebd5da7dd | Vulnerable |
| Linux | Linux | 8bdf47f9dbeac6b247c8f14fbaebfe020d9a2ffa | Vulnerable |
| Linux | Linux | de3004c874e740304cc4f4a83d6200acb511bbda to < 3a6df319db221e1bc4eb0ce22218c904512b1f60 | Vulnerable |
| Linux | Linux | de3004c874e740304cc4f4a83d6200acb511bbda to < 5c815fd8de4a7e935b287ebf980121876f229b76 | Vulnerable |
| Linux | Linux | de3004c874e740304cc4f4a83d6200acb511bbda to < 5bc277c89570e096c574188dcfdd538e3c139bd1 | Vulnerable |
| Linux | Linux | de3004c874e740304cc4f4a83d6200acb511bbda to < 314f6183f13fda459261a4723a453df67e15008b | Vulnerable |
| Linux | Linux | de3004c874e740304cc4f4a83d6200acb511bbda | Vulnerable |
| Linux | Linux | 0c80524f34e66fed0bc837758c5a80b1527847a4 | Vulnerable |
| Linux | Linux | 5.10.181 to < 5.10.275 | Vulnerable |
| Linux | Linux | 5.15.114 to < 5.15.226 | Vulnerable |
| Linux | Linux | 6.1.31 to < 6.1.193 | Vulnerable |
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
Added · GHSA-6q88-5jqm-v8hv published (unknown)
Nov 30, 2026 · GitHub Security Advisory
References
10 on the record
- git.kernel.org/stable/c/1b9930ebec9dc92b3cce3231dcb9ed8ebd5da7dd
Vendor Advisory
- git.kernel.org/stable/c/314f6183f13fda459261a4723a453df67e15008b
Vendor Advisory
- git.kernel.org/stable/c/3a6df319db221e1bc4eb0ce22218c904512b1f60
Vendor Advisory
- git.kernel.org/stable/c/5bc277c89570e096c574188dcfdd538e3c139bd1
Vendor Advisory
- git.kernel.org/stable/c/5c815fd8de4a7e935b287ebf980121876f229b76
Vendor Advisory
- git.kernel.org/stable/c/ae8ee59668124a4a544996727067cc5ae20af6dd
Vendor Advisory
- git.kernel.org/stable/c/ce055a1378e5b4e8fcaf1c8dc4df82c326bf9306
Vendor Advisory
- git.kernel.org/stable/c/d637475617d8468c2740a3436428681bcc8d3572
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139391 is ocfs2: retain all security xattrs during inode creation, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139391. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139391. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.