cdc-acm: v4.6-rc1: Kernel panic in acm_start_wb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

When updating the kernel to a post v4.6-rc1 version (based on
c05c2ec Merge branch 'parisc-4.6-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux) I got
the following kernel panic on a T440p system with a 0bdb:193e Ericsson
Business Mobile Networks BV while probing with the ModemManager:

[   31.819040] BUG: unable to handle kernel NULL pointer dereference at
0000000000000018

[   31.821612] IP: [<ffffffffa078e078>] acm_start_wb+0x18/0xb0 [cdc_acm]

The complete backtrace is in the attached file dmesg.log.

I could track down to the problem to the following commit:

commit a81cf9799ad7299b03a4dff020d9685f9ac5f3e0
Author: Oliver Neukum <oneukum@xxxxxxxx>
Date:   Wed Feb 10 10:39:49 2016 +0100

    cdc-acm: implement put_char() and flush_chars()

    This should cut down latencies and waste if the tty layer writes
single bytes.

    Signed-off-by: Oliver Neukum >oneukum@xxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Reverting it let the problem disappear.

Please let me known if you need additional information,

	Torsten

Please CC me on answers on the list.
[   31.819040] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[   31.821612] IP: [<ffffffffa078e078>] acm_start_wb+0x18/0xb0 [cdc_acm]
[   31.823520] PGD 0 
[   31.824120] Oops: 0000 [#1] SMP 
[   31.825068] Modules linked in: cdc_mbim snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi cdc_ncm usbnet cdc_acm cdc_wdm mii iwlmvm mac80211 iwlwifi cfg80211 snd_hda_intel snd_hda_codec snd_hda_core e1000e snd_hwdep psmouse snd_pcm thinkpad_acpi snd_timer snd soundcore nvram ipsec ipsec_cp(P) ipsec_eroutes(P) libfreeswan cipher_SHA1(PO) cipher_RMD(PO) cipher_AES(PO) cryptdev nls_iso8859_1 nls_cp437 vfat fat dm_mod sd_mod ahci i2c_i801 libahci i915 drm_kms_helper xhci_pci drm xhci_hcd fb_sys_fops sysimgblt sysfillrect ehci_pci syscopyarea i2c_algo_bit i2c_core video loop usb_storage ehci_hcd
[   31.841846] CPU: 3 PID: 1568 Comm: kworker/u16:6 Tainted: P           O    4.6.0-devel+ #1
[   31.844280] Hardware name: LENOVO 20AWA00V00/20AWA00V00, BIOS GLET69WW (2.23 ) 04/25/2014
[   31.847068] Workqueue: events_unbound flush_to_ldisc
[   31.848524] task: ffff8804381a1a00 ti: ffff880438acc000 task.ti: ffff880438acc000
[   31.850900] RIP: 0010:[<ffffffffa078e078>]  [<ffffffffa078e078>] acm_start_wb+0x18/0xb0 [cdc_acm]
[   31.853513] RSP: 0018:ffff880438acfcb0  EFLAGS: 00010002
[   31.855091] RAX: 0000000000000000 RBX: ffff880427412000 RCX: 0000000000000001
[   31.857557] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff880427412000
[   31.859689] RBP: ffff880438acfcc8 R08: 0000000000000000 R09: ffffc90003694000
[   31.862031] R10: 0000000000000000 R11: 00000000ffffffff R12: ffff880427412000
[   31.864155] R13: 0000000000000246 R14: 0000000000000000 R15: 0000000000000000
[   31.866439] FS:  0000000000000000(0000) GS:ffff88044e2c0000(0000) knlGS:0000000000000000
[   31.868829] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   31.872201] CR2: 0000000000000018 CR3: 0000000001a07000 CR4: 00000000001406a0
[   31.875916] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   31.879703] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   31.883236] Stack:
[   31.885242]  ffff880427412000 ffff880427412744 0000000000000246 ffff880438acfd00
[   31.889147]  ffffffffa078ebd3 ffff88043840e000 ffffc90003694000 ffffc90003694000
[   31.892905]  0000000000000001 ffff880097dc3021 ffff880438acfdb0 ffffffff8136e900
[   31.896524] Call Trace:
[   31.898603]  [<ffffffffa078ebd3>] acm_tty_flush_chars+0x63/0xa0 [cdc_acm]
[   31.902128]  [<ffffffff8136e900>] n_tty_receive_buf_common+0x5d0/0xc00
[   31.905567]  [<ffffffff8107dfc4>] ? set_next_entity+0x3f4/0x880
[   31.908681]  [<ffffffff8136ef44>] n_tty_receive_buf2+0x14/0x20
[   31.912026]  [<ffffffff813710e2>] tty_ldisc_receive_buf+0x22/0x50
[   31.915169]  [<ffffffff813716c7>] flush_to_ldisc+0xc7/0x130
[   31.918163]  [<ffffffff8106563d>] process_one_work+0x14d/0x410
[   31.921461]  [<ffffffff81065ca9>] worker_thread+0x69/0x4a0
[   31.924669]  [<ffffffff81065c40>] ? rescuer_thread+0x340/0x340
[   31.927720]  [<ffffffff8106acbb>] kthread+0xdb/0x100
[   31.930685]  [<ffffffff815a6c42>] ret_from_fork+0x22/0x40
[   31.933602]  [<ffffffff8106abe0>] ? kthread_park+0x60/0x60
[   31.936783] Code: c8 f7 da 83 e2 40 09 f0 09 d0 c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 53 83 87 40 07 00 00 01 49 89 fc <48> 8b 46 18 48 8b 16 48 89 f3 48 89 50 68 48 8b 46 18 48 8b 56 
[   31.943788] RIP  [<ffffffffa078e078>] acm_start_wb+0x18/0xb0 [cdc_acm]
[   31.947155]  RSP <ffff880438acfcb0>
[   31.949611] CR2: 0000000000000018
[   31.952011] ---[ end trace b34d9c31926cfa72 ]---
[   31.954772] ------------[ cut here ]------------
[   31.957550] WARNING: CPU: 3 PID: 1568 at kernel/softirq.c:150 __local_bh_enable_ip+0x8c/0xc0
[   31.961667] Modules linked in: cdc_mbim snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi cdc_ncm usbnet cdc_acm cdc_wdm mii iwlmvm mac80211 iwlwifi cfg80211 snd_hda_intel snd_hda_codec snd_hda_core e1000e snd_hwdep psmouse snd_pcm thinkpad_acpi snd_timer snd soundcore nvram ipsec ipsec_cp(P) ipsec_eroutes(P) libfreeswan cipher_SHA1(PO) cipher_RMD(PO) cipher_AES(PO) cryptdev nls_iso8859_1 nls_cp437 vfat fat dm_mod sd_mod ahci i2c_i801 libahci i915 drm_kms_helper xhci_pci drm xhci_hcd fb_sys_fops sysimgblt sysfillrect ehci_pci syscopyarea i2c_algo_bit i2c_core video loop usb_storage ehci_hcd
[   31.983193] CPU: 3 PID: 1568 Comm: kworker/u16:6 Tainted: P      D    O    4.6.0-devel+ #1
[   31.987438] Hardware name: LENOVO 20AWA00V00/20AWA00V00, BIOS GLET69WW (2.23 ) 04/25/2014
[   31.991518]  0000000000000000 ffff880438acf998 ffffffff812c25a2 0000000000000000
[   31.995314]  0000000000000000 ffff880438acf9d8 ffffffff8104e8f1 0000009638acf9c8
[   31.999005]  0000000000000200 ffffffff810c73a4 0000000000000000 ffff8804381a1a00
[   32.002283] Call Trace:
[   32.004342]  [<ffffffff812c25a2>] dump_stack+0x67/0x95
[   32.007552]  [<ffffffff8104e8f1>] __warn+0xd1/0xf0
[   32.011107]  [<ffffffff810c73a4>] ? cgroup_exit+0x54/0xb0
[   32.014423]  [<ffffffff8104e9dd>] warn_slowpath_null+0x1d/0x20
[   32.016927] vboxdrv: Found 4 processor cores
[   32.020021]  [<ffffffff8105343c>] __local_bh_enable_ip+0x8c/0xc0
[   32.022679]  [<ffffffff815a653a>] _raw_spin_unlock_bh+0x1a/0x20
[   32.025289]  [<ffffffff810c73a4>] cgroup_exit+0x54/0xb0
[   32.027719]  [<ffffffff810513dd>] do_exit+0x35d/0xbd0
[   32.030096]  [<ffffffff8101dced>] oops_end+0x6d/0x90
[   32.032456]  [<ffffffff8103f95e>] no_context+0x10e/0x350
[   32.034908]  [<ffffffff8112a90c>] ? zone_statistics+0x7c/0xa0
[   32.037453]  [<ffffffff8103fc21>] __bad_area_nosemaphore+0x81/0x200
[   32.040150]  [<ffffffff812c23af>] ? cpumask_next_and+0x2f/0x40
[   32.042732]  [<ffffffff8103fdb4>] bad_area_nosemaphore+0x14/0x20
[   32.045329]  [<ffffffff810400db>] __do_page_fault+0x8b/0x4b0
[   32.047801]  [<ffffffff81001108>] ? trace_hardirqs_off_thunk+0x1b/0x1d
[   32.050651]  [<ffffffff8104050c>] do_page_fault+0xc/0x10
[   32.053226]  [<ffffffff815a8332>] page_fault+0x22/0x30
[   32.055648]  [<ffffffffa078e078>] ? acm_start_wb+0x18/0xb0 [cdc_acm]
[   32.058250]  [<ffffffffa078ebd3>] acm_tty_flush_chars+0x63/0xa0 [cdc_acm]
[   32.061216]  [<ffffffff8136e900>] n_tty_receive_buf_common+0x5d0/0xc00
[   32.063860]  [<ffffffff8107dfc4>] ? set_next_entity+0x3f4/0x880
[   32.066515]  [<ffffffff8136ef44>] n_tty_receive_buf2+0x14/0x20
[   32.068948]  [<ffffffff813710e2>] tty_ldisc_receive_buf+0x22/0x50
[   32.071684]  [<ffffffff813716c7>] flush_to_ldisc+0xc7/0x130
[   32.074039]  [<ffffffff8106563d>] process_one_work+0x14d/0x410
[   32.076621]  [<ffffffff81065ca9>] worker_thread+0x69/0x4a0
[   32.078949]  [<ffffffff81065c40>] ? rescuer_thread+0x340/0x340
[   32.081527]  [<ffffffff8106acbb>] kthread+0xdb/0x100
[   32.083698]  [<ffffffff815a6c42>] ret_from_fork+0x22/0x40
[   32.086219]  [<ffffffff8106abe0>] ? kthread_park+0x60/0x60
[   32.088534] ---[ end trace b34d9c31926cfa73 ]---
[   32.091087] BUG: unable to handle kernel [   32.091115] vboxdrv: TSC mode is Invariant, tentative frequency 2893290343 Hz

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux