Linux
lsm: hold cred_guard_mutex for lsm_set_self_attr()
In the Linux kernel, the following vulnerability has been resolved: lsm: hold cred_guard_mutex for lsm_set_self_attr() Just as proc_pid_attr_write() already does before calling the LSM hook. This only matters for SELinux and AppArmor which check whether the process is being ptraced and if so, whether to allow the transition.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= a04a1198088a1378d0389c250cc684f649bcc91e, < 82d3acee88593e3d9e71cad4b7d6b3cf70de9d07
- >= a04a1198088a1378d0389c250cc684f649bcc91e, < 5b906f31e977286888a9e31282589b545b249139
- >= a04a1198088a1378d0389c250cc684f649bcc91e, < a010cadaf5727b8417f62fe9021fcef14a5f9b51
- >= a04a1198088a1378d0389c250cc684f649bcc91e, < 4a9b16541ad3faf8bccb398532bf3f8b6bbf1188
Fixed in 82d3acee88593e3d9e71cad4b7d6b3cf70de9d07, 5b906f31e977286888a9e31282589b545b249139, a010cadaf5727b8417f62fe9021fcef14a5f9b51, 4a9b16541ad3faf8bccb398532bf3f8b6bbf1188
- 6.8
Fixed in 0, 6.12.92, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 82d3acee88593e3d9e71cad4b7d6b3cf70de9d07 or 5b906f31e977286888a9e31282589b545b249139 or a010cadaf5727b8417f62fe9021fcef14a5f9b51 or 4a9b16541ad3faf8bccb398532bf3f8b6bbf1188 or later.
Upgrade Linux to 0 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.