CVEvulnerability

CVE-2026-46104

5.5 MEDIUM Published 2026-05-28 Modified 2026-06-25 Official page ↗
Status
Analyzed
Published
2026-05-28
Last modified
2026-06-25
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected configurations

• linux linux kernel (>= 6.13 < 6.18.30) • linux linux kernel (>= 6.19 < 7.0.7) • linux linux kernel 7.1

References