Skip to content
Memory corruption Write-up Advanced

When AI Makes 0-Days Feel Like N-Days

A use-after-free vulnerability was found in the Linux kernel's net/sched subsystem, which an attacker could exploit to achieve local privilege escalation. The author also mentions two other exploitable bugs in kernel/events/core.c, with an exploit for one.

starlabs.sg

Published on starlabs.sg

After my n-day analysis on net/tls bugs and exploit writing for a patched net/rxrpc bug, I moved on to 0-day bug hunting. With the help of AI, I found a UAF bug in net/sched, and went about creating an LPE exploit based on it.

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a use-after-free in the net/sched subsystem, where memory is freed but still referenced.

Impact

An attacker could exploit this to achieve local privilege escalation on a CentOS 9 desktop.

What the attacker needed

Local access to the system

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A use-after-free is a type of memory bug where a program keeps using memory after it has been freed, which can let an attacker take control. Here, this happened in a part of the Linux kernel that manages network traffic, and the attacker could use it to gain higher privileges on the machine.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.