selinux: fix BPF token permission checks
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 77d499e61d36e883a6ad1f10afe05f556aa7e0cc and Kernel e1ef306ba20eb13099ca4463527890df67619405.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.0, >=5473a722f782f79f96b4691400d681c01fcacc2f <77d499e61d36e883a6ad1f10afe05f556aa7e0cc, >=5473a722f782f79f96b4691400d681c01fcacc2f <e1ef306ba20eb13099ca4463527890df67619405 | 77d499e61d36e883a6ad1f10afe05f556aa7e0cc, e1ef306ba20eb13099ca4463527890df67619405 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket