Investigating Linux Vulnerabilities with GPT-6 Cyber

Investigating Linux Vulnerabilities with GPT-6 Cyber — OpenAI

OpenAI

AI-assisted summary of Investigating Linux Vulnerabilities with GPT-6 Cyber — original source. Check the original for full context.

Source published:

Key ideas

  • OpenAI applied GPT-6 Cyber within an automated vulnerability research pipeline to discover and validate 948 confirmed local privilege escalation (LPE) exploits in the Linux kernel. (0:00)
  • The pipeline produced dynamic, working proof-of-concept scripts that escalate unprivileged users directly to root, rather than speculative or theoretical bug reports. (0:00)
  • By incorporating automated variant analysis, the team consolidated over 1,000 working exploits into 948 unified remediation patches to avoid overwhelming maintainers with individual pull requests. (5:14)
  • An internal adversarial review loop directs the cyber model to re-exploit patched code, successfully uncovering bypasses in both machine-generated fixes and patches written by veteran human engineers. (10:07)

Detailed notes

## Background Published by OpenAI on YouTube on November 23, 2026, this video features cyber researcher Kyle Zeng and applied cyber research lead Clint Gibler discussing how AI can accelerate vulnerability discovery and remediation. According to the page description, the session explores how an automated pipeline using GPT-6 Cyber validated 948 Linux kernel vulnerabilities, generated candidate patches for human review, and coordinated with upstream maintainers.

## TL;DR OpenAI developed an automated vulnerability research pipeline using analyst agents, virtual-machine dynamic triage, and automated patch generation to discover and validate 948 Linux kernel local privilege escalation (LPE) exploits. Moving beyond theoretical warnings, the system verified working exploits in runtime environments and consolidated candidate fixes through variant analysis to minimize maintainer review overhead. A key innovation in the workflow is an adversarial testing loop where the model attacks candidate patches to identify circumventions in both AI- and human-authored fixes. While current models clear out accessible flaws at an unprecedented scale, the researchers stress that resolving deeper architectural issues requires ongoing collaboration with upstream maintainers.

## Atmosphere & style The dialogue maintains a calm, technical, and pragmatic tone, functioning like a focused peer-to-peer engineering debrief rather than a hype-driven product demonstration. Clint Gibler leads the inquiry with structured, analytical questions, while Kyle Zeng reflects with measured humility on the stark leap from manual CTF contest auditing to AI-driven industrial scale. The mood is grounded and conscientious, highlighting a deep respect for the Linux kernel community alongside a candid awareness of the model's current technical boundaries.

## Bulletin - [00:00](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=0s) OpenAI applied GPT-6 Cyber within an automated vulnerability research pipeline to discover and validate 948 confirmed local privilege escalation (LPE) exploits in the Linux kernel. - [00:00](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=0s) The pipeline produced dynamic, working proof-of-concept scripts that escalate unprivileged users directly to root, rather than speculative or theoretical bug reports. - [05:14](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=314s) By incorporating automated variant analysis, the team consolidated over 1,000 working exploits into 948 unified remediation patches to avoid overwhelming maintainers with individual pull requests. - [10:07](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=607s) An internal adversarial review loop directs the cyber model to re-exploit patched code, successfully uncovering bypasses in both machine-generated fixes and patches written by veteran human engineers.

## Key takeaways - [00:00](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=0s) OpenAI deployed an automated vulnerability research and triage pipeline powered by cyber models to audit over 5,000 Linux kernel targets. - [00:00](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=0s) Validation relies strictly on runtime verification inside virtual machines, generating functional LPE exploit scripts that achieve root access from unprivileged accounts. - [02:51](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=171s) Manual auditing cannot keep pace with the Linux kernel's massive codebase of roughly 40 million lines of code. - [02:51](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=171s) Uncovering 948 functional LPE exploits in a single project represents an unprecedented leap in vulnerability research volume compared to historical career milestones. - [05:14](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=314s) Automated variant analysis was shifted to the remediation phase to create unified patches that address multiple related bug variants in one submission. - [05:14](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=314s) Consolidating patches at common sinks reduces pull request volume for maintainers, though it requires balancing maintainer convenience against the risk of performance regressions. - [07:37](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=457s) OpenAI implements a strict maintainer hygiene process, including manual code formatting checks and upstream deduplication audits, before submitting any patches. - [07:37](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=457s) The pipeline is structured as an expert-driven iterative workflow rather than a fully autonomous system running without human oversight. - [10:07](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=607s) Adversarial patch evaluation pits the AI back against the patched binaries to ensure candidate mitigations cannot be bypassed. - [11:08](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=668s) Current automated systems predominantly clear out accessible flaws, while uncovering deeper architectural vulnerabilities will demand next-generation models and pipelines. - [11:08](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=668s) Securing critical open-source computing infrastructure requires ongoing, coordinated collaboration between AI researchers, security analysts, and kernel maintainers.

## Detailed walkthrough ### [00:00](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=0s) Finding 948 Confirmed Linux Kernel LPE Exploits

OpenAI evaluated Linux kernel security using its advanced cyber model combined with an automated vulnerability research pipeline, ultimately discovering 948 confirmed local privilege escalation (LPE) exploits. Kyle Zeng, a security researcher at OpenAI who trains cyber models to uncover vulnerabilities in open-source software, explains his background prior to joining OpenAI: he was an independent security researcher completing a PhD at Arizona State University (ASU) and a competitive participant in high-profile hacking contests such as Pwn2Own, TyphoonPWN, and KernelCTF.

```mermaid flowchart TD accTitle: Vulnerability Research and Triage Pipeline accDescr: Pipeline showing code auditing, triage validation, exploit confirmation, and patch review. subgraph Discovery ["1. Vulnerability Discovery"] A["5,000+ Audit Targets"] --> B["Analyst Agents"] B --> C["2,000+ Candidate Findings"] end subgraph Triage ["2. Dynamic Validation"] C --> D["Triage Agents in VMs"] D --> E["Working PoC / Exploit"] end subgraph Remediation ["3. Patching & Review"] E --> F["Patch Generation Pipeline"] F --> G["Human Review & Upstream"] end ```

The resulting pipeline produces concrete exploit scripts rather than speculative bug reports. When executed, these scripts actively drive an unprivileged account to full root access inside a target environment. Clint Gibler emphasizes that the verification relies on tangible runtime proof rather than theoretical analysis: “These are not hypothetical vulnerabilities or the model says oh I think I found something here. This is something that the output you can just run it and observe that it works.”

- The audit began with over 5,000 targets identified across the Linux codebase, yielding over 2,000 initial candidate findings from analyst agents. - Triage agents subsequently launched virtual machines to execute dynamic triggers, validating whether crashes or unintended behaviors occurred. - Dynamic confirmation led to more than 1,000 working LPE exploits, condensed into 948 patches. - Kyle demonstrated an exploit live on a minimal VM running the latest Ubuntu release, executing a script that transitioned the session from an unprivileged user directly to root access.

---

[02:51](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=171s) Tracking Dashboard and the Scale of Linux Security

To oversee the process, Kyle created an internal operations dashboard that tracks candidate findings, token usage, and API credit spending across each phase of the pipeline. In addition to flagging vulnerabilities, the system drafts candidate patches for maintainer evaluation. A human review layer remains in place to vet each patch before it is submitted upstream to the Linux kernel maintainers.

The focus fell on the Linux kernel because it acts as the primary foundation for modern computing infrastructure—underpinning Android mobile devices, web servers, and supercomputers running mission-critical workloads. However, the sheer size and architectural complexity make manual auditing prohibitive. As Kyle observes: “It has 40 million lines of code. It's basically impossible for a human or even just one organization to analyze the all the source code or code base to identify all the vulnerabilities in the codebase that can potentially be abused by an attacker to compromise these devices.”

