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

Fix page table corruption bug #43

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fix page table corruption bug #43

merged 1 commit into from
Jan 6, 2025

Conversation

sysheap
Copy link
Owner

@sysheap sysheap commented Jan 6, 2025

I incidentally set the sp of the powersave process to the actual physical address. It therefore, overwrite some of the kernel memory because the stack is growing down.

Note to myself: We should make the kernel page tables readonly after creating them to prevent such things a bit better in the future.

I incidentally set the sp of the powersave process to the actual physical
address. It therefore, overwrite some of the kernel memory because the
stack is growing down.

Note to myself: We should make the kernel page tables readonly after
creating them to prevent such things a bit better in the future.
@sysheap sysheap merged commit b624d81 into main Jan 6, 2025
6 checks passed
@sysheap sysheap deleted the fix-page-table-corruption branch January 6, 2025 13:49
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.

1 participant