---
id: CVE-2026-99129
title: 'selinux: fix BPF token permission checks'
summary: |-
  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 t…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 5473a722f782f79f96b4691400d681c01fcacc2f <
    e1ef306ba20eb13099ca4463527890df67619405
  - >-
    Linux >= 5473a722f782f79f96b4691400d681c01fcacc2f <
    77d499e61d36e883a6ad1f10afe05f556aa7e0cc
  - Linux 7.0
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T10:34:42.881Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-99129'
references:
  - url: 'https://git.kernel.org/stable/c/e1ef306ba20eb13099ca4463527890df67619405'
  - url: 'https://git.kernel.org/stable/c/77d499e61d36e883a6ad1f10afe05f556aa7e0cc'
tags:
  - cve.org
ingestedAt: '2026-10-28T11:09:40.439Z'
epss: 0.00156
epssPercentile: 0.04772
---

## Overview

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.

## Affected

- `Linux >= 5473a722f782f79f96b4691400d681c01fcacc2f < e1ef306ba20eb13099ca4463527890df67619405`
- `Linux >= 5473a722f782f79f96b4691400d681c01fcacc2f < 77d499e61d36e883a6ad1f10afe05f556aa7e0cc`
- `Linux 7.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
