Skip to content
Snippets Groups Projects

Always clear DF when entering the kernel

Merged Jacob Lorentzon requested to merge 4lDO2/kernel:fix_df into master

If memcpy is modified to use REP MOVSB, it's possible to crash the kernel from userspace by doing SYS_OPEN with DF set. Even then, the kernel contains REP MOVS in some B-tree code on master, so it's probably vulnerable anyway.

Edited by Jacob Lorentzon

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading