The gfs2_fallocate function in fs/gfs2/file.c in the Linux kernel before 3.0-rc1 does not ensure that the size of a chunk allocation is a multiple of the block size, which allows local users to cause a denial of service (BUG and system crash) by arranging for all resource groups to have too little free space.
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Linux_kernel | Linux | * | 3.0 (excluding) |
Linux_kernel | Linux | 3.0 (including) | 3.0 (including) |
Linux_kernel | Linux | 3.0-rc1 (including) | 3.0-rc1 (including) |
Red Hat Enterprise Linux 5 | RedHat | kernel-0:2.6.18-274.el5 | * |
Red Hat Enterprise Linux 6 | RedHat | kernel-0:2.6.32-131.12.1.el6 | * |
Linux | Ubuntu | natty | * |
Linux | Ubuntu | upstream | * |
Linux-ec2 | Ubuntu | maverick | * |
Linux-ec2 | Ubuntu | upstream | * |
Linux-flo | Ubuntu | upstream | * |
Linux-fsl-imx51 | Ubuntu | upstream | * |
Linux-goldfish | Ubuntu | saucy | * |
Linux-goldfish | Ubuntu | upstream | * |
Linux-grouper | Ubuntu | saucy | * |
Linux-grouper | Ubuntu | upstream | * |
Linux-lts-backport-maverick | Ubuntu | upstream | * |
Linux-lts-backport-natty | Ubuntu | lucid | * |
Linux-lts-backport-natty | Ubuntu | upstream | * |
Linux-lts-backport-oneiric | Ubuntu | upstream | * |
Linux-maguro | Ubuntu | saucy | * |
Linux-maguro | Ubuntu | upstream | * |
Linux-mako | Ubuntu | saucy | * |
Linux-mako | Ubuntu | upstream | * |
Linux-manta | Ubuntu | saucy | * |
Linux-manta | Ubuntu | upstream | * |
Linux-mvl-dove | Ubuntu | upstream | * |
Linux-ti-omap4 | Ubuntu | natty | * |
Linux-ti-omap4 | Ubuntu | upstream | * |
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.