cve.bz

CVE-2009-4895 Race Condition

4.7 mediumEPSS 0.3%Fix available

Medium (4.7). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Race condition in the tty_fasync function in drivers/char/tty_io.c in the Linux kernel before 2.6.32.6 allows local users to cause a denial of service (NULL pointer dereference and system crash) or possibly have unspecified other impact via unknown vectors, related to the put_tty_queue and __f_setown functions. NOTE: the vulnerability was addressed in a different way in 2.6.32.9.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-476 NULL Pointer Dereference
OWASP Top 10
A06:2025 Insecure Design, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2009-4895 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-4895?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-4895?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-4895 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 2.6.32.6
debian:debian_linux5.0
canonical:ubuntu_linux6.06
canonical:ubuntu_linux8.04
canonical:ubuntu_linux9.04
canonical:ubuntu_linux9.10
canonical:ubuntu_linux10.04
canonical:ubuntu_linux10.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian5.0linux-2.62.6.26-24lenny1DSA-2094-1
Red Hatenterprise_mrg:1::el5kernel-rt, kernel-rt-doc, kernel-rt-debug and 11 more0:2.6.24.7-149.el5rtRHSA-2010:0161

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the version of Linux kernel as shipped with Red Hat

Enterprise Linux 3, 4 and 5. This issue was addressed in Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2010-0161.html.

ProductPackageStateAdvisory
MRG for RHEL-5kernel-rt-0:2.6.24.7-149.el5rtFixed 2010-03-23RHSA-2010:0161

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-4895.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON