My talk at SSTIC 2024 in Rennes

A few months ago, I had the wonderful experience of presenting as an invited speaker at Symposium sur la Sécurité des Technologies de l’Information et des Communications (SSTIC) in Rennes, France. 🇨🇵

From what my French friends have told me, this is one of the largest and most relevant information security conferences in France, and this year marked its 22nd edition.

The conference is typically held in French, with mine being the only talk in English this year. So, I’m really excited to share the video of the presentation with you all. 🙂 🙌🏽🐧

Enhancing spatial safety: Better array-bounds checking in C (and Linux) — Gustavo A. R. Silva

The C language has historically suffered from a lack of proper bounds-checking on all kinds of arrays. The Kernel Self-Protection Project has been addressing this issue for several years. In this presentation, we will learn about the most recent hardening efforts to resolve the problem of bounds-checking, particularly for fixed-size and flexible arrays.

We will explore the different mechanisms being used to harden key APIs like memcpy() against buffer overflows, which includes the use of some interesting built-in compiler functions. We will also talk about a couple of recent compiler options like -fstrict-flex-arrays and -Wflex-array-member-not-at-end, as well as the new __counted_by__ attribute released in Clang-18 a few weeks ago, which helps us gain run-time bounds-checking coverage on flexible arrays.

Overall, we will discuss how various challenges have been overcome and highlight the innovations developed to solve the problem of array bounds-checking in both C and the Linux kernel once and for all.


Here is a link to the full presentation and slides: https://www.sstic.org/2024/presentation/invite_2024_2/

Thank you!

Here are some photos I took while I was in beautiful Rennes for the conference. 🙂

Gustavo A. R. Silva
Gustavo A. R. Silva works full-time as an Upstream Linux Kernel Engineer focused on hardening and proactive security. Over the past several years, he’s been hunting down and fixing all sorts of bugs and issues in the Linux kernel, as well as implementing hardening features. Gustavo's kernel work is supported by The Linux Foundation, and he is a member of the Kernel Self-Protection Project. He is a regular speaker at Kernel Recipes and has also presented his work at conferences such as Linux Security Summit, LinuxCon, Lund LinuxCon, Linux Plumbers and Everything Open. Additionally, Gustavo has been an invited speaker at SSTIC.

Leave a Comment

Your email address will not be published. Required fields are marked *