CVE-2009-4141 Use after free in n/a

High 7.2 Published Updated

Local attackers can gain privileges via a use-after-free in the Linux kernel's fasync_helper function when manipulating file locks and async flags.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2009-4141?

CVE-2009-4141 is a high-severity use after free vulnerability in Linux kernel, published on 19 Jan 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Use-after-free vulnerability in the fasync_helper function in fs/fcntl.c in the Linux kernel before 2.6.33-rc4-git1 allows local users to gain privileges via vectors that include enabling O_ASYNC (aka FASYNC or FIOASYNC) on a locked file, and then closing this file.

Weakness: CWE-399

Which versions are affected by CVE-2009-4141?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2009-4141?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2009-4141 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-4141 exists.

Public exploit code: 1 Exploit-DB entry.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-45gx-j644-hhf5.

Is CVE-2009-4141 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free