Description
The exit_thread function (process.c) in Linux kernel 2.6 through 2.6.5 does not invalidate the per-TSS io_bitmap pointers if a process obtains IO access permissions from the ioperm function but does not drop those permissions when it exits, which allows other processes to access the per-TSS pointers, access restricted memory locations, and possibly gain privileges.
References
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.6
- linux-exitthread-gain-privileges(16106) vdb-entry
- 5997 vdb-entry
- 10302 vdb-entry
- 20040507 Bug in IO bitmap handling? Probably exploitable (2.6.5) mailing-list
- 11577 third-party-advisory
- 20040507 Re: Bug in IO bitmap handling? Probably exploitable (2.6.5) mailing-list