Title: NetBSD Multiple Audio Driver Malformed ioctl() Call Local DoS
Info
Disclosure
Jun 30, 2005
Discovery
Unknown
Dates
Exploit
Jun 30, 2005
Solution
Unknown
Description
NetBSD contains a flaw that may allow a local denial of service. The issue is triggered when a malicious attacker uses the set-parameters ioctl call on certain audio devices to change block size and set pause state to "unpaused" in the same ioctl, which will cause a divide-by-zero error resulting in loss of availability for the platform.
Classification
Location:
Local Access Required
Attack Type:
Denial of Service
Impact:
Loss of Availability
Exploit:
Exploit Available
Disclosure:
OSVDB Verified
Solution
Upgrade to version 2.0.3 or 2.0.2 after the correction date, as it has been reported to fix this vulnerability. In addition, NetBSD has released a patch for some older versions. It is also possible to correct the flaw by implementing the following workaround: disable access to the audio device for all users. Execute the following commands as root:
chown root /dev/audio* /dev/audioctl* /dev/sound*
chmod 000 /dev/audio* /dev/audioctl* /dev/sound*