Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-98413

selinux: always fill AVC decision in avc_has_perm_noaudit()

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e6f2f381e4015386a656a369835f949c26000e6b to < c781e737aa0de95289b1774d5fd29388895737a9affected
  • e6f2f381e4015386a656a369835f949c26000e6b to < e308c5acfe283a66627fc407065626df4ab753ecaffected
  • e6f2f381e4015386a656a369835f949c26000e6b to < f9da796fa238f8e4414ee8481e6c979759a3d563affected
  • e6f2f381e4015386a656a369835f949c26000e6b to < e77461af13eab5c9a953cc52ec8432cc941d61e2affected
  • e6f2f381e4015386a656a369835f949c26000e6b to < 5a6f9a872b4ff68877caf998bee352153b7154bcaffected
  • e6f2f381e4015386a656a369835f949c26000e6b to < 24e00850bcff46b984f4c44b92e5499450fcfb5aaffected
  • e6f2f381e4015386a656a369835f949c26000e6b to < 835133337c2ce200db56f62d018c79087dee2603affected
  • e6f2f381e4015386a656a369835f949c26000e6b to < 8861db305103107199b1426f25fde1fb6d465583affected

Linux Linux

Default version status: affected

  • 5.1affected
  • 0 to < 5.1unaffected
  • 5.10.271 to ≤ 5.10.*unaffected
  • 5.15.222 to ≤ 5.15.*unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.158 to ≤ 6.6.*unaffected
  • 6.12.112 to ≤ 6.12.*unaffected
  • 6.18.54 to ≤ 6.18.*unaffected
  • 7.2.8 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References