The volume of 948 working LPE exploits represents a massive leap in vulnerability research productivity. Reflecting on pre-AI standards in elite research competitions, Kyle notes that demonstrating around 10 functional exploits would establish someone as a leading researcher, and roughly 20 would span an entire successful career. Clint observes that AI has amplified Kyle's static and dynamic analysis expertise, allowing him to multiply what was previously accomplished manually. Kyle agrees, summarizing the shift: “That was like 10 and 20. Now 948 LPE is not just potentially exploitable exploits. It's kind of like a insane number.”

---

[05:14](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=314s) Bug Counting and Maintainer-Centric Patching

Counting vulnerabilities produced unexpected nuances when transitioning from manual research to an automated pipeline. Traditionally, security researchers discover a bug, publish a patch, and later perform variant analysis to locate similar code patterns; maintainers then issue distinct patches for each newly identified variant, with each counted as a separate vulnerability. By contrast, the OpenAI pipeline integrates automated variant analysis directly into its remediation stage, drafting unified patches that fix multiple bug variants simultaneously.

```mermaid flowchart LR accTitle: Bug Counting Dilemma accDescr: Comparison between historical 1-to-1 bug patching and modern unified patching. subgraph Traditional ["Traditional Vulnerability Accounting"] V1["Variant A"] --> P1["Patch 1"] V2["Variant B"] --> P2["Patch 2"] V3["Variant C"] --> P3["Patch 3"] end subgraph Unified ["AI Variant-Aware Patching"] VA["Variant A"] & VB["Variant B"] & VC["Variant C"] --> UP["1 Unified Patch"] end ```

This design created a discrepancy between the raw number of exploits and the reported vulnerability counts. Although the pipeline yielded over 1,000 working exploits, the team reported 948 vulnerabilities because 948 cohesive patches fully remediated them. Clint highlights that reducing the sheer volume of incoming PRs is vital for open-source maintainers: “Do they want say a million different patches or do they want the minimal set of patches that maximally solve the most problems?” Kyle cautions, however, that choosing where to patch involves tradeoffs: “This reduced number of patches is going to reduce maintainers effort which is helping them. However, this type of patches that patches at a common sink is able to lead to a performance regression which in some cases that maintainers prefer to create multiple patches at the source of the vulnerabilities instead of at the common path.”

---

[07:37](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=457s) Upstreaming Patches and Maintainer Collaboration

Working with the upstream Linux kernel maintainers has been productive, with many submitted patches accepted and merged into the main tree. Maintainers provide code reviews and suggest revisions when issues arise, which OpenAI’s team incorporates into subsequent iterations. To ensure submissions respect kernel community standards and minimize maintainer fatigue, the team adheres to three core practices:

1. **Integrated Variant Analysis:** Structuring patch generation logic to remediate multiple related code flaws under a single cohesive fix. 2. **Adversarial Patch Analysis:** Stress-testing generated patches internally to surface design flaws or introduced regressions before external submission. 3. **Manual Human Auditing and Hygiene:** Reviewing patches by hand to ensure adherence to Linux formatting conventions, and checking upstream trees and public discussions to guarantee patches are not redundant.

Kyle notes the importance of not wasting maintainer bandwidth: “Before we send out the patches, we will make sure that whatever we send out is not patched upstream and not being discussed publicly because sending duplicated reports is going to only increase maintainers burden.” Clint underlines that the workflow is an “expert driven iterative process” rather than fully autonomous AI problem-solving, with rules tailored to specific upstream software projects.

[10:07](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=607s) Adversarial Testing and Patch Validation

When deploying AI-driven systems to fix vulnerabilities, researchers must be careful not to overwhelm open-source maintainers with low-quality submissions. As Kyle Zeng notes, teams must actively collaborate with upstream maintainers to ensure their tooling does not add unnecessary review friction. A core innovation in this pipeline is the adversarial review loop used to evaluate potential fixes. Once a candidate patch is generated, the pipeline turns the model back around into an attacking role, prompting it to re-exploit the target software to verify whether the vulnerability can still be triggered or if the proposed fix can be bypassed entirely.

