Skip to content
DoS Advisory Advanced CVE-2023-2019

Linux Kernel netdevsim Improper Update of Reference Count Denial-of-Service Vulnerability

The Linux kernel's netdevsim driver mishandles a reference count when scheduling events, which can lead to a denial-of-service condition. A local attacker with high privileges could exploit this to disrupt the system.

Lucas Leong Follow

Originally disclosed on Zero Day Initiative

Medium 5.3 View original

This vulnerability allows local attackers to create a denial-of-service condition on affected installations of Linux Kernel. An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit this vulnerability.

Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a reference count is not properly incremented or decremented when events are scheduled in the netdevsim driver, leading to a use-after-free or similar memory management error.

Impact

A local attacker with high privileges could cause a denial-of-service condition on the system.

What the attacker needed

High-privileged local access

The fix

Linux has issued an update to correct this vulnerability.

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 report has not been written yet. The Original tab links to the source.

A reference count is a number that tracks how many parts of the system are using a piece of memory. If that number is updated incorrectly, the system may free the memory too early or never free it, causing a crash. Here, a privileged local user could trigger such a mistake in a Linux kernel driver and make the system unstable.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Lucas Leong

View all

93 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.