net/unix/af_unix.c in the Linux kernel 2.6.31.4 and earlier allows local users to cause a denial of service (system hang) by creating an abstract-namespace AF_UNIX listening socket, performing a shutdown operation on this socket, and then performing a series of connect operations to this socket.
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Linux_kernel | Linux | * | 2.6.31.4 (including) |
MRG for RHEL-5 | RedHat | kernel-rt-0:2.6.24.7-137.el5rt | * |
Red Hat Enterprise Linux 4 | RedHat | kernel-0:2.6.9-89.0.18.EL | * |
Red Hat Enterprise Linux 5 | RedHat | kernel-0:2.6.18-164.9.1.el5 | * |
Linux | Ubuntu | hardy | * |
Linux | Ubuntu | intrepid | * |
Linux | Ubuntu | jaunty | * |
Linux | Ubuntu | karmic | * |
Linux-source-2.6.15 | Ubuntu | dapper | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.