Description
In the Linux kernel, the following vulnerability has been resolved:

selinux: fix BPF token permission checks

Avoid multiple lookups of the bpffs creator SID using the token's file
descriptor when the same information can be found via the resolved
path/dentry (in selinux_bpf_token_create()) or the token itself (in
selinux_bpf_map_create() and selinux_bpf_prog_load()). Not only does
this simplify the code, it avoids potential TOCTOU issues if the user
changes the token file descriptor passed into the kernel.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Privilege Escalation via SELinux BPF token permission mischecks
Action: Apply Update
AI Analysis

Impact

The flaw involved SELinux authorization checks for BPF tokens. When creating a token or loading a program, the kernel looked up the creator’s SID multiple times using the token’s file descriptor. Because the SID information could also be derived from the resolved path or the token data itself, an attacker could exploit a time‑of‑check to time change the file descriptor after permissions were checked, potentially bypassing SELinux policies and gaining higher privileges. The fix removes redundant lookups and eliminates the race, ensuring correct permission enforcement.

Affected Systems

All Linux kernel releases that contain the obsolete SELinux BPF token code are affected, regardless of distribution. The fix was applied to the kernel source in the referenced commits. Users running kernel versions prior to these changes are impacted.

Risk and Exploitability

The vulnerability is not listed in CISA’s KEV catalog and has no EPSS score available, indicating low exploitation likelihood as of the last assessment. Exploit requires the ability to load eBPF programs and manipulate token file descriptors, a capability generally limited to privileged users. The CVSS score is not provided, but the focus on SELinux authorization suggests a moderate severity if exploited. Applying the fixed kernel version removes the flaw and eliminates potential privilege escalation.

Generated by OpenCVE AI on October 28, 2026 at 11:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the SELinux BPF token permission check fix from the latest kernel release.
  • Verify that the kernel image includes the commit hashes 77d499e61d36e883a6ad1f10afe05f556aa7e0cc or e1ef306ba20eb13099ca4463527890df67619405.
  • Ensure SELinux is enabled and configured to enforce policies on eBPF programs.

Generated by OpenCVE AI on October 28, 2026 at 11:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-367

Wed, 28 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: selinux: fix BPF token permission checks Avoid multiple lookups of the bpffs creator SID using the token's file descriptor when the same information can be found via the resolved path/dentry (in selinux_bpf_token_create()) or the token itself (in selinux_bpf_map_create() and selinux_bpf_prog_load()). Not only does this simplify the code, it avoids potential TOCTOU issues if the user changes the token file descriptor passed into the kernel.
Title selinux: fix BPF token permission checks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-28T10:34:42.881Z

Reserved: 2026-09-25T10:25:14.394Z

Link: CVE-2026-99129

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:32.690

Modified: 2026-10-28T11:17:32.690

Link: CVE-2026-99129

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T11:45:09Z

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition