selinux: always fill AVC decision in avc_has_perm_noaudit()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 24e00850bcff46b984f4c44b92e5499450fcfb5a, Kernel 5a6f9a872b4ff68877caf998bee352153b7154bc, Kernel 835133337c2ce200db56f62d018c79087dee2603 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: selinux: always fill AVC decision in avc_has_perm_noaudit() avc_has_perm_noaudit() is documented to return a copy of the access decision in @avd, but its early return for an empty requested permission set leaves the buffer untouched. All callers pass an uninitialized stack variable and afterwards feed it to avc_audit(), and the inode hook even stores it in the per-task decision cache. Fill in a deny-all, audit-all decision, similar to avd_init(), so every caller receives a defined value at no cost on the hot path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.1, >=e6f2f381e4015386a656a369835f949c26000e6b <24e00850bcff46b984f4c44b92e5499450fcfb5a, >=e6f2f381e4015386a656a369835f949c26000e6b <5a6f9a872b4ff68877caf998bee352153b7154bc, >=e6f2f381e4015386a656a369835f949c26000e6b <835133337c2ce200db56f62d018c79087dee2603, >=e6f2f381e4015386a656a369835f949c26000e6b <8861db305103107199b1426f25fde1fb6d465583, >=e6f2f381e4015386a656a369835f949c26000e6b <c781e737aa0de95289b1774d5fd29388895737a9, >=e6f2f381e4015386a656a369835f949c26000e6b <e308c5acfe283a66627fc407065626df4ab753ec, >=e6f2f381e4015386a656a369835f949c26000e6b <e77461af13eab5c9a953cc52ec8432cc941d61e2, >=e6f2f381e4015386a656a369835f949c26000e6b <f9da796fa238f8e4414ee8481e6c979759a3d563 | 24e00850bcff46b984f4c44b92e5499450fcfb5a, 5a6f9a872b4ff68877caf998bee352153b7154bc, 835133337c2ce200db56f62d018c79087dee2603, 8861db305103107199b1426f25fde1fb6d465583, c781e737aa0de95289b1774d5fd29388895737a9, e308c5acfe283a66627fc407065626df4ab753ec, e77461af13eab5c9a953cc52ec8432cc941d61e2, f9da796fa238f8e4414ee8481e6c979759a3d563 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket