Revert selinux overlayfs mmap and mprotect access checks for kernel-6.12 and kernel-6.18 - #535
Merged
Sparksssj merged 4 commits intoAug 27, 2026
Conversation
Sparksssj
force-pushed
the
restore-selinux-overlayfs-revert
branch
from
August 26, 2026 21:30
a3f6c8d to
c811da8
Compare
Sparksssj
marked this pull request as ready for review
August 26, 2026 21:32
Sparksssj
requested review from
KCSesh,
arnaldo2792,
jpculp,
maherthomsi,
piyush-jena and
vigh-m
as code owners
August 26, 2026 21:32
|
@Sparksssj Thanks for putting the fix. Do you know what the timeline on releasing this fix is? |
Sparksssj
force-pushed
the
restore-selinux-overlayfs-revert
branch
from
August 26, 2026 22:26
c811da8 to
e9d3814
Compare
Signed-off-by: Sparks Song <shijiao@amazon.com>
Signed-off-by: Sparks Song <shijiao@amazon.com>
Signed-off-by: Sparks Song <shijiao@amazon.com>
Sparksssj
force-pushed
the
restore-selinux-overlayfs-revert
branch
from
August 26, 2026 23:32
e9d3814 to
b03feba
Compare
vigh-m
approved these changes
Aug 26, 2026
Signed-off-by: Sparks Song <shijiao@amazon.com>
Sparksssj
force-pushed
the
restore-selinux-overlayfs-revert
branch
from
August 26, 2026 23:59
b03feba to
f7044d0
Compare
ginglis13
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
file:execmodon overlayfs is checked against the mounter (runtime_t) instead of the process, so UPX-packed/JIT container binaries are denied and crash at startup.kernel-6.1 is unaffected.
Testing done:
Built aws-k8s-1.35 (6.12.100) and aws-k8s-1.36 (6.18.41) AMIs from this branch and ran the execmod reproducer as
control_ton overlayfs under SELinux enforcing. On both kernels the previously-failing sequence now passes:Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.