-
Notifications
You must be signed in to change notification settings - Fork 590
[Low] Patch apparmor for CVE-2023-53154 #14011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Buddy Build - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=838840&view=results |
Buddy build failed. @durgajagadeesh , can you check the failure - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=838840&view=results |
I am waiting for updates from Jagdeesh. He has mentioned in the teams chat that he is looking into the failure. |
3d0fef7
to
b7156d8
Compare
Hi @cyberbandya007, Thank you! |
@cyberbandya007 Please update below details
|
@@ -0,0 +1,50 @@ | |||
From 91b1b21fe68bdbcb51552cc2dc2e930da139a123 Mon Sep 17 00:00:00 2001 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please elaborate in the commit message,
- What is the reason of the failure
- How this patch fixes the failure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @0xba1a,
I have updated the commit message description according to your suggestions. Thanks!
SPECS/apparmor/apparmor.spec
Outdated
@@ -355,6 +359,10 @@ make DESTDIR=%{buildroot} install | |||
%exclude %{perl_archlib}/perllocal.pod | |||
|
|||
%changelog | |||
* Fri Jun 13 2025 Durga Jagadeesh Palli <v-dpalli@microsoft.com> - 3.0.4-5 | |||
- Patch CVE-2023-53154 | |||
- Patch apparmor_ptest_fix.patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Patch apparmor_ptest_fix.patch | |
- Patch apparmor_ptest_fix.patch to fix PTest failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @0xba1a,
I have updated the patch description according to your suggestions. Thanks!
SPECS/apparmor/apparmor.spec
Outdated
@@ -11,8 +11,12 @@ Source0: https://launchpad.net/apparmor/3.0/3.0.4/+download/%{name}-%{ver | |||
Patch1: apparmor-service-start-fix.patch | |||
Patch2: CVE-2023-50471.patch | |||
Patch3: CVE-2024-31755.patch | |||
Patch4: CVE-2023-53154.patch | |||
Patch5: apparmor_ptest_fix.patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name the patch after the test-case it is fixing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @0xba1a,
I’ve updated the patch name according to your suggestions. Thanks!
Hi @0xba1a ,
|
b7156d8
to
dcc70e5
Compare
Hi @cyberbandya007 and @0xba1a, ![]() ![]() ![]() -Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I signoff the patch changes to be merged in Azure Linux and verified that it doesn't contain any security breach issues.
@LeoMar4 / @0xba1a / @kgodara912 , gentle reminder for review and approval! |
@LeoMar4 / @0xba1a / @kgodara912 , gentle reminder for the action! |
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-static
subpackages, etc.) have had theirRelease
tag incremented../cgmanifest.json
,./toolkit/scripts/toolchain/cgmanifest.json
,.github/workflows/cgmanifest.json
)./LICENSES-AND-NOTICES/SPECS/data/licenses.json
,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON
)*.signatures.json
filessudo make go-tidy-all
andsudo make go-test-coverage
passSummary
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology
Local VM build log file:
apparmor-3.0.4-5.cm2.src.rpm.log
Local VM tests log file:
apparmor-3.0.4-5.cm2.src.rpm.test.log
The SRPM tests are failing even before applying patch.

The SRPM tests are failing after applying patch also buddy build.
