KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
82 stars 5 forks source link

Harden various drivers #196

Open DemiMarie opened 2 years ago

DemiMarie commented 2 years ago

Currently, most drivers are not secure against malicious devices. This is especially nasty for USB drivers, but also impacts others (CAN bus?).

Not sure if this is in-scope for KSPP, or if it turns out to be equivalent to “rewrite all USB drivers in Rust”, but it would be a good idea anyway.

kees commented 2 years ago

It's certainly a good goal! :) Are there any specific patches, etc, you think could help here?

DemiMarie commented 2 years ago

The best approach I can think of is “require all drivers to have 100% coverage on syzbot.” Usual exceptions for BUG(), etc.