FreeBSD FStatFS Syscall Race Condition Vulnerability

BID:4040

Info

FreeBSD FStatFS Syscall Race Condition Vulnerability

Bugtraq ID: 4040
Class: Race Condition Error
CVE:
Remote: No
Local: Yes
Published: Feb 06 2002 12:00AM
Updated: Feb 06 2002 12:00AM
Credit: This vulnerability was discovered by Stefan Esser <[email protected]>.
Vulnerable: FreeBSD FreeBSD 4.5
FreeBSD FreeBSD 4.4
FreeBSD FreeBSD 4.3
FreeBSD FreeBSD 4.2
FreeBSD FreeBSD 4.1.1
FreeBSD FreeBSD 4.1
Not Vulnerable:

Discussion

FreeBSD FStatFS Syscall Race Condition Vulnerability

FreeBSD is a freely available, open source variant of the UNIX Operating System. It is distributed and maintained by the FreeBSD Project.

A problem in the fstatfs syscall could result in a kernel panic due to a race condition. Between the time the fstatfs system call and the access of the file, it is possible to remove the file. Removing the file would cause the file descriptor allocated to become invalid. This could result in the system becoming unstable, and potentially crashing.

Exploit / POC

FreeBSD FStatFS Syscall Race Condition Vulnerability

Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

FreeBSD FStatFS Syscall Race Condition Vulnerability

Solution:
A patch is available:


FreeBSD FreeBSD 4.1

FreeBSD FreeBSD 4.1.1

FreeBSD FreeBSD 4.2

FreeBSD FreeBSD 4.3

FreeBSD FreeBSD 4.4

FreeBSD FreeBSD 4.5

References

FreeBSD FStatFS Syscall Race Condition Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report