Understanding the Security of Linux eBPF Subsystem
dc.contributor.author | Noor Mohamed, Mohamed Husain | en |
dc.contributor.author | Wang, Xiaoguang | en |
dc.contributor.author | Ravindran, Binoy | en |
dc.date.accessioned | 2023-09-05T13:40:02Z | en |
dc.date.available | 2023-09-05T13:40:02Z | en |
dc.date.issued | 2023-08-24 | en |
dc.date.updated | 2023-09-01T07:49:41Z | en |
dc.description.abstract | Linux eBPF allows a userspace application to execute code inside the Linux kernel without modifying the kernel code or inserting a kernel module. An in-kernel eBPF verifier preverifies any untrusted eBPF bytecode before running it in kernel context. Currently, users trust the verifier to block malicious bytecode from being executed. This paper studied the potential security issues from existing eBPF-related CVEs. Next, we present a generation-based eBPF fuzzer that generates syntactically and semantically valid eBPF programs to find bugs in the verifier component of the Linux kernel eBPF subsystem. The fuzzer extends the Linux Kernel Library (LKL) project to run multiple lightweight Linux instances simultaneously, with inputs from the automatically generated eBPF instruction sequences. Using this fuzzer, we can outperform the bpf-fuzzer [10] from the iovisor GitHub repository regarding fuzzing speed and the success rate of passing the eBPF verifier (valid generated code). We also found two existing ALU range-tracking bugs that appeared in an older Linux kernel (v5.10). | en |
dc.description.version | Published version | en |
dc.format.mimetype | application/pdf | en |
dc.identifier.doi | https://doi.org/10.1145/3609510.3609822 | en |
dc.identifier.uri | http://hdl.handle.net/10919/116208 | en |
dc.language.iso | en | en |
dc.publisher | ACM | en |
dc.rights | Creative Commons Attribution 4.0 International | en |
dc.rights.holder | The author(s) | en |
dc.rights.uri | http://creativecommons.org/licenses/by/4.0/ | en |
dc.title | Understanding the Security of Linux eBPF Subsystem | en |
dc.type | Article - Refereed | en |
dc.type.dcmitype | Text | en |