Skip to content

Always clear DF when entering the kernel

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