Skip to content
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

Cherry-pick fix for CVE-2023-20593 ("Zenbleed") #3300

Merged

Conversation

markusboehme
Copy link
Member

Issue number: n/a

Description of changes: Cherry-pick the software mitigation for CVE-2023-20593 ("Zenbleed") from the latest upstream stable kernel releases. Kept in separate commits to aid updating the individual kernel series as Bottlerocket's Amazon Linux upstream releases them. This also picks up a required refactoring commit that only moves code around.

Testing done: I tested kernels 5.10 and 5.15 with the aws-k8s-1.23 and aws-k8s-1.24 variants, respectively. For kernel 6.1, I built an additional, modified aws-k8s-1.24 variant that uses the 6.1 kernel instead.

Confirmed the patches apply cleanly and the mitigation does not kick in on virtual machines (e.g. c5a.large EC2 instance) or on machines with different micro architecture (e.g. Zen 3 on c6a.meta EC2 instance). I did not have access to an affected Zen 2 machine.

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.

The fix for CVE-2023-20593 is currently only available in the kernel.org
upstream 6.1 stable kernel, but not yet in an Amazon Linux kernel
release. Cherry-pick it from the upstream kernel.

Signed-off-by: Markus Boehme <[email protected]>
The fix for CVE-2023-20593 is currently only available in the kernel.org
upstream 5.15 stable kernel, but not yet in an Amazon Linux kernel
release. Cherry-pick it from the upstream kernel.

Signed-off-by: Markus Boehme <[email protected]>
The fix for CVE-2023-20593 is currently only available in the kernel.org
upstream 5.10 stable kernel, but not yet in an Amazon Linux kernel
release. Cherry-pick it from the upstream kernel.

Signed-off-by: Markus Boehme <[email protected]>
@markusboehme markusboehme merged commit edf01e2 into bottlerocket-os:develop Jul 27, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants