OpenAI’s o3 Model Helps Researcher Uncover Zero-Day Vulnerability in Linux Kernel’s SMB Stack

The vulnerability was discovered by researcher Sean Heelan using just OpenAI’s o3 API.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 26 May 2025 15:30 IST
Highlights
  • The Linux kernel’s SMB vulnerability is labelled CVE-2025-37899
  • A use-after-free vulnerability existed in the Linux SMB ‘logoff’ command
  • The researcher also shared a fix for the flaw
OpenAI’s o3 Model Helps Researcher Uncover Zero-Day Vulnerability in Linux Kernel’s SMB Stack

The researcher said the entire run to discover the flaw cost him $116 (roughly Rs. 9,865)

Photo Credit: Unsplash/James Harrison

OpenAI's o3 artificial intelligence (AI) model recently helped a cybersecurity researcher in uncovering a zero-day vulnerability in Linux. As per the researcher, the flaw was found in the Linux kernel's Server Message Block (SMB) implementation, also known as ksmbd. The previously unknown security flaw is said to be tricky to find since it involved multiple users or connections interacting with the system at the same time. This specific bug is now tracked as CVE-2025-37899, and a fix has already been released.

OpenAI's o3 Finds Zero-Day Vulnerability

Usage of AI models in finding zero-day or previously unknown (and likely unexploited) bugs is relatively rare, despite the increasing capabilities of the technology to potentially hunt them. Most researchers still prefer to uncover such security flaws using traditional code auditing, which can be a cumbersome way to analyse a large codebase. Researcher Sean Heelan detailed how OpenAI's o3 model assisted him in uncovering the flaw relatively easily in a blog post.

Interestingly, the major bug was not the focus for the researcher. Heelan was testing the AI's capability against a different bug (CVE-2025-37778), also described as the “Kerberos authentication vulnerability.” This bug also falls in the “use-after-free” category, which essentially means that a part of the system deletes something from memory, but other parts still try to use it afterwards. This can lead to crashes and security issues. The AI model was able to find the flaw in eight out of the 100 runs.

Once Heelan confirmed that o3 is capable of detecting a known security bug from a large chunk of code, he decided to use it to feed the AI model the entire file of the session setup command handler instead of just one function. This file, notably, contains around 12,000 lines of code and handles different types of requests. An analogy of this would be to give the AI a novel and to ask it to find a specific typo, only, this typo could potentially crash the computer.

Advertisement

After o3 was asked to run 100 simulations of this full file, it was only able to find the previously known bug once. Heelan acknowledges the drop in performance but highlights that the AI was still able to find the bug, which is a big feat. However, he found that in other runs, the OpenAI model spotted an entirely different bug, which was previously unknown, and the researcher missed it.

This new security flaw was also of the same nature, but it affected the SMB logoff command handler. This zero-day vulnerability also involved the system trying to access a file that was previously deleted, however, this bug triggered the issue when a user was logging out or ending a session.

Advertisement

As per o3's report, this bug could potentially crash the system or allow attackers to run code with deep system access, making it a major security concern. Heelan highlighted that o3 was able to understand a tricky bug in a real-world scenario, and explained the vulnerability clearly in its report.

Heelan added that o3 is not perfect and has a high signal-to-noise ratio (ratio between false positive to true positive). However, it found that the model behaves like a human when searching for bugs, unlike traditional security tools, which have a rigid way of functioning.

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement

Related Stories

Popular Mobile Brands
  1. Oppo Reno 14 5G Series Teased to Launch in India Soon
  2. Vivo Y400 Pro 5G With 5,500mAh Battery Launched in India: Price, Features
  3. OTT Releases This Week: Ground Zero, Detective Sherdil, Found S2, and More
  4. Vivo Y400 Pro 5G India Launch Today: All You Need to Know
  5. Samsung Galaxy M36 5G India Launch Date and Key Features Revealed
  6. Nothing Phone 3 to Get New Glyph Matrix Interface on the Rear Panel
  7. 16 Billion Login Credentials Have Been Leaked in Massive Data Breach
  8. YouTube Shorts Will Soon Let You Create AI Video Clips With Veo 3 Model
  9. Vivo T4 Lite 5G to Launch in India on June 24; Chipset Confirmed
  10. Samsung Galaxy Z Fold 7 Leaked Renders Suggest Design Changes
  1. 16 Billion Login Credentials Leaked in Massive Data Breach Impacting Apple, Google and More
  2. Vivo Y400 Pro 5G With 50-Megapixel Rear Camera, 5,500mAh Battery Launched in India: Price, Specifications
  3. Samsung Galaxy S25 FE Renders Leak Online, Suggesting Familiar Design With Thinner Bezels
  4. Samsung Galaxy Z Flip 7 Leaked Renders Suggest Edge-to-Edge Cover Display
  5. YouTube Shorts to Bring Google’s Veo 3 Video Generation Model With Audio Support 'This Summer'
  6. Samsung Galaxy Z Fold 7 Leaked Renders Hint at Design Changes; Storage Options Tipped
  7. Vivo Y400 Pro 5G Launching Today: Price in India, Expected Features and Specifications
  8. Fast Radio Bursts Reveal Universe’s Missing Matter Hidden in Cosmic Intergalactic Fog
  9. Apollo Astronauts Found Orange Glass Beads on the Moon, Scientists Now Know Why
  10. World’s Oldest Tailored Dress Found in Egyptian Tomb Dates Back Over 5,000 Years
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.