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

Add kernelCTF CVE-2024-52925_mitigaiton #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mingi
Copy link
Contributor

@mingi mingi commented Feb 16, 2025

No description provided.

@koczkatamas koczkatamas force-pushed the master branch 3 times, most recently from 933028d to c111d81 Compare March 3, 2025 14:31
@koczkatamas koczkatamas force-pushed the master branch 13 times, most recently from 76d6b57 to bf0d68f Compare March 13, 2025 15:39
@koczkatamas koczkatamas added the recheck Triggers kernelCTF PR verification again label Mar 17, 2025
Copy link
Collaborator

@koczkatamas koczkatamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,

This is just a quick code quality review. We're planning to review the submissions more deeply (actually understanding what the exploit does) next week.

In general, the code quality looks good, no major concerns. I've left a few smaller comments here and please also apply the changes asked in the other PRs (#161, #162) here as well.

We also have a draft style guide now. Please take a look and let us know if it's helpful for understanding our code quality expectations: https://google.github.io/security-research/kernelctf/style_guide.

Thanks for the submission and PR!

printf("using kernel base %llx\n", base);

kbase = base;
// i64 diff = 0xffffffff81000000 - base;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


rop_chain((uint64_t*) buf);

spray_sendmsg();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you calling this twice intentionally or by mistake? If the former, then can you comment here why? See more her: https://google.github.io/security-research/kernelctf/style_guide#explain-duplicated-lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recheck Triggers kernelCTF PR verification again
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants