[lvc-project] [PATCH 1/2] tty: n_gsm: avoid reactivation without previous cleanup

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jul 7 08:58:23 MSK 2026


On Tue, Jul 07, 2026 at 08:47:46AM +0300, Dmitry Antipov wrote:
> On 7/6/26 6:18 PM, Greg Kroah-Hartman wrote:
> 
> > That's why userspace does not do this from multiple threads :)
> 
> What about malicious userspace like https://github.com/fff-vr/n_gsm_exploit?
> IIUC completely unlocked 'gsmld_ioctl()' makes such a things relatively simple.

The gsm code should never be loaded on systems that do not have the
hardware for it, which is why it requires root access to do so.

Systems that do have this hardware, are properly secured to not allow
untrusted userspace programs on it.

This has been discussed numerous times in the past on this list, nothing
new here.

thanks,

greg k-h



More information about the lvc-project mailing list