Bug 120021 - omap-aes crash regression in 4.6.x
Summary: omap-aes crash regression in 4.6.x
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-11 10:34 UTC by Peter Robinson
Modified: 2017-03-25 14:25 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.6 (0 - 2)
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Peter Robinson 2016-06-11 10:34:51 UTC
Regression in 4.6 on the omap-aes hardware crypto driver. 

[  683.263819] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[  683.291222] Unable to handle kernel NULL pointer dereference at virtual address 0000002c
[  683.299794] pgd = c0204000
[  683.302658] [0000002c] *pgd=00000000
[  683.306467] Internal error: Oops: 5 [#1] SMP ARM
[  683.311345] Modules linked in: omap_aes(+) crypto_engine ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc ebtable_nat ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle ebtable_filter ebtables ip6table_filter ip6_tables musb_dsps phy_am335x musb_hdrc cppi41 phy_am335x_control udc_core phy_generic wkup_m3_rproc remoteproc virtio_ring virtio omap_sham omap_rng omap_hwspinlock at24 hwspinlock_core omap_mailbox nvmem_core musb_am335x omap_wdt 8250_omap leds_gpio cpufreq_dt smsc davinci_mdio mmc_block ti_cpsw cpsw_common ptp pps_core cpsw_ale tilcdc tda998x davinci_cpdma drm_kms_helper
[  683.387013]  syscopyarea sysfillrect sysimgblt omap_hsmmc fb_sys_fops omap_dma mmc_core drm
[  683.394569] CPU: 0 PID: 843 Comm: cryptomgr_test Not tainted 4.6.2-300.fc24.armv7hl #1
[  683.402917] Hardware name: Generic AM33XX (Flattened Device Tree)
[  683.409350] task: de10ab80 ti: dba88000 task.ti: dba88000
[  683.415078] PC is at _raw_spin_lock_irqsave+0x18/0x54
[  683.420448] LR is at crypto_transfer_request+0x24/0x84 [crypto_engine]
[  683.427344] pc : [<c0938694>]    lr : [<bf36a090>]    psr: a00f0193
               sp : dba89c88  ip : dba89d60  fp : 00000000
[  683.439444] r10: dba89d40  r9 : cfa78900  r8 : 00000001
[  683.444962] r7 : dc90f000  r6 : cfa78940  r5 : 0000002c  r4 : 00000000
[  683.451849] r3 : 0000002c  r2 : 00000001  r1 : cfa78940  r0 : a00f0113
[  683.458739] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  683.466357] Control: 10c5387d  Table: 9ba8c019  DAC: 00000051
[  683.472423] Process cryptomgr_test (pid: 843, stack limit = 0xdba88220)
[  683.479400] Stack: (0xdba89c88 to 0xdba8a000)
[  683.484018] 9c80:                   c0e62cc8 cfa78cc0 00000001 dc90f000 00000000 c05159e8
[  683.492658] 9ca0: 00000000 00000000 00000000 00000000 c0bad1ea bf371528 00000000 c0e62cc8
[  683.501296] 9cc0: c0b96e0d 00000000 00000004 00000000 00000000 00000001 00000000 00000000
[  683.509935] 9ce0: 00000000 00000000 00000000 00000000 00000000 dba89cf4 dba89cf4 00000000
[  683.518576] 9d00: dc90f000 dc93a000 cfa6d000 dc1e2000 dc1e3000 dc1e4000 dc1e5000 dc1e6000
[  683.527214] 9d20: 00000000 00000000 801cac77 00000000 ffffffff 00000000 00000003 c0deafe8
[  683.535851] 9d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  683.544490] 9d60: deb8461e 00000000 00000010 00000000 00000000 c023a6b4 c0df5e50 00000000
[  683.553130] 9d80: 00000000 c023a7e0 c0df5e50 00000080 c0dedd94 c023a994 c0df5e50 00000000
[  683.561771] 9da0: c0df5e50 00000000 00000000 c023ac68 c0df5e50 00000003 00000003 c0df5e50
[  683.570413] 9dc0: c0df5eb0 a00f0113 00000000 c023b268 00000000 de1c0100 00000001 c028de3c
[  683.579056] 9de0: de1bf0e0 600f0193 00000003 00000000 00000000 c0678794 de1bf010 c0678794
[  683.587698] 9e00: de1bf010 c0678e74 de1bf010 de186c10 00000000 de1bf074 dba88000 c0678e7c
[  683.596340] 9e20: 00000001 de001d80 de001d80 024080c0 c050cab8 cfa78a80 600f0113 de1bf010
[  683.604982] 9e40: 00000004 de1bf074 600f0113 cfa78a80 00003085 c06790cc cf99c300 dc8f4118
[  683.613625] 9e60: cf99c300 00000000 cfa78a80 bf36f1b4 cf99c300 bf3714c0 00000000 c050cb0c
[  683.622267] 9e80: cfa78cc0 00000000 cfa78d00 bf3714c0 cfa78a80 c0511160 cfa78cc0 cfa78d00
[  683.630908] 9ea0: c096144c cfa78cc0 cfa78cc0 00000001 c0e62cc8 00000004 00000076 ffffffff
[  683.639547] 9ec0: 00000000 c051842c 00000000 00000000 cfa78a80 cfa78cc0 c0962344 00000400
[  683.648187] 9ee0: c05184b8 c0518544 cfa78a80 00001085 cfa78ac0 c051751c dfdbf3c0 c0ddc850
[  683.656825] 9f00: dba89f54 c0934dd0 dba51c48 00000001 00000003 00000000 00000001 c0278590
[  683.665466] 9f20: 00000000 c0935110 00000000 1efe9000 a00f0113 dba88000 00000000 cfa78a80
[  683.674105] 9f40: 00000000 cfa78a80 c05150b4 00000000 00000000 00000000 00000000 c05150e0
[  683.682745] 9f60: dc96cec0 c026e75c 00000000 00000000 00000000 cfa78a80 00000000 00000000
[  683.691385] 9f80: dba89f80 dba89f80 00000000 00000000 dba89f90 dba89f90 dc96cec0 dc96cec0
[  683.700024] 9fa0: c026e67c 00000000 00000000 c020fcf8 00000000 00000000 00000000 00000000
[  683.708663] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  683.717300] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[  683.725979] [<c0938694>] (_raw_spin_lock_irqsave) from [<bf36a090>] (crypto_transfer_request+0x24/0x84 [crypto_engine])
[  683.737487] [<bf36a090>] (crypto_transfer_request [crypto_engine]) from [<c05159e8>] (__test_skcipher+0x2d0/0x868)
[  683.748432] [<c05159e8>] (__test_skcipher) from [<c051842c>] (test_skcipher+0x2c/0xb8)
[  683.756810] [<c051842c>] (test_skcipher) from [<c0518544>] (alg_test_skcipher+0x8c/0xa8)
[  683.765372] [<c0518544>] (alg_test_skcipher) from [<c051751c>] (alg_test+0x28c/0x344)
[  683.773659] [<c051751c>] (alg_test) from [<c05150e0>] (cryptomgr_test+0x2c/0x4c)
[  683.781503] [<c05150e0>] (cryptomgr_test) from [<c026e75c>] (kthread+0xe0/0xf0)
[  683.789254] [<c026e75c>] (kthread) from [<c020fcf8>] (ret_from_fork+0x14/0x3c)
[  683.796893] Code: e1a03000 e10f0000 f10c0080 f5d3f000 (e1931f9f)
[  683.823607] ---[ end trace be503fdcbe0bf67f ]---
[ 6334.136823] ------------[ cut here ]------------
[ 6334.142014] WARNING: CPU: 0 PID: 841 at crypto/algapi.c:348 crypto_wait_for_test+0x5c/0x6c
[ 6334.150900] Modules linked in: omap_aes(+) crypto_engine ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc ebtable_nat ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle ebtable_filter ebtables ip6table_filter ip6_tables musb_dsps phy_am335x musb_hdrc cppi41 phy_am335x_control udc_core phy_generic wkup_m3_rproc remoteproc virtio_ring virtio omap_sham omap_rng omap_hwspinlock at24 hwspinlock_core omap_mailbox nvmem_core musb_am335x omap_wdt 8250_omap leds_gpio cpufreq_dt smsc davinci_mdio mmc_block ti_cpsw cpsw_common ptp pps_core cpsw_ale tilcdc tda998x davinci_cpdma drm_kms_helper
[ 6334.228584]  syscopyarea sysfillrect sysimgblt omap_hsmmc fb_sys_fops omap_dma mmc_core drm
[ 6334.236264] CPU: 0 PID: 841 Comm: modprobe Tainted: G      D         4.6.2-300.fc24.armv7hl #1
[ 6334.245391] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 6334.251924] [<c02192d0>] (unwind_backtrace) from [<c0214114>] (show_stack+0x18/0x1c)
[ 6334.260163] [<c0214114>] (show_stack) from [<c055f19c>] (dump_stack+0x80/0x9c)
[ 6334.267850] [<c055f19c>] (dump_stack) from [<c025140c>] (__warn+0xe4/0x104)
[ 6334.275255] [<c025140c>] (__warn) from [<c02514e8>] (warn_slowpath_null+0x24/0x2c)
[ 6334.283311] [<c02514e8>] (warn_slowpath_null) from [<c050e274>] (crypto_wait_for_test+0x5c/0x6c)
[ 6334.292646] [<c050e274>] (crypto_wait_for_test) from [<c050e4d8>] (crypto_register_alg+0x4c/0x58)
[ 6334.302131] [<c050e4d8>] (crypto_register_alg) from [<bf36ff5c>] (omap_aes_probe+0x444/0x5e0 [omap_aes])
[ 6334.312281] [<bf36ff5c>] (omap_aes_probe [omap_aes]) from [<c06707c0>] (platform_drv_probe+0x58/0xa4)
[ 6334.322039] [<c06707c0>] (platform_drv_probe) from [<c066e974>] (driver_probe_device+0x2c0/0x410)
[ 6334.331420] [<c066e974>] (driver_probe_device) from [<c066eb6c>] (__driver_attach+0xa8/0x10c)
[ 6334.340432] [<c066eb6c>] (__driver_attach) from [<c066ca98>] (bus_for_each_dev+0x84/0x94)
[ 6334.349079] [<c066ca98>] (bus_for_each_dev) from [<c066dd3c>] (bus_add_driver+0x1c0/0x240)
[ 6334.357816] [<c066dd3c>] (bus_add_driver) from [<c066f6f0>] (driver_register+0xa8/0xe8)
[ 6334.366281] [<c066f6f0>] (driver_register) from [<c0209bf0>] (do_one_initcall+0x58/0x1d8)
[ 6334.374934] [<c0209bf0>] (do_one_initcall) from [<c033fb80>] (do_init_module+0x60/0x1c0)
[ 6334.383493] [<c033fb80>] (do_init_module) from [<c02d008c>] (load_module+0x1abc/0x1e84)
[ 6334.391956] [<c02d008c>] (load_module) from [<c02d0690>] (SyS_finit_module+0xbc/0xcc)
[ 6334.400245] [<c02d0690>] (SyS_finit_module) from [<c020fc40>] (ret_fast_syscall+0x0/0x3c)
[ 6334.409094] ---[ end trace be503fdcbe0bf680 ]---
[ 6334.428415] ------------[ cut here ]------------
[ 6334.433407] WARNING: CPU: 0 PID: 841 at crypto/algapi.c:342 crypto_wait_for_test+0x5c/0x6c
[ 6334.442161] Modules linked in: omap_aes(+) crypto_engine ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc ebtable_nat ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle ebtable_filter ebtables ip6table_filter ip6_tables musb_dsps phy_am335x musb_hdrc cppi41 phy_am335x_control udc_core phy_generic wkup_m3_rproc remoteproc virtio_ring virtio omap_sham omap_rng omap_hwspinlock at24 hwspinlock_core omap_mailbox nvmem_core musb_am335x omap_wdt 8250_omap leds_gpio cpufreq_dt smsc davinci_mdio mmc_block ti_cpsw cpsw_common ptp pps_core cpsw_ale tilcdc tda998x davinci_cpdma drm_kms_helper
[ 6334.517957]  syscopyarea sysfillrect sysimgblt omap_hsmmc fb_sys_fops omap_dma mmc_core drm
[ 6334.525570] CPU: 0 PID: 841 Comm: modprobe Tainted: G      D W       4.6.2-300.fc24.armv7hl #1
[ 6334.534644] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 6334.541109] [<c02192d0>] (unwind_backtrace) from [<c0214114>] (show_stack+0x18/0x1c)
[ 6334.549287] [<c0214114>] (show_stack) from [<c055f19c>] (dump_stack+0x80/0x9c)
[ 6334.556914] [<c055f19c>] (dump_stack) from [<c025140c>] (__warn+0xe4/0x104)
[ 6334.564263] [<c025140c>] (__warn) from [<c02514e8>] (warn_slowpath_null+0x24/0x2c)
[ 6334.572254] [<c02514e8>] (warn_slowpath_null) from [<c050e274>] (crypto_wait_for_test+0x5c/0x6c)
[ 6334.581524] [<c050e274>] (crypto_wait_for_test) from [<c050e4d8>] (crypto_register_alg+0x4c/0x58)
[ 6334.590921] [<c050e4d8>] (crypto_register_alg) from [<bf36ff5c>] (omap_aes_probe+0x444/0x5e0 [omap_aes])
[ 6334.600949] [<bf36ff5c>] (omap_aes_probe [omap_aes]) from [<c06707c0>] (platform_drv_probe+0x58/0xa4)
[ 6334.610681] [<c06707c0>] (platform_drv_probe) from [<c066e974>] (driver_probe_device+0x2c0/0x410)
[ 6334.620041] [<c066e974>] (driver_probe_device) from [<c066eb6c>] (__driver_attach+0xa8/0x10c)
[ 6334.629034] [<c066eb6c>] (__driver_attach) from [<c066ca98>] (bus_for_each_dev+0x84/0x94)
[ 6334.637662] [<c066ca98>] (bus_for_each_dev) from [<c066dd3c>] (bus_add_driver+0x1c0/0x240)
[ 6334.646380] [<c066dd3c>] (bus_add_driver) from [<c066f6f0>] (driver_register+0xa8/0xe8)
[ 6334.654827] [<c066f6f0>] (driver_register) from [<c0209bf0>] (do_one_initcall+0x58/0x1d8)
[ 6334.663458] [<c0209bf0>] (do_one_initcall) from [<c033fb80>] (do_init_module+0x60/0x1c0)
[ 6334.671998] [<c033fb80>] (do_init_module) from [<c02d008c>] (load_module+0x1abc/0x1e84)
[ 6334.680443] [<c02d008c>] (load_module) from [<c02d0690>] (SyS_finit_module+0xbc/0xcc)
[ 6334.688710] [<c02d0690>] (SyS_finit_module) from [<c020fc40>] (ret_fast_syscall+0x0/0x3c)
[ 6334.697430] ---[ end trace be503fdcbe0bf681 ]---
[ 6334.723936] ------------[ cut here ]------------
[ 6334.728909] WARNING: CPU: 0 PID: 841 at crypto/algapi.c:342 crypto_wait_for_test+0x5c/0x6c
[ 6334.737587] Modules linked in: omap_aes(+) crypto_engine ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc ebtable_nat ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle ebtable_filter ebtables ip6table_filter ip6_tables musb_dsps phy_am335x musb_hdrc cppi41 phy_am335x_control udc_core phy_generic wkup_m3_rproc remoteproc virtio_ring virtio omap_sham omap_rng omap_hwspinlock at24 hwspinlock_core omap_mailbox nvmem_core musb_am335x omap_wdt 8250_omap leds_gpio cpufreq_dt smsc davinci_mdio mmc_block ti_cpsw cpsw_common ptp pps_core cpsw_ale tilcdc tda998x davinci_cpdma drm_kms_helper
[ 6334.813064]  syscopyarea sysfillrect sysimgblt omap_hsmmc fb_sys_fops omap_dma mmc_core drm
[ 6334.820542] CPU: 0 PID: 841 Comm: modprobe Tainted: G      D W       4.6.2-300.fc24.armv7hl #1
[ 6334.829531] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 6334.835931] [<c02192d0>] (unwind_backtrace) from [<c0214114>] (show_stack+0x18/0x1c)
[ 6334.844028] [<c0214114>] (show_stack) from [<c055f19c>] (dump_stack+0x80/0x9c)
[ 6334.851579] [<c055f19c>] (dump_stack) from [<c025140c>] (__warn+0xe4/0x104)
[ 6334.858855] [<c025140c>] (__warn) from [<c02514e8>] (warn_slowpath_null+0x24/0x2c)
[ 6334.866771] [<c02514e8>] (warn_slowpath_null) from [<c050e274>] (crypto_wait_for_test+0x5c/0x6c)
[ 6334.875950] [<c050e274>] (crypto_wait_for_test) from [<c050e4d8>] (crypto_register_alg+0x4c/0x58)
[ 6334.885251] [<c050e4d8>] (crypto_register_alg) from [<bf36ff5c>] (omap_aes_probe+0x444/0x5e0 [omap_aes])
[ 6334.895178] [<bf36ff5c>] (omap_aes_probe [omap_aes]) from [<c06707c0>] (platform_drv_probe+0x58/0xa4)
[ 6334.904812] [<c06707c0>] (platform_drv_probe) from [<c066e974>] (driver_probe_device+0x2c0/0x410)
[ 6334.914079] [<c066e974>] (driver_probe_device) from [<c066eb6c>] (__driver_attach+0xa8/0x10c)
[ 6334.922981] [<c066eb6c>] (__driver_attach) from [<c066ca98>] (bus_for_each_dev+0x84/0x94)
[ 6334.931522] [<c066ca98>] (bus_for_each_dev) from [<c066dd3c>] (bus_add_driver+0x1c0/0x240)
[ 6334.940153] [<c066dd3c>] (bus_add_driver) from [<c066f6f0>] (driver_register+0xa8/0xe8)
[ 6334.948516] [<c066f6f0>] (driver_register) from [<c0209bf0>] (do_one_initcall+0x58/0x1d8)
[ 6334.957064] [<c0209bf0>] (do_one_initcall) from [<c033fb80>] (do_init_module+0x60/0x1c0)
[ 6334.965519] [<c033fb80>] (do_init_module) from [<c02d008c>] (load_module+0x1abc/0x1e84)
[ 6334.973881] [<c02d008c>] (load_module) from [<c02d0690>] (SyS_finit_module+0xbc/0xcc)
[ 6334.982065] [<c02d0690>] (SyS_finit_module) from [<c020fc40>] (ret_fast_syscall+0x0/0x3c)
[ 6334.990664] ---[ end trace be503fdcbe0bf682 ]---
[ 6335.006105] omap-aes 53500000.aes: failed to create crypto request pump task
[ 6335.013847] ------------[ cut here ]------------
[ 6335.018673] kernel BUG at crypto/algapi.c:401!
[ 6335.023311] Internal error: Oops - BUG: 0 [#2] SMP ARM
[ 6335.028674] Modules linked in: omap_aes(+) crypto_engine ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge stp llc ebtable_nat ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle ebtable_filter ebtables ip6table_filter ip6_tables musb_dsps phy_am335x musb_hdrc cppi41 phy_am335x_control udc_core phy_generic wkup_m3_rproc remoteproc virtio_ring virtio omap_sham omap_rng omap_hwspinlock at24 hwspinlock_core omap_mailbox nvmem_core musb_am335x omap_wdt 8250_omap leds_gpio cpufreq_dt smsc davinci_mdio mmc_block ti_cpsw cpsw_common ptp pps_core cpsw_ale tilcdc tda998x davinci_cpdma drm_kms_helper
[ 6335.103198]  syscopyarea sysfillrect sysimgblt omap_hsmmc fb_sys_fops omap_dma mmc_core drm
[ 6335.110613] CPU: 0 PID: 841 Comm: modprobe Tainted: G      D W       4.6.2-300.fc24.armv7hl #1
[ 6335.119599] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 6335.125961] task: dc9a4880 ti: dba50000 task.ti: dba50000
[ 6335.131621] PC is at crypto_unregister_alg+0x4c/0x7c
[ 6335.136805] LR is at crypto_unregister_alg+0x38/0x7c
[ 6335.141989] pc : [<c050e400>]    lr : [<c050e3ec>]    psr: 20070013
               sp : dba51cf0  ip : 00000000  fp : ffffffff
