A vulnerability in the Linux kernel SELinux socket permission helpers was identified where direct access to sk->sk_security assumed the SELinux… (CVE-2026-46104)
A vulnerability in the Linux kernel SELinux socket permission helpers was identified where direct access to sk->sk_security assumed the SELinux socket blob was at offset zero. This assumption fails in stacked LSM configurations, potentially causing incorrect security identifiers and classes to be used in permission checks. The issue was resolved by using the selinux_sock() accessor instead of direct sk_security access.
AI Analysis
Technical Summary
The Linux kernel SELinux socket permission helpers sock_has_perm() and nlmsg_sock_has_extended_perms() directly dereference sk->sk_security, assuming the SELinux socket blob is at offset zero. In configurations where multiple Linux Security Modules (LSMs) are stacked and another LSM allocates socket blob storage before SELinux, this assumption is invalid. As a result, these helpers may read incorrect blob data, leading to invalid security identifiers (SIDs) and class values being passed to Access Vector Cache (AVC) permission checks. The vulnerability was fixed by replacing direct sk_security access with the selinux_sock() accessor, which correctly handles the socket blob offset in stacked LSM scenarios.
Potential Impact
This vulnerability does not affect confidentiality or integrity but can cause denial of service (availability impact) due to improper permission checks resulting from invalid security context data. There is no indication of privilege escalation or information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves using the selinux_sock() accessor instead of direct sk->sk_security access in the SELinux socket permission helpers. Until an official fix is available, users should monitor vendor advisories for updates.
A vulnerability in the Linux kernel SELinux socket permission helpers was identified where direct access to sk->sk_security assumed the SELinux… (CVE-2026-46104)
Description
A vulnerability in the Linux kernel SELinux socket permission helpers was identified where direct access to sk->sk_security assumed the SELinux socket blob was at offset zero. This assumption fails in stacked LSM configurations, potentially causing incorrect security identifiers and classes to be used in permission checks. The issue was resolved by using the selinux_sock() accessor instead of direct sk_security access.
CVSS v3.1
Score 5.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel SELinux socket permission helpers sock_has_perm() and nlmsg_sock_has_extended_perms() directly dereference sk->sk_security, assuming the SELinux socket blob is at offset zero. In configurations where multiple Linux Security Modules (LSMs) are stacked and another LSM allocates socket blob storage before SELinux, this assumption is invalid. As a result, these helpers may read incorrect blob data, leading to invalid security identifiers (SIDs) and class values being passed to Access Vector Cache (AVC) permission checks. The vulnerability was fixed by replacing direct sk_security access with the selinux_sock() accessor, which correctly handles the socket blob offset in stacked LSM scenarios.
Potential Impact
This vulnerability does not affect confidentiality or integrity but can cause denial of service (availability impact) due to improper permission checks resulting from invalid security context data. There is no indication of privilege escalation or information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves using the selinux_sock() accessor instead of direct sk->sk_security access in the SELinux socket permission helpers. Until an official fix is available, users should monitor vendor advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h7hm-vjhc-hcgc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-46104"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef7ed27e9c79719033aae
Added to database: 06/26/2026, 22:06:37 UTC
Last enriched: 06/26/2026, 22:48:42 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.