```mermaid flowchart TD accTitle: Adversarial Patch Testing Loop accDescr: A candidate patch is tested by the model acting as an attacker to verify if it bypasses the fix or secures the software. subgraph Generation ["Patch Creation"] P1["Generate Candidate Patch"] end subgraph AdversarialReview ["Adversarial Evaluation"] P2["Model Attacks Patched Code"] P2 -->|"Exploit Bypasses Fix"| P3["Flag Flaws in AI or Human Patch"] P2 -->|"Exploit Fails"| P4["Ready for Maintainer Review"] end P1 --> P2 P3 -->|"Iterate & Refine"| P1 ```

In multiple instances, the model successfully bypassed the initial patch, proving that an apparently clean fix was incomplete. This adversarial cycle proved valuable not only for testing machine-generated code, but also for catching overlooked flaws in patches authored by veteran human developers. While acknowledging that their pipeline is still evolving, the team views this adversarial verification step as an indispensable component for any automated remediation system. Kyle Zeng highlights the broader applicability of the approach: “In this adversarial review process, our system was able to identify issues in both AI generated patches and also human expert written patches which means this type of adversarial analysis for patches is quite important for well-established patch generation system.”

- When candidate patches are produced, the pipeline assigns the model to attack the patched binary to see if it can circumvent the mitigation. - The adversarial loop caught subtle bypasses in both AI-generated patches and patches drafted by experienced human security experts. - The team remains cautious about overclaiming capabilities, emphasizing that the system is not yet flawless but is actively progressing toward patches that maintainers can merge with complete confidence.

[11:08](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=668s) The Future of Vulnerability Research and Maintainer Collaboration

When Clint Gibler asks whether finding such high volumes of vulnerabilities diminishes the thrill of vulnerability research, Kyle Zeng explains that automated pipelines are currently clearing out the low-hanging fruit. The bugs surfaced in these initial runs are primarily the easier-to-reach issues. More complex, structural flaws remain buried deep within complex codebases, waiting for more capable models and refined architectural pipelines to uncover them. Kyle Zeng describes the technical horizon: “I believe there are more issues that are deeper in the code base that's difficult to find that requires potentially a better model or smarter pipeline so that we can identify those deeper vulnerabilities.”

The ultimate mission of this research is not simply bug hunting at scale, but fostering direct collaboration between AI researchers, external security analysts, and project maintainers. As AI systems develop increasingly sophisticated offensive and defensive capabilities, defending foundational infrastructure will require open coordination across the software ecosystem. Clint Gibler underscores this collective responsibility in his closing thoughts: “Ultimately, as AI is becoming more and more capable at cyber security, I think it really requires the security community as well as maintainers everywhere working together to secure the critical software we all rely on.”

- Current models predominantly identify accessible vulnerabilities, leaving deeper architectural bugs for next-generation models and reasoning pipelines. - The long-term vision centers on joining forces with maintainers and independent security researchers rather than dumping automated reports onto projects. - Broad collaboration across the global security community is critical to safeguarding the open-source software supply chain as AI security tools advance.

## Notable quotes > [11:08](https://www.youtube.com/watch?v=MpsO8Ds8uyo&t=668s) Ultimately, as AI is becoming more and more capable at cyber security, I think it really requires the security community as well as maintainers everywhere working together to secure the critical software we all rely on. — Clint Gibler

## Mentioned GPT-6 Cyber, OpenAI, Kyle Zeng, Clint Gibler, Linux, Linux kernel maintainers, Arizona State University, Pwn2Own, TyphoonPWN, KernelCTF, Ubuntu, Android

## Video description AI can help security teams move faster from finding vulnerabilities to getting fixes into the software people rely on.

In one run, GPT-6 Cyber helped validate 948 Linux kernel vulnerabilities and generate candidate patches for human review.

Cyber researcher Kyle Zeng sits down with Clint Gibler, applied cyber research lead, to discuss how he built the vulnerability research pipeline and worked with Linux maintainers to get fixes upstream, with lessons for security teams looking to scale their own work.

Read the full research: https://openai.com/index/a-thousand-fewer-paths-to-root/

[Source](https://www.youtube.com/watch?v=MpsO8Ds8uyo)

Reading summary

OpenAI security researchers Kyle Zeng and Clint Gibler demonstrated an automated vulnerability research pipeline that discovered 948 confirmed local privilege escalation exploits within the Linux kernel. Rather than generating speculative warnings, the system combines agent-driven static auditing with dynamic virtual machine verification to produce working root exploits and unified candidate patches. Automated Discovery and Runtime Exploit Validation (0:00) Auditing the Linux kernel's 40 million lines of code poses severe challenges for manual review, where discovering 10 to 20 functional exploits historically defined a researcher's entire career. OpenAI's pipeline initiated an audit across more than 5,000 targets, filtering them through analyst agents into over 2,000 initial candidates. Triage agents then launched virtual machines to execute dynamic triggers, validating whether crashes or unintended behaviors occurred. Clint Gibler emphasized that verification relied strictly on runtime execution rather than hypothetical flaw detection. The pipeline produced more than 1,000 working local privilege escalation (LPE) exploits capable of elevating unprivileged accounts to full root access, as demonstrated live in a minimal virtual machine running the latest Ubuntu release. Unified Patching and Architectural Trade-Offs (5:14) Traditional security research treats each discovered variant as an individual vulnerability requiring an isolated patch. By contrast, OpenAI's remediation workflow incorporated automated variant analysis directly into patch generation, consolidating over 1,000 functional exploits into 948 cohesive fixes submitted for review. This strategy aims to reduce review fatigue for open-source maintainers by minimizing incoming pull requests. However, Kyle Zeng noted that engineering patches at a common sink introduces technical trade-offs. While bundling multiple bugs into a single patch eases upstream administrative overhead, fixing issues at shared sinks can trigger performance regressions. Consequently, Linux kernel maintainers in certain instances still prefer multiple targeted patches applied directly at the vulnerability's source rather than a consolidated remedy. Adversarial Stress-Testing and Upstream Hygiene (7:37) To prevent burdening kernel maintainers with flawed code, OpenAI introduced an adversarial verification loop. Once a candidate fix is generated, the pipeline directs the cyber model to adopt an attacking persona, actively trying to circumvent the mitigation and re-exploit the target software. This adversarial testing revealed incomplete fixes and subtle bypasses not only in AI-generated patches but also in patches written by experienced human developers. Submissions to the upstream Linux repository are governed by strict operational hygiene to protect maintainer bandwidth. The team enforces human review to ensure compliance with kernel formatting standards and cross-references pending patches against public trees and active discussions, ensuring redundant reports are discarded before submission. Current Horizons and Open-Source Collaboration (11:08) Despite the sheer volume of 948 confirmed exploits, Kyle Zeng cautioned that the automated pipeline primarily clears accessible, low-hanging fruit. More complex, structural flaws remain buried deeper in the kernel's architecture, requiring next-generation models and more sophisticated reasoning pipelines to uncover. Both researchers argued that the ultimate goal of automated security tooling is not unilateral bug discovery, but fostering close collaboration with open-source project maintainers and independent analysts. Gibler underscored that securing foundational digital infrastructure against emerging threats depends on cooperative integration between AI laboratories and the broader developer ecosystem. OpenAI's research demonstrates that automated cyber pipelines can drastically amplify vulnerability discovery and exploit validation at scale. However, the researchers emphasize that resolving deep architectural flaws, preventing performance regressions, and upstreaming sustainable fixes still strictly require adversarial validation and human maintainer collaboration.

Source quotes

[11:08] Clint Gibler: Ultimately, as AI is becoming more and more capable at cyber security, I think it really requires the security community as well as maintainers everywhere working together to secure the critical software we all rely on.

Original transcript

[0:00] We used our most capable cyber model [0:02] together with a custom uh vulnerability [0:05] research pipeline to analyze Linux [0:07] kernel security. [music] Eventually, we [0:08] got 948 confirmed LP exploits for Linux [0:12] kernel. [0:20] >> So, Kyle, what's your role at OpenAI? [0:22] >> I'm a security researcher doing model [0:24] training using the cyber model to find [0:26] vulnerabilities in open source projects. [0:28] Before joining open AAI, I was a [0:31] independent security researcher doing a [0:33] PhD at ASU. [music] I participated in a [0:36] lot of the cyber security competitions [0:37] like pontoon, typhoon pawn and colonel [0:40] CTF. [0:42] [music] [0:46] Each LP or local privilege [music] [0:48] escalation exploit allows a unprivileged [0:51] user to fully control the system. I [0:53] think another important thing to clarify [0:55] here is that this pipeline the end of it [0:57] is a exploit or reproduction script that [1:00] [music] [1:01] when you run it you can observe the [1:03] behavior of going from a unprivileged [1:05] user to root. These are not hypothetical [1:07] vulnerabilities or the model says oh I [1:10] think I found something here. This is [1:12] something that the output you can just [1:13] run it and observe that it works. The [1:15] agent initially [music] [1:17] got 2,38 [1:20] candidate findings. those are not [1:22] validated ones. So for the 2,00 [1:24] findings, the [music] agent says there [1:26] is a potentially a vulnerability here [1:29] and then we use a dynamic environment to [1:31] validate them. [music] [1:37] So to find vulnerabilities, we identify [1:39] security relevant code regions in the [1:41] codebase because not [music] every line [1:43] of code in Linux is security relevant. [1:45] And then we ask a group of analyst [1:48] agents to perform security audit on each [1:50] of the region and then identify all the [1:52] potential vulnerabilities without [1:54] validating them. In [music] the next [1:55] stage, a group of triage agent will take [1:59] the unvalidated reports [music] and [2:01] actually launch a virtual machine and [2:03] try to trigger this vulnerability and [2:06] get a [music] actual PLC working. So one [2:08] key part here is that it's not just [2:10] statically reasoning about the code. [2:12] It's actually dynamically confirming [2:14] that we are observing some sort of crash [2:16] or other unintended [music] behavior. [2:18] >> Exactly. After we validated the [2:20] vulnerability reports, we will evaluate [2:22] their exploitability as in how many of [2:25] these vulnerabilities can [music] be [2:27] used for LP exploits. [2:28] >> So you actually have a demo for one of [2:31] the over 900 uh exploits that were [2:33] generated. [music] Do you mind showing [2:35] us what that looks like? [2:36] >> This is a very small virtual machine [2:38] running the latest Ubuntu. Now if we run [2:41] the exploit, it says root access [2:43] granted. We are starting from a normal [2:46] user. Now we're [music] granted root [2:48] access. [2:51] So currently the way our patch system [2:53] works is that for each generated [2:55] exploit, [music] we will generate a [2:57] patch. So Kyle, you built a dashboard [2:59] for this pipeline. Could you show us [3:00] what that looks like? [3:01] >> Yeah, here is the dashboard. As you can [3:03] see here, we have more than 5,000 audit [3:05] targets that led to more than 2,000 [3:08] candidate findings. [music] [3:09] This dashboard tracks the token usage [3:12] and also the API credit spanning of each [3:14] stage. Our pipeline will track the [3:16] findings [music] [3:17] and we can click into it. This is the [3:19] vulnerability reports. We also generate [3:21] a suggested patch here for maintainers [3:24] reference how this vulnerability can be [3:26] addressed. Currently it's still human [3:28] [music] still review these patches [3:30] before we upstream and then send them to [3:32] the maintainers. So Kyle, why did we [3:34] focus on Linux? Linux kernel is the [3:36] backbone of the internet. It powers [3:39] Android phones, a lot of the servers and [3:42] supercomputers out there running [3:44] critical tasks. So, it's very important, [3:46] but it's also complicated. [music] It [3:48] has 40 million lines of code. It's [3:51] basically impossible for a human or even [3:53] just one organization to analyze the all [3:56] the source code or code base to identify [3:59] all the vulnerabilities in the codebase [4:01] [music] that can potentially be abused [4:03] by an attacker to compromise these [4:05] devices. [music] [4:06] So the pipeline you built found almost a [4:08] thousand LPEs. Is that a lot? [4:11] >> In the past I was able to demonstrate LP [4:13] exploits at multiple competitions such [4:16] as Typhoon Pawn, Pontto, Konos CTF. I [4:19] was considered a successful Linux kernel [4:21] vulnerability researcher and [music] I [4:22] only had around 10 successful [4:25] demonstration at those places. For [4:27] [music] a successful career, I will say [4:30] 20 will be before AI, it will be a huge [4:33] number for a very [music] successful [4:35] security researcher. That was like 10. [4:37] That was like 10 and 20. Now 948 LP is [4:42] not just potentially exploitable [4:44] exploits. It's kind of like a insane [4:47] number. So it sounds like you had spent [4:49] years developing your expertise in [4:52] >> [music] [4:52] >> uh Linux kernel security and then what [4:53] AI has allowed you to do is to uh [4:56] amplify and scale your expertise. Yes, I [4:58] believe that is [music] true. Even [5:00] before AI, I was able to use dynamic [5:02] analysis or static analysis techniques [5:04] to find and validate vulnerabilities. In [5:07] this work, I just used AI [music] to [5:10] amplify this capability and my [5:12] knowledge. One thing I found really [5:14] interesting about this work is that [5:15] [music] how you count vulnerabilities is [5:18] actually not obvious. So in the past [5:22] when there is a vulnerability there is a [5:25] patch and other security researchers [5:28] seeing this [music] report may perform a [5:30] variant analysis to find variance of the [5:32] vulnerabilities and then maintainers [5:34] will create new patches for them. Those [5:37] will be considered as different [5:38] vulnerabilities. During this research, [5:42] our patch generation pipeline is able to [5:44] automatically perform variant analysis [5:47] and create patches that can patch [5:49] multiple variants at the same time which [5:52] introduces a implicit difficulty in buck [5:55] counting. Let's say in the past we have [5:58] three variants of the same code pattern [6:00] and we will count it as three [6:01] vulnerabilities but these days our patch [6:03] generation will patch it with one patch. [6:05] So is that three bucks or one bug? This [6:09] leads to a non-trivial situation where [6:13] the number of bugs is not equal to the [6:15] number of patches. So to avoid [music] [6:17] this confusion in the blog we explicitly [6:20] mention that the number of exploits [6:21] [music] [6:22] um was more than 1,00 but then we report [6:26] only 948 vulnerabilities because they [6:29] were able to be addressed [music] with [6:31] 948 patches. I think this is a very [6:34] maintainer focused way of thinking about [6:36] the [music] problem because think about [6:38] the people who own this codebase. Do [6:40] they want say a million different [6:42] patches or do they want the minimal set [6:44] of patches that maximally solve the most [6:46] problems? Yes, you could do separate [6:48] fixes [music] for all of them, but [6:49] that's actually more work for the [6:51] maintainers and more code for them to [6:53] maintain. But if you can just find the [6:56] minimal set of code changes that fixes [6:58] the most issues and perhaps that could [6:59] also even be architectural changes or [7:02] other like strategic [music] fixes, uh [7:04] that's really the type of changes we [7:05] want to be making and the focus here is [7:07] saving [music] maintainer time. This [7:09] reduced number of patches is going to [7:11] reduce maintainers effort which is [7:13] helping them. However, this type of [7:16] patches that patches at a common sync is [7:20] able to lead to a performance regression [7:24] which in some cases that maintainers [7:26] prefer to create multiple patches at the [7:28] source of the vulnerabilities instead of [7:30] at the common path. When and how how to [7:33] decide where to patch will be a open uh [7:36] open research question. [7:37] >> So, Kyle, we found a number of security [7:40] issues and generated patches for them as [7:43] well. What was [music] it like working [7:44] with the Linux maintainers to try to not [7:46] just find but actually get these [7:48] vulnerabilities fixed? [music] [7:49] >> They have been positive over the [7:51] process. A lot of the patches that we [7:53] sent out have been merged. Of course, [7:55] they will be reviewed by us first and [7:57] then uh extra maintainers. Some of them [8:00] when they detect issues in our [8:02] >> [music] [8:02] >> uh patches, they will point it out [8:04] nicely and then we will provide another [8:06] version. We basically use three steps to [8:09] make sure that the patches we send to [8:11] the maintainers are of high quality and [8:13] following their convention. First is [8:16] [music] [8:17] we built our own pipe generation system [8:20] that has good patch generation practice [8:23] such as performing a varant analysis so [8:26] [music] that one patch can address [8:28] multiple potential vulnerabilities. The [8:30] second is that we perform a adversarial [8:33] uh analysis of the patches we generate [8:36] to make sure that the patches of high [8:38] quality and with minimal number of [8:39] issues in it. The third is that we [8:42] manually review those patches and follow [8:45] the convention of Linux kernel community [8:48] to reduce the friction between us [8:50] sending a lot [music] of patches to the [8:52] kernel maintainers making sure that they [8:54] can process those patches using their [8:57] own workflow. Before we send out the [8:59] patches, we will make sure that whatever [9:02] we send out is not patched upstream and [9:05] not being [music] discussed publicly [9:07] because sending duplicated reports is [9:09] going to only increase maintainers [9:12] burden. Yeah, that's great to hear that [9:14] there were a number of steps taken to [9:15] try to minimize additional noise and [9:18] burden for the maintainers because they [9:19] are the heroes of the story really and [9:21] we're just trying to support [music] [9:22] them. The patch generation process in [9:25] the pipeline was actually created [9:26] iteratively, right? So we had an initial [9:28] approach [music] uh but then when we got [9:30] feedback from the maintainers, we uh [9:33] adjusted it so [music] that to your [9:34] point it generated patches that were [9:36] more within the coding conventions and [9:38] style. It isn't really like can AI do [9:40] this or not do it. It's more of like a [9:42] human expert driven iterative process [9:43] where you can [music] actually get [9:44] meaningfully better results. I totally [9:46] agree. So I think this process is [9:48] different for uh different projects. in [9:51] another project that we are working with [9:52] they have specifically requirements on [9:55] the package that we send them. [music] [9:56] So we have special instructions for that [9:59] specific project. I think for companies [10:02] or uh organizations that are developing [10:05] this kind of patch generation system [10:07] they should work with the maintainers to [10:09] making sure that it will not introduce [10:11] more burden to the [music] maintainers. [10:13] I think the adversarial testing of [10:15] patching is quite interesting. [music] [10:17] So when we generate a patch, we [10:19] essentially have the model try to attack [10:21] it and see if it can still exploit that [10:22] same vulnerability and bypass whatever [10:24] the fix was. And [music] in some cases, [10:27] we find that it actually can. So I think [10:29] that this patching loop is actually very [10:31] interesting, not just in testing AI [10:34] written patches, but also human [10:35] generated patches. In this adversarial [10:38] review process, our system was able to [10:40] identify issues in both AI generated [10:43] patches and also human expert written [10:45] patches which means this type of [10:47] adversarial analysis for patches [music] [10:50] is quite important for wellestablished [10:52] patch generation system. We do not claim [10:54] that our system is the best right now [10:56] and there was no issues in the patches [10:58] that we generated but we're working [11:00] towards that direction and hopefully we [11:02] can get to a stage where maintainers [11:05] [music] can merge our patches with [11:07] confidence. Does that make it hard for [11:09] you to get excited about vulnerability [11:11] research now that you just find so many? [11:14] >> So we [music] essentially identify those [11:16] easier to find bugs. I believe there are [11:20] more issues that are deeper in the code [11:22] base that's difficult to find that [11:25] requires [music] potentially a better [11:27] model or smarter pipeline so that we can [11:29] identify those deeper vulnerabilities. [11:31] We [music] want to use this [11:32] vulnerability research pipeline to join [11:35] force with maintainers and external [11:37] researchers jointly. [music] Ultimately, [11:39] as AI is becoming more and more capable [11:42] at cyber security, I think it really [11:44] requires [music] the security community [11:45] as well as maintainers everywhere [11:47] working together to secure the critical [11:49] software we all rely on. [music]