CVE-2026-46104
selinux: use sk blob accessor in socket permission helpers
Reported by linux · Published May 28, 2026
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.
EPSS 0.12% · 1.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| Linux | Linux | 7eca71f57f194c1638ebb7f4097d6be8fd04c101 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d1d991efaf34606d500dcbd28bedc0666eeec8e2, d1d991efaf34606d500dcbd28bedc0666eeec8e2, d1d991efaf34606d500dcbd28bedc0666eeec8e2 |
| Linux | Linux | 6.13, 0, 6.18.30 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| Linux | Linux | *, 7.0.7, 7.1 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.13, 6.13, 6.13 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (13 in total, the first dated here)
- Jun 1, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Jun 25, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46104
vulnetix vdb fixes CVE-2026-46104
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46104/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart