{"api_version":"1","generated_at":"2026-06-02T17:31:19+00:00","cve":"CVE-2026-46104","urls":{"html":"https://cve.report/CVE-2026-46104","api":"https://cve.report/api/cve/CVE-2026-46104.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46104","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46104"},"summary":{"title":"selinux: use sk blob accessor in socket permission helpers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: use sk blob accessor in socket permission helpers\n\nSELinux socket state lives in the composite LSM socket blob.\n\nsock_has_perm() and nlmsg_sock_has_extended_perms() currently\ndereference sk->sk_security directly, which assumes the SELinux socket\nblob is at offset zero.\n\nIn stacked configurations that assumption does not hold. If another LSM\nallocates socket blob storage before SELinux, these helpers may read the\nwrong blob and feed invalid SID and class values into AVC checks.\n\nUse selinux_sock() instead of accessing sk->sk_security directly.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-28 10:16:25","updated_at":"2026-05-28 13:44:01"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/032e70aff025d7c519af9ab791cd084380619263","name":"https://git.kernel.org/stable/c/032e70aff025d7c519af9ab791cd084380619263","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7eca71f57f194c1638ebb7f4097d6be8fd04c101","name":"https://git.kernel.org/stable/c/7eca71f57f194c1638ebb7f4097d6be8fd04c101","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d350fef4bc2467fe1bce15f7a20fe60e01ce41ad","name":"https://git.kernel.org/stable/c/d350fef4bc2467fe1bce15f7a20fe60e01ce41ad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46104","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46104","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d1d991efaf34606d500dcbd28bedc0666eeec8e2 d350fef4bc2467fe1bce15f7a20fe60e01ce41ad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d1d991efaf34606d500dcbd28bedc0666eeec8e2 7eca71f57f194c1638ebb7f4097d6be8fd04c101 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d1d991efaf34606d500dcbd28bedc0666eeec8e2 032e70aff025d7c519af9ab791cd084380619263 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.30 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.7 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46104","cve":"CVE-2026-46104","epss":"0.000170000","percentile":"0.042650000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["security/selinux/hooks.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d350fef4bc2467fe1bce15f7a20fe60e01ce41ad","status":"affected","version":"d1d991efaf34606d500dcbd28bedc0666eeec8e2","versionType":"git"},{"lessThan":"7eca71f57f194c1638ebb7f4097d6be8fd04c101","status":"affected","version":"d1d991efaf34606d500dcbd28bedc0666eeec8e2","versionType":"git"},{"lessThan":"032e70aff025d7c519af9ab791cd084380619263","status":"affected","version":"d1d991efaf34606d500dcbd28bedc0666eeec8e2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["security/selinux/hooks.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.13"},{"lessThan":"6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.30","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.30","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.7","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc2","versionStartIncluding":"6.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: use sk blob accessor in socket permission helpers\n\nSELinux socket state lives in the composite LSM socket blob.\n\nsock_has_perm() and nlmsg_sock_has_extended_perms() currently\ndereference sk->sk_security directly, which assumes the SELinux socket\nblob is at offset zero.\n\nIn stacked configurations that assumption does not hold. If another LSM\nallocates socket blob storage before SELinux, these helpers may read the\nwrong blob and feed invalid SID and class values into AVC checks.\n\nUse selinux_sock() instead of accessing sk->sk_security directly."}],"providerMetadata":{"dateUpdated":"2026-05-28T09:35:07.397Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d350fef4bc2467fe1bce15f7a20fe60e01ce41ad"},{"url":"https://git.kernel.org/stable/c/7eca71f57f194c1638ebb7f4097d6be8fd04c101"},{"url":"https://git.kernel.org/stable/c/032e70aff025d7c519af9ab791cd084380619263"}],"title":"selinux: use sk blob accessor in socket permission helpers","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46104","datePublished":"2026-05-28T09:35:07.397Z","dateReserved":"2026-05-13T15:03:33.097Z","dateUpdated":"2026-05-28T09:35:07.397Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-28 10:16:25","lastModifiedDate":"2026-05-28 13:44:01","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46104","Ordinal":"1","Title":"selinux: use sk blob accessor in socket permission helpers","CVE":"CVE-2026-46104","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46104","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: use sk blob accessor in socket permission helpers\n\nSELinux socket state lives in the composite LSM socket blob.\n\nsock_has_perm() and nlmsg_sock_has_extended_perms() currently\ndereference sk->sk_security directly, which assumes the SELinux socket\nblob is at offset zero.\n\nIn stacked configurations that assumption does not hold. If another LSM\nallocates socket blob storage before SELinux, these helpers may read the\nwrong blob and feed invalid SID and class values into AVC checks.\n\nUse selinux_sock() instead of accessing sk->sk_security directly.","Type":"Description","Title":"selinux: use sk blob accessor in socket permission helpers"}]}}}