CVE-2017-5551
Description
The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 4.9.6-1 |
| debian | bullseye | fixed | 4.9.6-1 |
| debian | forky | fixed | 4.9.6-1 |
| debian | sid | fixed | 4.9.6-1 |
| debian | trixie | fixed | 4.9.6-1 |
| linux-kernel | affected | |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31
- http://www.debian.org/security/2017/dsa-3791
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6
- http://www.openwall.com/lists/oss-security/2017/01/21/3
- http://www.securityfocus.com/bid/95717
- http://www.securitytracker.com/id/1038053
- https://bugzilla.redhat.com/show_bug.cgi?id=1416126
- https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31
- https://www.suse.com/security/cve/CVE-2017-5551.html
- https://security-tracker.debian.org/tracker/CVE-2017-5551
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.