• Charlie Jacobsen's avatar
    Fixes security bug: LCD could modify host's struct. · 18fc3b79
    Charlie Jacobsen authored
    This is a trivial commit, but I want to get this fixed before
    it bites us in the future.
    
    The problem: the host kernel uses a struct to represent an
    installed kernel module. But this struct is literally embedded
    in the module's program bits. We're mapping the entire module
    inside the LCD. Thus, the LCD can do whatever it wants to the
    struct, and this could affect the host.
    
    Yes, all of the other parts of the module are technically exposed
    to the host. But it's important we isolate this struct because this
    is something the host will actually touch.
    
    The solution: I duplicate the page that contains the struct, so
    that the LCD has a separate copy of the struct.
    
    Open issues: we still need to come up with a solution for an LCD
    to pass its struct module as an argument, via rpc. I'm going to
    hack it for now with PMFS.
    18fc3b79
Name
Last commit
Last update
..
acpi Loading commit data...
asm-generic Loading commit data...
clocksource Loading commit data...
crypto Loading commit data...
drm Loading commit data...
dt-bindings Loading commit data...
keys Loading commit data...
kvm Loading commit data...
lcd Loading commit data...
lcd-domains Loading commit data...
linux Loading commit data...
math-emu Loading commit data...
media Loading commit data...
memory Loading commit data...
misc Loading commit data...
net Loading commit data...
pcmcia Loading commit data...
ras Loading commit data...
rdma Loading commit data...
rxrpc Loading commit data...
scsi Loading commit data...
soc Loading commit data...
sound Loading commit data...
target Loading commit data...
thc Loading commit data...
trace Loading commit data...
uapi Loading commit data...
video Loading commit data...
xen Loading commit data...
Kbuild Loading commit data...