lkml.org 
[lkml]   [2000]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Local root exploit with kmod and modutils > 2.1.121
    Date
    Hello!

    > > request_module has the same effect as running suid. dev_load() can
    > > take the interface name and pass it to modprobe unchanged and modprobe
    > > does not verify its input, it trusts root/kernel.
    >
    > Then dev_load is being called the wrong way. In older kernels we explicitly
    > only did a dev_load with user passed names providing suser() was true.

    It checks CAP_SYS_MODULE nowadays.

    Which does not look good by the way, it is function of request_module(),
    rather than of caller.

    Alexey
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:21    [W:0.030 / U:0.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site