selinux: avoid dereference of garbage after mount failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 37801a36b4d68892ce807264f784d818f8d0d39b, Kernel 477ed6789eb9f3f4d3568bb977f90c863c12724e, Kernel 563e631a18c5b2bbab674a58154bcf41a6d90f13 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: selinux: avoid dereference of garbage after mount failure In case kern_mount() fails and returns an error pointer return in the error branch instead of continuing and dereferencing the error pointer. While on it drop the never read static variable selinuxfs_mount.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.17, >=0619f0f5e36f12e100ef294f5980cfe7c93ff23e <37801a36b4d68892ce807264f784d818f8d0d39b, >=0619f0f5e36f12e100ef294f5980cfe7c93ff23e <477ed6789eb9f3f4d3568bb977f90c863c12724e, >=0619f0f5e36f12e100ef294f5980cfe7c93ff23e <563e631a18c5b2bbab674a58154bcf41a6d90f13, >=0619f0f5e36f12e100ef294f5980cfe7c93ff23e <68784a5d01b8868ff85a7926676b6729715fff3c | 37801a36b4d68892ce807264f784d818f8d0d39b, 477ed6789eb9f3f4d3568bb977f90c863c12724e, 563e631a18c5b2bbab674a58154bcf41a6d90f13, 68784a5d01b8868ff85a7926676b6729715fff3c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket