CVE-2026-46104 Details
Description
In the Linux kernel, the following vulnerability has been resolved: selinux: use sk blob accessor in socket permission helpers SELinux socket state lives in the composite LSM socket blob. sock_has_perm() and nlmsg_sock_has_extended_perms() currently dereference sk->sk_security directly, which assumes the SELinux socket blob is at offset zero. In stacked configurations that assumption does not hold. If another LSM allocates socket blob storage before SELinux, these helpers may read the wrong blob and feed invalid SID and class values into AVC checks. Use selinux_sock() instead of accessing sk->sk_security directly.
A vulnerability in the Linux kernel's SELinux implementation affects socket permission handling. The issue arises because the SELinux socket state is stored in a composite LSM socket blob, and certain permission helpers currently access the socket security directly. This approach assumes that the SELinux blob is always at the beginning, which is not the case in stacked LSM configurations. If another LSM allocates socket storage before SELinux, it can lead to incorrect values being used in Access Vector Cache (AVC) checks. The vulnerability is present in the Linux kernel stable tree, specifically in versions 6.13 and later.
The vulnerability has been addressed by modifying the affected permission helpers to use the correct accessor for the SELinux socket state. Users should upgrade to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/032e70aff025d7c519af9ab791cd084380619263 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7eca71f57f194c1638ebb7f4097d6be8fd04c101 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d350fef4bc2467fe1bce15f7a20fe60e01ce41ad | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.13, < 6.18.30 >= 6.19, < 7.0.7 7.1 rc1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 25, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 28, 2026 | New CVE Received | kernel.org |