[Bug 449] New: Kernel BUG when tun device is closed

Martin J. Bligh (mbligh@aracnet.com)
Thu, 06 Mar 2003 21:32:21 -0800


http://bugme.osdl.org/show_bug.cgi?id=449

Summary: Kernel BUG when tun device is closed (oops attached)
Kernel Version: 2.5.64
Status: NEW
Severity: normal
Owner: mochel@osdl.org
Submitter: kpfleming@cox.net

Distribution: heavily modified RedHat 7.3
Hardware Environment: MSI K7T266-Pro2 motherboard, Athlon Thunderbird 1GHz CPU,
(2) WD1600JB disks, etc.
Software Environment: vtund-2.5
Problem Description: vtund works fine normally (is in client mode on this
system). when the server end of the link was shutdown, the client tried to close
its open "tun" device. this action caused the oops below.

kernel BUG at include/linux/dcache.h:266!
invalid operand: 0000
CPU: 0
EIP: 0060:[<c0172a2c>] Not tainted
EFLAGS: 00010246
EIP is at sysfs_remove_dir+0x1c/0x13b
eax: 00000000 ebx: c434e9a8 ecx: 00000000 edx: 00000000
esi: c7d7f900 edi: cfa50000 ebp: 00000000 esp: cfa51f10
ds: 007b es: 007b ss: 0068
Process vtund (pid: 757, threadinfo=cfa50000 task=cfa913c0)
Stack: c03bc980 c434e824 c03bf2d4 c434e9a8 c434e824 cfa50000 00000000 c01fb4b3
c434e9a8 c434e9a8 c01fb4e3 c434e9a8 c434e824 c02f82ed c434e9a8 00000006
c434e824 c434e824 c434e800 c8fc3080 cf8b4500 c0263b2e c434e824 c4e43a40
Call Trace:
[<c01fb4b3>] kobject_del+0x13/0x30
[<c01fb4e3>] kobject_unregister+0x13/0x30
[<c02f82ed>] unregister_netdevice+0x1ad/0x290
[<c0263b2e>] tun_chr_close+0x8e/0xa0
[<c0147d39>] __fput+0xa9/0xb0
[<c014627d>] filp_close+0x4d/0x80
[<c0146300>] sys_close+0x50/0x60
[<c010ade3>] syscall_call+0x7/0xb

Code: 0f 0b 0a 01 a4 6b 36 c0 ff 06 83 4e 04 08 85 f6 0f 84 01 01

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/