Understanding the Security of Linux eBPF Subsystem

被引:1
|
作者
Mohamed, Mohamed Husain Noor [1 ]
Wang, Xiaoguang [2 ]
Ravindran, Binoy [1 ]
机构
[1] Virginia Tech, Blacksburg, VA 24061 USA
[2] Univ Illinois, Chicago, IL USA
基金
美国国家科学基金会;
关键词
Linux eBPF; Kernel Security; Fuzzing;
D O I
10.1145/3609510.3609822
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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).
引用
收藏
页码:87 / 92
页数:6
相关论文
共 50 条
  • [21] STRENGTHENING SECURITY OF IP MULTIMEDIA SUBSYSTEM
    Paulins, Nauris
    11TH INTERNATIONAL SCIENTIFIC CONFERENCE ON ENGINEERING FOR RURAL DEVELOPMENT, VOL 11, 2012, : 516 - 521
  • [22] Implementation of a telecommunication and security control subsystem
    Mizukoshi, Hidemi
    Kojyoma, Naoyuki
    Hirakawa, Masahiko
    Nakamura, Yoshiaki
    NTT R and D, 1994, 43 (07): : 13 - 20
  • [23] The FINS Framework: An Open Source Userspace Networking Subsystem for Linux
    Thompson, Michael S.
    Abdallah, Abdallah S.
    Reed, Jonathan M.
    MacKenzie, Allen B.
    DaSilva, Luiz A.
    IEEE NETWORK, 2014, 28 (05): : 32 - 37
  • [24] ANALYZING WINDOWS SUBSYSTEM FOR LINUX METADATA TO DETECT TIMESTAMP FORGERY
    Singh, Bhupendra
    Gupta, Gaurav
    ADVANCES IN DIGITAL FORENSICS XV, 2019, 569 : 159 - 182
  • [25] An Enhanced Approach to Dynamic Power Management for the Linux cpuidle Subsystem
    Roba, Andrei
    Baruch, Zoltan
    2015 IEEE 11TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTER COMMUNICATION AND PROCESSING (ICCP), 2015, : 511 - 517
  • [26] Container Instrumentation and Enforcement System for Runtime Security of Kubernetes Platform with eBPF
    Gwak, Songi
    Doan, Thien-Phuc
    Jung, Souhwan
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2023, 37 (02): : 1773 - 1786
  • [27] Linux server security.
    Gordon, RS
    LIBRARY JOURNAL, 2005, 130 (10) : 166 - 166
  • [28] Enhancing ReiserFS security in Linux
    Reiser, HT
    DARPA INFORMATION SURVIVABILITY CONFERENCE AND EXPOSITION, VOL II, PROCEEDINGS, 2003, : 188 - 188
  • [29] Neural controller for smart house security subsystem
    Teslyuk, Vasyl
    Denysyuk, Pavlo
    Kryvinska, Natalia
    Beregovska, Khrystyna
    Teslyuk, Taras
    10TH INT CONF ON EMERGING UBIQUITOUS SYST AND PERVAS NETWORKS (EUSPN-2019) / THE 9TH INT CONF ON CURRENT AND FUTURE TRENDS OF INFORMAT AND COMMUN TECHNOLOGIES IN HEALTHCARE (ICTH-2019) / AFFILIATED WORKOPS, 2019, 160 : 394 - 401
  • [30] Vector Magnetometer used as Magnetometric Security Subsystem
    Lipovsky, Pavol
    Draganova, Katarina
    Smelko, Miroslav
    Volcko, Tomas
    INTERNATIONAL CONFERENCE ON MILITARY TECHNOLOGIES (ICMT 2015), 2015, : 527 - 530