Kernel OOPS: BUG: unable to handle kernel NULL pointer dereference; RIP is at unix_stream_sendmsg+0x3be/0x3e0

Bug #1609895 reported by mschneider
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

From time to time, I get this error when using Xubuntu 16.04 LTS 64 bits. It seems to be quite random...

[10267.832619] BUG: unable to handle kernel NULL pointer dereference at 0000000000000286
[10267.832770] IP: [<ffffffff817c9b0e>] unix_stream_sendmsg+0x3be/0x3e0
[10267.832884] PGD 0
[10267.832923] Oops: 0000 [#1] SMP
[10267.832984] Modules linked in: tda1004x saa7134_dvb videobuf2_dvb dvb_core saa7134_alsa tda827x tda8290 input_leds serio_raw tuner k8temp saa7134 snd_usb_audio uvcvideo snd_usbmidi_lib snd_atiixp tveeprom snd_ac97_codec snd_hwdep rc_core ac97_bus videobuf2_vmalloc videobuf2_dma_sg snd_seq_midi snd_pcm videobuf2_memops snd_seq_midi_event videobuf2_v4l2 snd_rawmidi videobuf2_core snd_seq v4l2_common snd_seq_device amd64_edac_mod snd_timer videodev edac_mce_amd edac_core media snd soundcore 8250_fintek shpchp i2c_piix4 mac_hid parport_pc ppdev lp parport autofs4 hid_generic usbhid hid uas usb_storage amdkfd amd_iommu_v2 radeon psmouse i2c_algo_bit ttm firewire_ohci drm_kms_helper firewire_core crc_itu_t 8139too 8139cp mii syscopyarea sysfillrect sysimgblt fb_sys_fops pata_atiixp pata_acpi drm sata_sil floppy fjes
[10267.834399] CPU: 0 PID: 2366 Comm: Xorg Not tainted 4.4.0-31-generic #50-Ubuntu
[10267.834518] Hardware name: Packard Bell NEC LES ESSENTIELS IMEDIA 6714/MS-7168, BIOS 080012 07/20/2005
[10267.834668] task: ffff88003beb8c80 ti: ffff88003b464000 task.ti: ffff88003b464000
[10267.834787] RIP: 0010:[<ffffffff817c9b0e>] [<ffffffff817c9b0e>] unix_stream_sendmsg+0x3be/0x3e0
[10267.834934] RSP: 0018:ffff88003b467c60 EFLAGS: 00010246
[10267.835020] RAX: 0000000000000020 RBX: 0000000000000020 RCX: ffff88003a90acc8
[10267.835134] RDX: ffff88003a8c7ca0 RSI: 0000000000000286 RDI: 0000000000000000
[10267.835248] RBP: ffff88003b467d00 R08: ffff88003fc16d00 R09: 0000000000000001
[10267.835362] R10: 0000000000018400 R11: ffff88003ad6d000 R12: 0000000000000000
[10267.835476] R13: ffff880038253400 R14: 0000000000000001 R15: ffff880035525e00
[10267.835591] FS: 00007fec9624da00(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000
[10267.835720] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10267.835812] CR2: 0000000000000286 CR3: 000000003836c000 CR4: 00000000000006f0
[10267.835926] Stack:
[10267.835961] ffff880035525ea8 ffff88003b467d40 0000002000000000 0000000000000020
[10267.836011] ffff880035526120 ffff88003ba4e280 ffff880035527480 ffff88003b467d30
[10267.836011] 0000002000000020 0000000000000020 0000000000000000 0000000000000000
[10267.836011] Call Trace:
[10267.836011] [<ffffffff817063d8>] sock_sendmsg+0x38/0x50
[10267.836011] [<ffffffff81706475>] sock_write_iter+0x85/0xf0
[10267.836011] [<ffffffff8120ca3c>] do_iter_readv_writev+0x6c/0xa0
[10267.836011] [<ffffffff8120d5bf>] do_readv_writev+0x18f/0x230
[10267.836011] [<ffffffffc0172071>] ? radeon_drm_ioctl+0x71/0x80 [radeon]
[10267.836011] [<ffffffff81220c0f>] ? do_vfs_ioctl+0x29f/0x490
[10267.836011] [<ffffffff8120d6e9>] vfs_writev+0x39/0x50
[10267.836011] [<ffffffff8120e419>] SyS_writev+0x59/0xf0
[10267.836011] [<ffffffff81220e79>] ? SyS_ioctl+0x79/0x90
[10267.836011] [<ffffffff8182db32>] entry_SYSCALL_64_fastpath+0x16/0x71
[10267.836011] Code: 25 c0 d3 00 00 e8 e3 5a 8c ff eb b7 c7 45 a4 00 00 00 00 48 8b 7d b0 e8 d1 45 8d ff 48 83 7d b8 00 48 c7 45 b0 00 00 00 00 8b 45 <a4> 0f 84 24 ff ff ff 48 8d 7d b0 e8 62 ce f4 ff 8b 45 a4 e9 13
[10267.836011] RIP [<ffffffff817c9b0e>] unix_stream_sendmsg+0x3be/0x3e0
[10267.836011] RSP <ffff88003b467c60>
[10267.836011] CR2: 0000000000000286
[10267.885054] ---[ end trace 072b3a5a5340b690 ]---
[10267.889631] BUG: unable to handle kernel NULL pointer dereference at 0000000000000286
[10267.889715] IP: [<ffffffff817c9b0e>] unix_stream_sendmsg+0x3be/0x3e0
[10267.889778] PGD 0
[10267.889800] Oops: 0000 [#2] SMP
[10267.889834] Modules linked in: tda1004x saa7134_dvb videobuf2_dvb dvb_core saa7134_alsa tda827x tda8290 input_leds serio_raw tuner k8temp saa7134 snd_usb_audio uvcvideo snd_usbmidi_lib snd_atiixp tveeprom snd_ac97_codec snd_hwdep rc_core ac97_bus videobuf2_vmalloc videobuf2_dma_sg snd_seq_midi snd_pcm videobuf2_memops snd_seq_midi_event videobuf2_v4l2 snd_rawmidi videobuf2_core snd_seq v4l2_common snd_seq_device amd64_edac_mod snd_timer videodev edac_mce_amd edac_core media snd soundcore 8250_fintek shpchp i2c_piix4 mac_hid parport_pc ppdev lp parport autofs4 hid_generic usbhid hid uas usb_storage amdkfd amd_iommu_v2 radeon psmouse i2c_algo_bit ttm firewire_ohci drm_kms_helper firewire_core crc_itu_t 8139too 8139cp mii syscopyarea sysfillrect sysimgblt fb_sys_fops pata_atiixp pata_acpi drm sata_sil floppy fjes
[10267.890625] CPU: 0 PID: 4239 Comm: Compositor Tainted: G D 4.4.0-31-generic #50-Ubuntu
[10267.890706] Hardware name: Packard Bell NEC LES ESSENTIELS IMEDIA 6714/MS-7168, BIOS 080012 07/20/2005
[10267.890789] task: ffff88003d80cb00 ti: ffff88003a104000 task.ti: ffff88003a104000
[10267.890855] RIP: 0010:[<ffffffff817c9b0e>] [<ffffffff817c9b0e>] unix_stream_sendmsg+0x3be/0x3e0
[10267.890937] RSP: 0018:ffff88003a107c60 EFLAGS: 00010202
[10267.890984] RAX: 000000000000003c RBX: 000000000000003c RCX: ffff88003a36a4c8
[10267.891047] RDX: ffff88003455d5a0 RSI: 0000000000000286 RDI: 0000000000000000
[10267.891111] RBP: ffff88003a107d00 R08: ffff88003fc16d00 R09: 0000000000000001
[10267.891174] R10: 0000000000041400 R11: ffff880034568c00 R12: 0000000000000000
[10267.891237] R13: ffff880038253200 R14: 0000000000000001 R15: ffff88003a0e52c0
[10267.891301] FS: 00007faf5e4ff700(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000
[10267.891372] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[10267.891424] CR2: 00007faf4fa2a000 CR3: 0000000035b3c000 CR4: 00000000000006f0
[10267.891486] Stack:
[10267.891506] ffff88003a0e5368 ffff88003a107d40 0000003c00000000 000000000000003c
[10267.891579] ffff88003a0e55e0 ffff88003b9aca00 ffff88003a0e43c0 ffff88003a107d30
[10267.891651] 0000003c0000003c 000000000000003c 0000000000000000 0000000000000000
[10267.891723] Call Trace:
[10267.891751] [<ffffffff817063d8>] sock_sendmsg+0x38/0x50
[10267.891800] [<ffffffff81706475>] sock_write_iter+0x85/0xf0
[10267.891853] [<ffffffff8120ca3c>] do_iter_readv_writev+0x6c/0xa0
[10267.891908] [<ffffffff8120d5bf>] do_readv_writev+0x18f/0x230
[10267.891963] [<ffffffff810f5bac>] ? __getnstimeofday64+0x3c/0xd0
[10267.892012] [<ffffffff8120d6e9>] vfs_writev+0x39/0x50
[10267.892012] [<ffffffff8120e419>] SyS_writev+0x59/0xf0
[10267.892012] [<ffffffff8182db32>] entry_SYSCALL_64_fastpath+0x16/0x71
[10267.892012] Code: 25 c0 d3 00 00 e8 e3 5a 8c ff eb b7 c7 45 a4 00 00 00 00 48 8b 7d b0 e8 d1 45 8d ff 48 83 7d b8 00 48 c7 45 b0 00 00 00 00 8b 45 <a4> 0f 84 24 ff ff ff 48 8d 7d b0 e8 62 ce f4 ff 8b 45 a4 e9 13
[10267.892012] RIP [<ffffffff817c9b0e>] unix_stream_sendmsg+0x3be/0x3e0
[10267.892012] RSP <ffff88003a107c60>
[10267.892012] CR2: 0000000000000286
[10267.915538] ---[ end trace 072b3a5a5340b691 ]---
[13761.609250] retire_capture_urb: 27 callbacks suppressed

Tags: kernel-oops
Revision history for this message
mschneider (marco-2025) wrote :
Revision history for this message
mschneider (marco-2025) wrote :
Revision history for this message
mschneider (marco-2025) wrote :
Revision history for this message
mschneider (marco-2025) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

Refiling against the kernel

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.7 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
mschneider (marco-2025) wrote :

I got this error after a fresh install. I'll try with the latest kernel.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.