Red Hat Bugzilla – Bug 128516
SIOCGIFNAME ioctl calls often cause the kernel to oops
Last modified: 2015-01-04 17:08:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)
Description of problem:
SIOCGIFNAME ioctl calls often cause the kernel to oops resulting in termination of critical daemons such as DNS - in my case this is seen with dnsmasq. Otherwise the system remains stable.
This is fully reproducable using the attached c code as provided by Simon Kelly, the author of dnsmasq.
This only occurs with the Fedora versions of kernel 2.6 - stock 2.6.6 does not have this problem.
A temporary work around for dnsmasq is to use the bind-interfaces option in dnsmasq.conf - but this only helps the dns aspect - the problem will still occur if dnsmasq is serving DHCP. Switching to a stock kernel also solves the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cc fedorakiller.c -o fedorakiller
2. ./fedorakiller eth0
3. inspect /var/log/messages for errors.
Actual Results: Oops are seen in the syslog.
Expected Results: As with the vanilla 2.6 kernels - no oops should occur.
Created attachment 102187 [details]
Reproduces SIOCGIFNAME oops
Created attachment 102188 [details]
Fedora Core 2 has now reached end of life, and no further updates will be
provided by Red Hat. The Fedora legacy project will be producing further kernel
updates for security problems only.
If this bug has not been fixed in the latest Fedora Core 2 update kernel, please
try to reproduce it under Fedora Core 3, and reopen if necessary, changing the
product version accordingly.