Description
The pkt_ioctl function in the pktcdvd block device ioctl handler (pktcdvd.c) in Linux kernel 2.6.12-rc4 and earlier calls the wrong function before passing an ioctl to the block device, which crosses security boundaries by making kernel address space accessible from user space and allows local users to cause a denial of service and possibly execute arbitrary code, a similar vulnerability to CVE-2005-1264.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel 2.6.12-rc4 - 'ioctl_by_bdev' Local Denial of Service EDB-998 · dos · May 17, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.11.10
- [linux-kernel] 20050517 [PATCH] Fix root hole in pktcdvd mailing-list
- ADV-2005-0557 vdb-entry
- 20050516 Linux kernel pktcdvd and rawdevice ioctl break user space limit vulnerability mailing-list
- 13651 vdb-entry
- 20050517 Re: Linux kernel pktcdvd and rawdevice ioctl break user space limit vulnerability mailing-list
- 20050517 Linux kernel pktcdvd ioctl break user space limit vulnerability [corrected] mailing-list
- 17826 third-party-advisory
- MDKSA-2005:219 vendor-advisory