Kernel Oops - BUG: unable to handle kernel NULL pointer dereference at 00000038; EIP is at sock_sendmsg+0xd6/0x100

Bug #657513 reported by lent
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Using wvdial yields a kernel NULL pointer dereference. This is after a hangup event and a subsequent redial attempt by wvdial. The initialization of the link includes using hciconfig, hcitool and rfcomm commands to reset hci0, show, connect and bind /dev/rfcomm0 and hard linking to /dev/rfcomm0 /dev/modem. The rfcomm device is a Palm Treo 650 via Bluetooth serving out Dialup Networking.

This is reproducible.

Also note that the wvdial command will also block and will not die via a kill -9.
Just a guess but strace -f -p of the processes seems to indicate a problem closing the rfcomm link. I think it was something to do with "dlc"...

Attached find a shar archive of the crash report, and requested log files.

Note:
The directions at the Bug submission page:
are difficult to follow, and perhaps due for an update :-(
1. The suggested command "ubuntu-bug -p linux" yields "Warning: The options -p/-P are deprecated, please do not use them. See /usr/bin/ubuntu-bug --help"
2. The alternate submission method asks "include the output of the following commands executed in a terminal as separate attachments in your bug report" and attachment mechanism is buried under "Extra options" and allows only a single file to be attached :-(

Thanks,
Chris Lent
<email address hidden>

ProblemType: KernelOops
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Annotation: Your system might become unstable now and might need to be restarted.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: lent 1440 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7db8000 irq 45'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,104383ce,00100004'
   Controls : 10
   Simple ctrls : 6
Date: Fri Oct 8 16:05:12 2010
Failure: oops
HibernationDevice: RESUME=UUID=e3ad96b2-c0a8-4433-8d04-50d2e3c967b4
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
MachineType: ASUSTeK Computer INC. 1005HA
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=cf74d3f3-d8d8-4c5c-b59d-b6be12838571 ro
RelatedPackageVersions: linux-firmware 1.38
SourcePackage: linux
Title: BUG: unable to handle kernel NULL pointer dereference at 00000038
dmi.bios.date: 02/26/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1401
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1005HA
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1401:bd02/26/2010:svnASUSTeKComputerINC.:pn1005HA:pvrx.x:rvnASUSTeKComputerINC.:rn1005HA:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1005HA
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
lent (lent) wrote :
summary: - BUG: unable to handle kernel NULL pointer dereference at 00000038
+ BUG: unable to handle kernel NULL pointer dereference at 00000038 -
+ sock_sendmsg+0xd6/0x100 with wvdial
Brad Figg (brad-figg)
tags: added: acpi
tags: added: acpi-parse-exec-fail
Revision history for this message
Hendrik van Wyk (tonberry) wrote : Re: BUG: unable to handle kernel NULL pointer dereference at 00000038 - sock_sendmsg+0xd6/0x100 with wvdial

This seems to be the same bug as reported here: https://bugzilla.kernel.org/show_bug.cgi?id=15994 They also propose a patch.

Revision history for this message
Hendrik van Wyk (tonberry) wrote :

The new 2.6.37 kernel seems to have fixed the issue for me. A .deb is available form http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-natty/

Revision history for this message
Hendrik van Wyk (tonberry) wrote :

Make that significantly reduced appearance with 2.6.37. I still managed to trigger the bug by going into sleep mode while using a cellphone as a modem over bluetooth.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: regression-potential
Revision history for this message
penalvch (penalvch) wrote :

lent, thank you for reporting this bug and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

summary: - BUG: unable to handle kernel NULL pointer dereference at 00000038 -
- sock_sendmsg+0xd6/0x100 with wvdial
+ Kernel Oops - BUG: unable to handle kernel NULL pointer dereference at
+ 00000038; EIP is at sock_sendmsg+0xd6/0x100
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.