NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-xen/45830 (reading :dev/mem panics an i386 domU)



Synopsis: reading :dev/mem panics an i386 domU

State-Changed-From-To: open->analyzed
State-Changed-By: bouyer%NetBSD.org@localhost
State-Changed-When: Wed, 18 Jan 2012 21:28:02 +0000
State-Changed-Why:
The problem is in mm_md_physacc(), which checks if the requested PA is in
memory range, and then relies on 
kauth_authorize_machdep(KAUTH_MACHDEP_UNMANAGEDMEM)
which always allows access for root.
I guess that, at last for Xen, there should be extra checks here.





Home | Main Index | Thread Index | Old Index