[Umap2][9/11][05c5:0002] NULL pointer dereference

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

 



Kernel version: raspberrypi 4.4.6-v7+ #871
Driver source file: drivers/usb/serial/digi_acceleport.c
Umap2 command line: umap2vsscan -P <PHY> -s 05c5:0002

After connecting such a device, NULL pointer dereference in the kernel.

Binyamin Sharet
Cisco, STARE-C

<< Attached:  05c5_0002_dmesg.log >>
[  276.364478] usb 1-1.4: new high-speed USB device number 38 using dwc_otg
[  276.485399] usb 1-1.4: New USB device found, idVendor=05c5, idProduct=0002
[  276.485426] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  276.485443] usb 1-1.4: Product: UMAP2. PID:0x0002
[  276.485458] usb 1-1.4: Manufacturer: UMAP2. VID:0x05c5
[  276.485474] usb 1-1.4: SerialNumber: 123456
[  277.580126] Unable to handle kernel NULL pointer dereference at virtual address 00000190
[  277.588386] pgd = af800000
[  277.57963[  277.591116] [00000190] *pgd=000000001] usbcore: registered new interface driver digi_acceleport
[  277.579812] usbserial: USB Serial support registered for Digi 2 port USB adapter
[  277.579951] usbserial: USB Serial support registered for Digi 4 port USB adapter
[  277.580056] digi_acceleport 1-1.4:1.0: Digi 2 port USB adapter converter detected
[  277.580126] Unable to handle kernel NULL pointer dereference at virtual address 00000190
[  277.588386] pgd = af800000

