{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T17:44:53Z","timestamp":1794591893008,"version":"4.9.1"},"reference-count":29,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2024,7,12]],"date-time":"2024-07-12T00:00:00Z","timestamp":1720742400000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["1763172, 1846230"],"award-info":[{"award-number":["1763172, 1846230"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100006785","name":"Google","doi-asserted-by":"publisher","award":["2020 Android Security and PrIvacy REsearch (ASPIRE)"],"award-info":[{"award-number":["2020 Android Security and PrIvacy REsearch (ASPIRE)"]}],"id":[{"id":"10.13039\/100006785","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2024,7,12]]},"abstract":"<jats:p>The eBPF technology in the Linux kernel has been widely adopted for different applications, such as networking, tracing, and security, thanks to the programmability it provides. By allowing user-supplied eBPF programs to be executed directly in the kernel, it greatly increases the flexibility and efficiency of deploying customized logic. However, eBPF also introduces a new and wide attack surface: malicious eBPF programs may try to exploit the vulnerabilities in the eBPF subsystem in the kernel.<\/jats:p>\n                  <jats:p>\n                    Fuzzing is a promising technique to find such vulnerabilities. Unfortunately, our experiments with the state-of-the-art kernel fuzzer, Syzkaller, show that it cannot effectively fuzz the\n                    <jats:italic toggle=\"yes\">eBPF runtime<\/jats:italic>\n                    , those components that are in charge of executing an eBPF program, for two reasons. First, the eBPF verifier (which is tasked with verifying the safety of eBPF programs) rejects many fuzzing inputs because (1) they do not comply with its required semantics or (2) they miss some dependencies, i.e., other syscalls that need to be issued before the program is loaded. Second, Syzkaller fails to attach and trigger the execution of eBPF programs most of the times.\n                  <\/jats:p>\n                  <jats:p>This paper introduces the BPF Runtime Fuzzer (BRF), a fuzzer that can satisfy the semantics and dependencies required by the verifier and the eBPF subsystem. Our experiments show, in 48-hour fuzzing sessions, BRF can successfully execute 8\u00d7 more eBPF programs compared to Syzkaller (and 32\u00d7 more programs compared to Buzzer, an eBPF fuzzer released recently from Google). Moreover, eBPF programs generatedby BRF are much more expressive than Syzkaller\u2019s. As a result, BRF achieves 101% higher code coverage. Finally, BRF has so far managed to find 6 vulnerabilities (2 of them have been assigned CVE numbers) in the eBPF runtime, proving its effectiveness.<\/jats:p>","DOI":"10.1145\/3643778","type":"journal-article","created":{"date-parts":[[2024,7,12]],"date-time":"2024-07-12T10:22:09Z","timestamp":1720779729000},"page":"1152-1171","source":"Crossref","is-referenced-by-count":14,"title":["BRF: Fuzzing the eBPF Runtime"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-4007-339X","authenticated-orcid":false,"given":"Hsin-Wei","family":"Hung","sequence":"first","affiliation":[{"name":"University of California, Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0130-587X","authenticated-orcid":false,"given":"Ardalan","family":"Amiri Sani","sequence":"additional","affiliation":[{"name":"University of California, Irvine, Irvine, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,7,12]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"2019. BPF Fuzzer. https:\/\/github.com\/iovisor\/bpf-fuzzer."},{"key":"e_1_3_1_3_2","first-page":"03","article-title":"BPF-HELPERS - list of eBPF helper functions","year":"2019","unstructured":"2019. BPF-HELPERS - list of eBPF helper functions, Linux, 2019-03-06. https:\/\/web.archive.org\/web\/20190313070209\/ https:\/\/man7.org\/linux\/man-pages\/man7\/bpf-helpers.7.html.","journal-title":"Linux"},{"key":"e_1_3_1_4_2","unstructured":"2021. Syzkaller: coverage-guided Linux system call fuzzer. https:\/\/opensource.google.com\/projects\/syzkaller."},{"key":"e_1_3_1_5_2","unstructured":"2022. BPF-HELPERS - list of eBPF helper functions Linux v6.1 2022-09-26. https:\/\/web.archive.org\/web\/20230715024726\/ https:\/\/man7.org\/linux\/man-pages\/man7\/bpf-helpers.7.html."},{"key":"e_1_3_1_6_2","unstructured":"2022. eBPF for Windows. https:\/\/github.com\/Microsoft\/ebpf-for-windows."},{"key":"e_1_3_1_7_2","unstructured":"2022. eBPF Summit. https:\/\/ebpf.io\/summit-2022\/."},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2019.23412"},{"key":"e_1_3_1_9_2","unstructured":"Sanjit Bhat and Hovav Shacham. 2022. Formal Verification of the Linux Kernel eBPF Verifier Range Analysis. https:\/\/sanjit-bhat.github.io\/assets\/pdf\/ebpf-verifier-range-analysis22.pdf. (2022)."},{"key":"e_1_3_1_10_2","doi-asserted-by":"crossref","unstructured":"Peng Chen and Hao Chen. 2018. Angora: Efficient fuzzing by principled search. In 2018 IEEE Symposium on Security and Privacy (SP). IEEE 711-725. https:\/\/doi.org\/10.1109\/SP.2018.00046","DOI":"10.1109\/SP.2018.00046"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP40001.2021.00071"},{"key":"e_1_3_1_12_2","unstructured":"Addison Crump . 2022. Earn $200K by fuzzing for a weekend: Part 1. https:\/\/secret.club\/2022\/05\/11\/fuzzing-solana.html."},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314590"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.5555\/2362793.2362831"},{"key":"e_1_3_1_15_2","article-title":"Specification and verification in the field: Applying formal methods to BPF just-in-time compilers in the Linux kernel","author":"Nelson Luke","year":"2020","unstructured":"Luke Nelson, Jacob Van Geffen, Emina Torlak, and Xi Wang. 2020. Specification and verification in the field: Applying formal methods to BPF just-in-time compilers in the Linux kernel. In Proceedings of the 14th USENIX Conference on Operating Systems Design and Implementation. https:\/\/www.usenix.org\/conference\/osdi20\/presentation\/nelson","journal-title":"Proceedings of the 14th USENIX Conference on Operating Systems Design and Implementation"},{"key":"e_1_3_1_16_2","unstructured":"Benjamin Curt Nilsen . 2020. Fuzzing the Berkeley Packet Filter."},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3609510.3609822"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3330576"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP40000.2020.00067"},{"key":"e_1_3_1_20_2","unstructured":"Simon Scannell. 2020. eBPF Fuzzer. https:\/\/scannell.io\/posts\/ebpf-fuzzing."},{"key":"e_1_3_1_21_2","article-title":"Alice in Kernel Land: Lessons Learned From the eBPF Rabbit Hole","author":"Jos\u00e9 Juan","year":"2023","unstructured":"Juan Jos\u00e9 L\u00f3pez Jaimez Simon Scannell, Valentina Palmiotti. 2023. Alice in Kernel Land: Lessons Learned From the eBPF Rabbit Hole. Black Hat Asia (2023).","journal-title":"Black Hat Asia"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3460319.3464814"},{"key":"e_1_3_1_23_2","unstructured":"Alexei Starovoitov. 2014. BPF syscall maps verifier samples llvm. https:\/\/lwn.net\/Articles\/609433\/."},{"key":"e_1_3_1_24_2","unstructured":"Alexei Starovoitov and Daniel Borkmann. 2014. net: filter: rework\/optimize internal BPF interpreter\u2019s instruction set. https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/torvalds\/linux.git\/commit\/?id=bd4cf0ed331a275e9bf5a49e6d0fd55dffc551b8"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/2509578.2509586"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-53291-8_29"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-45744-4_29"},{"key":"e_1_3_1_28_2","article-title":"\u2018Semantics, verification, and efficient implementations for tristate numbers","author":"Vishwanathan Harishankar","year":"2021","unstructured":"Harishankar Vishwanathan, Matan Shachnai, Srinivas Narayana, and Santosh Nagarakatte. 2021. \u2018Semantics, verification, and efficient implementations for tristate numbers. arXiv preprint arXiv:2105.05398 (2021).","journal-title":"arXiv preprint arXiv:2105.05398 (2021)"},{"key":"e_1_3_1_29_2","article-title":"Jitk: a Trustworthy In-Kernel Interpreter Infrastructure","author":"Wang X.","year":"2014","unstructured":"X. Wang, D. Lazar, N. Zeldovich, A. Chlipala, and Z. Tatlock. 2014. Jitk: a Trustworthy In-Kernel Interpreter Infrastructure. In Proc. USENIX OSDI. https:\/\/www.usenix.org\/conference\/osdi14\/technical-sessions\/presentation\/wang_xi","journal-title":"Proc. USENIX OSDI"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/1993316.1993532"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3643778","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3643778","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3643778","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T08:03:11Z","timestamp":1770192191000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3643778"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,7,12]]},"references-count":29,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2024,7,12]]}},"alternative-id":["10.1145\/3643778"],"URL":"https:\/\/doi.org\/10.1145\/3643778","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,7,12]]}}}