Skip to content
Memory corruption Write-up Advanced

CVE-2026-98432: 9.8 CVE affecting all Ubuntu versions

A use-after-free race in the Linux kernel's IPv4 TCP handling lets a remote attacker trigger memory corruption, which the advisory says can lead to remote code execution. The flaw arises because request-socket options are freed with a plain kfree while another CPU may still read them while building a SYNACK.

ubuntu.com

Published on ubuntu.com

Why this priority?

The author, on ubuntu.com

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 the request-socket option structures were released with a plain kfree instead of kfree_rcu, so a concurrent SYNACK path could still read freed memory.

Impact

A remote attacker could cause a use-after-free that the advisory says can lead to remote code execution; the suggested firewall rule blocks remote attempts but local processes can still set IPv4 socket options, so it only reduces risk.

What the attacker needed

Ability to send IPv4 TCP packets; IPv4 header options in the packet; race timing against SYNACK handling

The fix

The kernel was fixed by using kfree_rcu() in inet_sock_destruct() and tcp_v4_reqsk_destructor(), and fixed kernel packages are listed for the affected Ubuntu releases.

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.

When a computer accepts a new network connection, the kernel briefly keeps some settings for that half-open connection. A timing bug meant those settings could be freed while another part of the kernel was still reading them, so it could read memory that had already been handed back. An attacker who can send network traffic could exploit that to crash or possibly take over 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.