[  277.644118] Internal error: Oops: 805 [#1] SMP ARM
[  277.648908] Modules linked in: digi_acceleport(+) xsens_mt kobil_sct mos7720 ti_usb_3410_5052 usbserial bnep bluetooth cfg80211 rfkill snd_bcm2835 snd_pcm bcm2835_wdt bcm2835_gpiomem snd_timer snd uio_pdrv_genirq uio i2c_dev fuse
[  277.669388] CPU: 1 PID: 1064 Comm: systemd-udevd Not tainted 4.4.6-v7+ #871
[  277.676337] Hardware name: BCM2709
[  277.679736] task: b5dc2840 ti: af86a000 task.ti: af86a000
[  277.685140] PC is at __init_waitqueue_head+0x1c/0x2c
[  277.690122] LR is at digi_port_init+0xc0/0xd8 [digi_acceleport]
[  277.696038] pc : [<800631e0>]    lr : [<7f1bfb24>]    psr: a0000013
[  277.696038] sp : af86bba8  ip : af86bbb8  fp : af86bbb4
[  277.707498] r10: 7f1c1308  r9 : b8fdcc80  r8 : b5f55c00
[  277.712716] r7 : 00000003  r6 : 00000000  r5 : 00000000  r4 : b8fc0c00
[  277.719234] r3 : 00000190  r2 : 00000000  r1 : 7f1c1124  r0 : 00000190
[  277.725753] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  277.732880] Control: 10c5387d  Table: 2f80006a  DAC: 00000055
[  277.738618] Process systemd-udevd (pid: 1064, stack limit = 0xaf86a210)
[  277.745222] Stack: (0xaf86bba8 to 0xaf86c000)
[  277.749579] bba0:                   af86bbd4 af86bbb8 7f1bfb24 800631d0 b8fdcc8c b5eb2e00
[  277.757751] bbc0: 00000001 b8fdcc80 af86bbf4 af86bbd8 7f1bfbbc 7f1bfa70 7f1bfb5c 00000200
[  277.765922] bbe0: 00000001 b8fa57b0 af86bce4 af86bbf8 7f19db5c 7f1bfb68 80000000 b9487248
[  277.774093] bc00: 00000001 7f1c1308 00000001 00000003 00000001 00000003 b8fa4a00 7f1c1308
[  277.782265] bc20: b8044068 00000002 b8fdcc9c b8fa4a20 b8044000 b5f55d54 b8fa5600 af86bc48
[  277.790436] bc40: 801c98d8 805eaa18 00000002 00000000 b5fc3dc0 b5ea91e0 b8fa5630 af86bc68
[  277.798607] bc60: 801c9a14 801c980c b5ea91e0 801c97f4 80000001 b5ea91e0 b8fa5660 b8fa5720
[  277.806780] bc80: 801c97f4 b5fc3dc0 af8531e0 b5ea91e0 af86bcbc af8531e0 b8fa5690 b8fa5750
[  277.814951] bca0: b8fa57b0 af86bcb0 8040ad70 8040ac7c 000005c5 7f1c0e6c b8fa4a00 b8fa4a20
[  277.823122] bcc0: b8044068 b8044000 b8fdce34 b8fa4a00 7f1c0e6c 00000000 af86bd14 af86bce8
[  277.831294] bce0: 8040af88 7f19d078 8040aea0 8099d880 b8fa4a20 00000000 b8fdce34 00000038
[  277.839465] bd00: 7f19ecd0 7f1c1210 af86bd3c af86bd18 803a5e20 8040aeac 00000007 b8fa4a20
[  277.847636] bd20: b8fdce34 b8fa4a54 7f19ebcc 7f19ec40 af86bd5c af86bd40 803a5fac 803a5c64
[  277.855807] bd40: b958a45c 00000000 b8fdce34 803a5f04 af86bd84 af86bd60 803a3fec 803a5f10
[  277.863978] bd60: b958a45c b8fd9234 800fcb94 7f1a0488 7f1c0e68 b8fdce00 af86bd94 af86bd88
[  277.872149] bd80: 803a58e8 803a3f7c af86bdd4 af86bd98 7f19cd6c 803a58c8 8040003e 7f1c0e6c
[  277.880322] bda0: 7f1c0e60 00000000 b8f8b440 808a2398 808a2398 b8f8b7c0 7f1c3000 00000001
[  277.888493] bdc0: 4a0d6f1c 00000000 af86bde4 af86bdd8 7f1c3028 7f19ca98 af86be64 af86bde8
[  277.896666] bde0: 80009764 7f1c300c 3a721000 00000000 af86be3c af86be00 80105288 00010dbe
[  277.904837] be00: 801394d8 b5f29b00 3a721000 00000001 4a0d6f1c 80147e40 af86be64 af86be28
[  277.913008] be20: 80147e40 805e93d4 00000001 801394d8 00000006 00010dbe bc0ad000 7f1c1400
[  277.921179] be40: 00000001 b8f8b440 7f1c1400 00000001 4a0d6f1c b5f29108 af86be8c af86be68
[  277.929351] be60: 800fccc8 800096d0 af86be8c af86be78 801395d4 af86bf44 00000001 b5f29100
[  277.937522] be80: af86bf3c af86be90 8009ec68 800fcc60 7f1c140c 00007fff 7f1c1400 8009c34c
[  277.945693] bea0: 000000c0 00000000 7f1c140c 7f1c140c 7f1c1604 7f1c15e4 7f1c1518 7f1c1448
[  277.953865] bec0: bc0ad000 0000577c 000416bf 00000000 0b300002 00000000 00000000 00000000
[  277.962034] bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  277.970206] bf00: 00000000 00000000 00000000 00000000 00000030 00000000 00000007 76d9c004
[  277.978378] bf20: 0000017b 8000fd08 af86a000 00000000 af86bfa4 af86bf40 8009f44c 8009d2e8
[  277.986550] bf40: 00000002 bc0ad000 0000577c bc0b21b4 bc0b01e5 bc0b0f5c 00002604 000028d4
[  277.994721] bf60: 00000000 00000000 00000000 0000139c 00000023 00000024 0000001c 00000019
[  278.002892] bf80: 00000015 00000000 00000000 54ba704c 00000000 00020000 00000000 af86bfa8
[  278.011063] bfa0: 8000fb40 8009f3e4 54ba704c 00000000 00000007 76d9c004 00000000 56a681c0
[  278.019235] bfc0: 54ba704c 00000000 00020000 0000017b 76d9c004 00020000 56a681c0 00000000
[  278.027406] bfe0: 7ec6e200 7ec6e1f0 76d9409c 76ef0d40 60000010 00000007 00000000 00000000
[  278.035605] [<800631e0>] (__init_waitqueue_head) from [<7f1bfb24>] (digi_port_init+0xc0/0xd8 [digi_acceleport])
[  278.045726] [<7f1bfb24>] (digi_port_init [digi_acceleport]) from [<7f1bfbbc>] (digi_startup+0x60/0x8c [digi_acceleport])
[  278.056613] [<7f1bfbbc>] (digi_startup [digi_acceleport]) from [<7f19db5c>] (usb_serial_probe+0xaf0/0xc9c [usbserial])
[  278.067315] [<7f19db5c>] (usb_serial_probe [usbserial]) from [<8040af88>] (usb_probe_interface+0xe8/0x1d4)
[  278.076969] [<8040af88>] (usb_probe_interface) from [<803a5e20>] (really_probe+0x1c8/0x2ac)
[  278.085323] [<803a5e20>] (really_probe) from [<803a5fac>] (__driver_attach+0xa8/0xac)
[  278.093153] [<803a5fac>] (__driver_attach) from [<803a3fec>] (bus_for_each_dev+0x7c/0xb0)
[  278.101329] [<803a3fec>] (bus_for_each_dev) from [<803a58e8>] (driver_attach+0x2c/0x30)
[  278.109339] [<803a58e8>] (driver_attach) from [<7f19cd6c>] (usb_serial_register_drivers+0x2e0/0x33c [usbserial])
[  278.119534] [<7f19cd6c>] (usb_serial_register_drivers [usbserial]) from [<7f1c3028>] (usb_serial_module_init+0x28/0x2c [digi_acceleport])
[  278.131892] [<7f1c3028>] (usb_serial_module_init [digi_acceleport]) from [<80009764>] (do_one_initcall+0xa0/0x1ec)
[  278.142237] [<80009764>] (do_one_initcall) from [<800fccc8>] (do_init_module+0x74/0x1d8)
[  278.150329] [<800fccc8>] (do_init_module) from [<8009ec68>] (load_module+0x198c/0x1fc8)
[  278.158332] [<8009ec68>] (load_module) from [<8009f44c>] (SyS_finit_module+0x74/0x84)
[  278.166161] [<8009f44c>] (SyS_finit_module) from [<8000fb40>] (ret_fast_syscall+0x0/0x1c)
[  278.174334] Code: e52de004 e8bd4000 e1a03000 e3a02000 (e4832004) 
[  278.179091] usb 1-1.4: USB disconnect, device number 38
[  278.185737] ---[ end trace 2a1ed67d97c99f55 ]---
[  277.591116] [00000190] *pgd=00000000
[  277.644118] Internal error: Oops: 805 [#1] SMP ARM
[  277.648908] Modules linked in: digi_acceleport(+) xsens_mt kobil_sct mos7720 ti_usb_3410_5052 usbserial bnep bluetooth cfg80211 rfkill snd_bcm2835 snd_pcm bcm2835_wdt bcm2835_gpiomem snd_timer snd uio_pdrv_genirq uio i2c_dev fuse

Message from syslogd@raspberrypi at Jun 28 05:21:33 ...
 kernel:[  277.644118] Internal error: Oops: 805 [#1] SMP ARM
[  277.669388] CPU: 1 PID: 1064 Comm: systemd-udevd Not tainted 4.4.6-v7+ #871
[  277.676337] Hardware name: BCM2709
[  277.679736] task: b5dc2840 ti: af86a000 task.ti: af86a000
[  277.685140] PC is at __init_waitqueue_head+0x1c/0x2c
[  277.690122] LR is at digi_port_init+0xc0/0xd8 [digi_acceleport]
[  277.696038] pc : [<800631e0>]    lr : [<7f1bfb24>]    psr: a0000013
sp : af86bba8  ip : af86bbb8  fp : af86bbb4
[  277.707498] r10: 7f1c1308  r9 : b8fdcc80  r8 : b5f55c00
[  277.712716] r7 : 00000003  r6 : 00000000  r5 : 00000000  r4 : b8fc0c00
[  277.719234] r3 : 00000190  r2 : 00000000  r1 : 7f1c1124  r0 : 00000190
[  277.725753] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  277.732880] Control: 10c5387d  Table: 2f80006a  DAC: 00000055
[  277.738618] Process systemd-udevd (pid: 1064, stack limit = 0xaf86a210)
[  277.745222] Stack: (0xaf86bba8 to 0xaf86c000)
[  277.749579] bba0:                   af86bbd4 af86bbb8 7f1bfb24 800631d0 b8fdcc8c b5eb2e00
[  277.757751] bbc0: 00000001 b8fdcc80 af86bbf4 af86bbd8 7f1bfbbc 7f1bfa70 7f1bfb5c 00000200
[  277.765922] bbe0: 00000001 b8fa57b0 af86bce4 af86bbf8 7f19db5c 7f1bfb68 80000000 b9487248
[  277.774093] bc00: 00000001 7f1c1308 00000001 00000003 00000001 00000003 b8fa4a00 7f1c1308
[  277.782265] bc20: b8044068 00000002 b8fdcc9c b8fa4a20 b8044000 b5f55d54 b8fa5600 af86bc48
[  277.790436] bc40: 801c98d8 805eaa18 00000002 00000000 b5fc3dc0 b5ea91e0 b8fa5630 af86bc68
[  277.798607] bc60: 801c9a14 801c980c b5ea91e0 801c97f4 80000001 b5ea91e0 b8fa5660 b8fa5720
[  277.806780] bc80: 801c97f4 b5fc3dc0 af8531e0 b5ea91e0 af86bcbc af8531e0 b8fa5690 b8fa5750

Message from syslogd@raspberrypi at Jun 28 05:21:33 ...
 kernel:[  277.745222] Stack: (0xaf86bba8 to 0xaf86c000)
[  277.814951] bca0: b8fa57b0 af86bcb0 8040ad70 8040ac7c 000005c5 7f1c0e6c b8fa4a00 b8fa4a20
[  277.823122] bcc0: b8044068 b8044000 b8fdce34 b8fa4a00 7f1c0e6c 00000000 af86bd14 af86bce8
[  277.831294] bce0: 8040af88 7f19d078 8040aea0 8099d880 b8fa4a20 00000000 b8fdce34 00000038
[  277.839465] bd00: 7f19ecd0 7f1c1210 af86bd3c af86bd18 803a5e20 8040aeac 00000007 b8fa4a20
[  277.847636] bd20: b8fdce34 b8fa4a54 7f19ebcc 7f19ec40 af86bd5c af86bd40 803a5fac 803a5c64
[  277.855807] bd40: b958a45c 00000000 b8fdce34 803a5f04 af86bd84 af86bd60 803a3fec 803a5f10

Message from syslogd@raspberrypi at Jun 28 05:21:33 ...
 kernel:[  277.749579] bba0:                   af86bbd4 af86bbb8 7f1bfb24 800631d0 b8fdcc8c b5eb2e00
[  277.863978] bd60: b958a45c b8fd9234 800fcb94 7f1a0488 7f1c0e68 b8fdce00 af86bd94 af86bd88
[  277.872149] bd80: 803a58e8 803a3f7c af86bdd4 af86bd98 7f19cd6c 803a58c8 8040003e 7f1c0e6c
[  277.880322] bda0: 7f1c0e60 00000000 b8f8b440 808a2398 808a2398 b8f8b7c0 7f1c3000 00000001
[  277.888493] bdc0: 4a0d6f1c 00000000 af86bde4 af86bdd8 7f1c3028 7f19ca98 af86be64 af86bde8
[  277.896666] bde0: 80009764 7f1c300c 3a721000 00000000 af86be3c af86be00 80105288 00010dbe

Message fro[  277.904837] be00: 801394d8 b5f29b00 3a721000 00000001 4a0d6f1c 80147e40 af86be64 af86be28
[  277.913008] be20: 80147e40 805e93d4 00000001 801394d8 00000006 00010dbe bc0ad000 7f1c1400
[  277.921179] be40: 00000001 b8f8b440 7f1c1400 00000001 4a0d6f1c b5f29108 af86be8c af86be68
[  277.929351] be60: 800fccc8 800096d0 af86be8c af86be78 801395d4 af86bf44 00000001 b5f29100
[  277.937522] be80: af86bf3c af86be90 8009ec68 800fcc60 7f1c140c 00007fff 7f1c1400 8009c34c
[  277.945693] bea0: 000000c0 00000000 7f1c140c 7f1c140c 7f1c1604 7f1c15e4 7f1c1518 7f1c1448
[  277.953865] bec0: bc0ad000 0000577c 000416bf 00000000 0b300002 00000000 00000000 00000000
[  277.962034] bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  277.970206] bf00: 00000000 00000000 00000000 00000000 00000030 00000000 00000007 76d9c004
[  277.978378] bf20: 0000017b 8000fd08 af86a000 00000000 af86bfa4 af86bf40 8009f44c 8009d2e8
[  277.986550] bf40: 00000002 bc0ad000 0000577c bc0b21b4 bc0b01e5 bc0b0f5c 00002604 000028d4
[  277.994721] bf60: 00000000 00000000 00000000 0000139c 00000023 00000024 0000001c 00000019
[  278.002892] bf80: 00000015 00000000 00000000 54ba704c 00000000 00020000 00000000 af86bfa8
[  278.011063] bfa0: 8000fb40 8009f3e4 54ba704c 00000000 00000007 76d9c004 00000000 56a681c0
[  278.019235] bfc0: 54ba704c 00000000 00020000 0000017b 76d9c004 00020000 56a681c0 00000000
[  278.027406] bfe0: 7ec6e200 7ec6e1f0 76d9409c 76ef0d40 60000010 00000007 00000000 00000000
[  278.035605] [<800631e0>] (__init_waitqueue_head) from [<7f1bfb24>] (digi_port_init+0xc0/0xd8 [digi_acceleport])
[  278.045726] [<7f1bfb24>] (digi_port_init [digi_acceleport]) from [<7f1bfbbc>] (digi_startup+0x60/0x8c [digi_acceleport])
[  278.056613] [<7f1bfbbc>] (digi_startup [digi_acceleport]) from [<7f19db5c>] (usb_serial_probe+0xaf0/0xc9c [usbserial])
[  278.067315] [<7f19db5c>] (usb_serial_probe [usbserial]) from [<8040af88>] (usb_probe_interface+0xe8/0x1d4)
[  278.076969] [<8040af88>] (usb_probe_interface) from [<803a5e20>] (really_probe+0x1c8/0x2ac)
[  278.085323] [<803a5e20>] (really_probe) from [<803a5fac>] (__driver_attach+0xa8/0xac)
[  278.093153] [<803a5fac>] (__driver_attach) from [<803a3fec>] (bus_for_each_dev+0x7c/0xb0)
[  278.101329] [<803a3fec>] (bus_for_each_dev) from [<803a58e8>] (driver_attach+0x2c/0x30)
[  278.109339] [<803a58e8>] (driver_attach) from [<7f19cd6c>] (usb_serial_register_drivers+0x2e0/0x33c [usbserial])
[  278.119534] [<7f19cd6c>] (usb_serial_register_drivers [usbserial]) from [<7f1c3028>] (usb_serial_module_init+0x28/0x2c [digi_acceleport])
[  278.131892] [<7f1c3028>] (usb_serial_module_init [digi_acceleport]) from [<80009764>] (do_one_initcall+0xa0/0x1ec)
[  278.142237] [<80009764>] (do_one_initcall) from [<800fccc8>] (do_init_module+0x74/0x1d8)
[  278.150329] [<800fccc8>] (do_init_module) from [<8009ec68>] (load_module+0x198c/0x1fc8)
[  278.158332] [<8009ec68>] (load_module) from [<8009f44c>] (SyS_finit_module+0x74/0x84)
[  278.166161] [<8009f44c>] (SyS_finit_module) from [<8000fb40>] (ret_fast_syscall+0x0/0x1c)
[  278.174334] Code: e52de004 e8bd4000 e1a03000 e3a02000 (e4832004) 
[  278.179091] usb 1-1.4: USB disconnect, device number 38
[  278.185737] ---[ end trace 2a1ed67d97c99f55 ]---


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

  Powered by Linux