[ 6335.153969] r10: dc8f4138  r9 : 00000000  r8 : ffffff00
[ 6335.159421] r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : bf3714c0
[ 6335.166232] r3 : 00000003  r2 : ffff0001  r1 : 00000000  r0 : c0e59b80
[ 6335.173046] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 6335.180493] Control: 10c5387d  Table: 9ba8c019  DAC: 00000051
[ 6335.186489] Process modprobe (pid: 841, stack limit = 0xdba50220)
[ 6335.192847] Stack: (0xdba51cf0 to 0xdba52000)
[ 6335.197398] 1ce0:                                     dba51cf0 dba51cf0 bf371364 dc8f4118
[ 6335.205938] 1d00: de1bf010 bf370074 dc73c500 00000000 00000000 dc73c5f0 00000001 00ffffff
[ 6335.214478] 1d20: de1be500 00000800 53500000 5350009f dfde2708 00000200 00000000 00000000
[ 6335.223019] 1d40: 00000000 00000000 c0fba630 bf36fb18 de1bf010 bf37131c 00000000 c0eece18
[ 6335.231560] 1d60: c0fba630 00000027 dba5b408 c06707c0 de1bf010 c0fba628 bf37131c c066e974
[ 6335.240101] 1d80: bf37131c de1bf010 de1bf010 de1bf044 bf37131c c0eecd40 00000000 00000001
[ 6335.248641] 1da0: dba5b424 c066eb6c 00000000 bf37131c c066eac4 c066ca98 de020b5c de1bc334
[ 6335.257184] 1dc0: bf37131c de179300 c0e9a908 c066dd3c bf3711fb bf3711fc bf37131c dc92af00
[ 6335.265725] 1de0: 00000000 c0de04d0 c0de04d0 c066f6f0 bf374000 dc92af00 00000000 c0209bf0
[ 6335.274266] 1e00: 00000000 00000001 0018bce1 00000000 00000001 c0346d44 8040003e de780000
[ 6335.282807] 1e20: 00000000 dc93c9c0 deb63570 c038f3f8 dba5b408 c038f3f8 dba51e58 c02cfea8
[ 6335.291348] 1e40: 0007a50e 0000000c 00000001 bf371780 dba51f54 bf371780 dba51f54 dc92a100
[ 6335.299890] 1e60: bf3717c8 dba5b400 00000001 c033fb80 bf371780 deb84c70 bf371780 dba51f54
[ 6335.308431] 1e80: 00000001 c02d008c bf37178c 00007fff bf371780 c02cd8fc 024000c0 c02cd2e0
[ 6335.316973] 1ea0: c09437c8 e14bd394 bf371964 e14bb5b0 000000cf 7f60613c dc8e6c00 0000572f
[ 6335.325514] 1ec0: 00000000 dba51f48 0000572f 00000000 00000000 00000000 00000000 00000000
[ 6335.334054] 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 6335.342594] 1f00: 00000000 00000000 7fffffff 00000000 7f60613c 00000004 0000017b c020fe04
[ 6335.351134] 1f20: dba50000 00000000 7fa22e70 c02d0690 7fffffff 00000000 00000002 dc8e6c00
[ 6335.359675] 1f40: 00000000 e14b8000 0000572f 00000000 00000002 e14b8000 00005434 e14bce1c
[ 6335.368216] 1f60: e14bcca0 e14bc380 00002984 00003084 bf3716c0 00000008 00000001 0000160c
[ 6335.376756] 1f80: 00000023 00000024 00000020 00000000 00000018 00000000 00000000 00040000
[ 6335.385295] 1fa0: 81737800 c020fc40 00000000 00040000 00000004 7f60613c 00000000 7fa22fb0
[ 6335.393835] 1fc0: 00000000 00040000 81737800 0000017b 00040000 00000000 00000000 7fa22e70
[ 6335.402376] 1fe0: bef83248 bef83238 7f5fc5f4 b6eaa8e0 60010010 00000004 00000000 00000000
[ 6335.410968] [<c050e400>] (crypto_unregister_alg) from [<bf370074>] (omap_aes_probe+0x55c/0x5e0 [omap_aes])
[ 6335.421079] [<bf370074>] (omap_aes_probe [omap_aes]) from [<c06707c0>] (platform_drv_probe+0x58/0xa4)
[ 6335.430715] [<c06707c0>] (platform_drv_probe) from [<c066e974>] (driver_probe_device+0x2c0/0x410)
[ 6335.439985] [<c066e974>] (driver_probe_device) from [<c066eb6c>] (__driver_attach+0xa8/0x10c)
[ 6335.448890] [<c066eb6c>] (__driver_attach) from [<c066ca98>] (bus_for_each_dev+0x84/0x94)
[ 6335.457430] [<c066ca98>] (bus_for_each_dev) from [<c066dd3c>] (bus_add_driver+0x1c0/0x240)
[ 6335.466064] [<c066dd3c>] (bus_add_driver) from [<c066f6f0>] (driver_register+0xa8/0xe8)
[ 6335.474429] [<c066f6f0>] (driver_register) from [<c0209bf0>] (do_one_initcall+0x58/0x1d8)
[ 6335.482978] [<c0209bf0>] (do_one_initcall) from [<c033fb80>] (do_init_module+0x60/0x1c0)
[ 6335.491433] [<c033fb80>] (do_init_module) from [<c02d008c>] (load_module+0x1abc/0x1e84)
[ 6335.499796] [<c02d008c>] (load_module) from [<c02d0690>] (SyS_finit_module+0xbc/0xcc)
[ 6335.507980] [<c02d0690>] (SyS_finit_module) from [<c020fc40>] (ret_fast_syscall+0x0/0x3c)
[ 6335.516524] Code: 1a00000a e5943024 e3530001 0a000000 (e7f001f2)
[ 6335.530712] ---[ end trace be503fdcbe0bf683 ]---
Comment 1 Peter Robinson 2016-06-11 10:35:19 UTC
Note this is on a BeagleBone Black
Comment 2 Andrea Scarpino 2017-03-25 14:25:38 UTC
I got something similar on my BeagleBone Black too as soon as I attach a USB disk LUKS encrypted, kernel 4.10.5:

[   31.073528] Unable to handle kernel NULL pointer dereference at vi4
[   31.081716] pgd = c0004000
[   31.084435] [00000004] *pgd=00000000
[   31.088060] Internal error: Oops: 5 [#1] THUMB2
[   31.092611] Modules linked in: dm_crypt aes_arm algif_skcipher af_alg snd_soc_hdmi_codec snd_soc_simple_card snd_soc_simple_card_utils omap_aes crs
[   31.126888] CPU: 0 PID: 5 Comm: kworker/u2:0 Not tainted 4.10.5-1-ARCH #1
[   31.133702] Hardware name: Generic AM33XX (Flattened Device Tree)
[   31.139861] Workqueue: kcryptd kcryptd_crypt [dm_crypt]
[   31.145109] task: dc0bf000 task.stack: dc110000
[   31.149668] PC is at post_crypt+0x144/0x168
[   31.153867] LR is at post_crypt+0x13d/0x168
[   31.158068] pc : [<c045d848>]    lr : [<c045d841>]    psr: 400e0133
[   31.158068] sp : dc111cf8  ip : 00000200  fp : c845d64c
[   31.169596] r10: 82d6ec27  r9 : c0d0404c  r8 : dacb7000
[   31.174840] r7 : 00000400  r6 : 00000000  r5 : 00000000  r4 : dacb70fc
[   31.181394] r3 : dcf2548a  r2 : 00000200  r1 : 80000000  r0 : 00000000
[   31.187951] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   31.195289] Control: 50c5387d  Table: 9a958019  DAC: 00000051
[   31.201057] Process kworker/u2:0 (pid: 5, stack limit = 0xdc110210)
[   31.207348] Stack: (0xdc111cf8 to 0xdc112000)
[   31.211723] 1ce0:                                                       dcf25488 dac92200
[   31.219941] 1d00: dcf25488 dac92200 dacb71e0 00000400 00000000 00000000 00000400 00000000
[   31.228157] 1d20: 00000002 00000200 00000000 00000000 00000000 00000000 00000000 c010f020
[   31.236375] 1d40: 00000010 00000010 00000000 6ad4b1c4 c01108fd dacb7000 dacb7180 00000000
[   31.244592] 1d60: dc1f0010 dc110000 00000007 00000018 dab0ac00 c045db8b da9ae610 bf955137
[   31.252810] 1d80: da9b5b50 dacb7180 c0d0404c bf95aecb 00000000 00000000 da9b5b50 6ad4b1c4
[   31.261026] 1da0: 00000000 6ad4b1c4 c0d10f98 00000000 c0d10f98 00000000 00000100 dc110000
[   31.269244] 1dc0: 00000007 c01283c9 c0df9bd8 00000006 00000040 c0127ddb dc1ae300 00000001
[   31.277461] 1de0: c0df9bc0 c0df9b80 00000009 fffef952 c0d1d900 0420c060 c015c821 c0d87514
[   31.285677] 1e00: 00000000 00000000 00000001 dc03c000 dc110000 dab0adcc dab0ac00 c0128151
[   31.293894] 1e20: 000000bd c0159013 c045dafe 600e0033 ffffffff dc111e74 dc66c600 c07cc5a5
[   31.302112] 1e40: dab0ad40 00000000 6ad4b1c4 c0456f51 00000000 dab0ac00 dab0ad40 dac7cf18
[   31.310329] 1e60: dc66c600 0000000c dab0adcc dab0ac00 00000000 dc111e90 c0111c49 c045dafe
[   31.318546] 1e80: 600e0033 ffffffff 00000051 00000000 dab0adc8 00000005 00000000 bf983d61
[   31.326763] 1ea0: dc0bf030 dcf254ac dab0ae00 dab0ade0 bf984ec5 dac7cf68 dc76be00 00000080
[   31.334981] 1ec0: 00000000 dac7cf08 dac7d238 dc66c600 dac7cf18 dac7d238 dc005e00 bf985347
[   31.343198] 1ee0: e455aab9 dac7cf00 dc6618c0 c013b017 00000000 00000000 da8c4018 c07cccc1
[   31.351414] 1f00: dc4edb00 00000000 dc005e00 dac7cf08 dc0af900 dc005e00 00000020 dc4edb00
[   31.359631] 1f20: 00000000 dc005e00 dc005e00 c0135cc1 c0d1d900 dc111f48 dc005e00 dc0af918
[   31.367849] 1f40: c0d1d900 dc005e14 dc110000 dc005e5c dc0af900 c0135f59 dc005f8c 00000000
[   31.376066] 1f60: 00000000 dc0b1f80 dc110000 00000000 dc08a900 dc0af900 c0135e79 dc0b1f98
[   31.384282] 1f80: dc101ec8 c013a09d ffffffff dc08a900 c0139fd5 00000000 00000000 00000000
[   31.392498] 1fa0: 00000000 00000000 00000000 c0106871 00000000 00000000 00000000 00000000
[   31.400714] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   31.408929] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 bdce6ace dcdb5377
[   31.417159] [<c045d848>] (post_crypt) from [<c045db8b>] (decrypt_done+0x3b/0x40)
[   31.424606] [<c045db8b>] (decrypt_done) from [<bf955137>] (crypto_finalize_cipher_request+0x4a/0x64 [crypto_engine])
[   31.435222] [<bf955137>] (crypto_finalize_cipher_request [crypto_engine]) from [<bf95aecb>] (omap_aes_done_task+0x132/0x244 [omap_aes])
[   31.447469] [<bf95aecb>] (omap_aes_done_task [omap_aes]) from [<c01283c9>] (tasklet_action+0x41/0x68)
[   31.456735] [<c01283c9>] (tasklet_action) from [<c0127ddb>] (__do_softirq+0x97/0x1d8)
[   31.464603] [<c0127ddb>] (__do_softirq) from [<c0128151>] (irq_exit+0xcd/0xd0)
[   31.471863] [<c0128151>] (irq_exit) from [<c0159013>] (__handle_domain_irq+0x3f/0x80)
[   31.479744] [<c0159013>] (__handle_domain_irq) from [<c07cc5a5>] (__irq_svc+0x65/0x94)
[   31.487702] [<c07cc5a5>] (__irq_svc) from [<c045dafe>] (do_decrypt+0x4e/0x80)
[   31.494883] [<c045dafe>] (do_decrypt) from [<bf983d61>] (crypt_convert+0x300/0x3a0 [dm_crypt])
[   31.503562] [<bf983d61>] (crypt_convert [dm_crypt]) from [<bf985347>] (kcryptd_crypt+0x272/0x2cc [dm_crypt])
[   31.513455] [<bf985347>] (kcryptd_crypt [dm_crypt]) from [<c0135cc1>] (process_one_work+0xf1/0x2a8)
[   31.522547] [<c0135cc1>] (process_one_work) from [<c0135f59>] (worker_thread+0xe1/0x3c0)
[   31.530680] [<c0135f59>] (worker_thread) from [<c013a09d>] (kthread+0xc9/0xf0)
[   31.537948] [<c013a09d>] (kthread) from [<c0106871>] (ret_from_fork+0x11/0x20)
[   31.545209] Code: f8d8 4128 9007 4606 (6847) 9708 
[   31.550079] ---[ end trace 594bd4484ecd4811 ]---
[   31.554731] Kernel panic - not syncing: Fatal exception in interrupt
[   31.561117] ---[ end Kernel panic - not syncing: Fatal exception in interrupt

Note You need to log in before you can comment on or make changes to this bug.