Bug 1038472

Summary: [abrt] kernel BUG at include/linux/scatterlist.h:99!
Product: [Fedora] Fedora Reporter: collura
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: collura, gansalmon, herbert.xu, itamar, jonathan, kernel-maint, madhu.chinakonda, mbriza
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/0ebfb831a925bc7c8a21f1c4fa9423a4d33672b0
Whiteboard: abrt_hash:27b26b22b1564649703af6adb067c762c19e0b1d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-10 14:54:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: dmesg none

Description collura 2013-12-05 07:43:44 UTC
Additional info:
reporter:       libreport-2.1.9
kernel BUG at include/linux/scatterlist.h:99!
invalid opcode: 0000 [#1] SMP 
Modules linked in: ccm ip6t_REJECT bnep bluetooth xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw amd_freq_sensitivity kvm crct10dif_pclmul crc32_pclmul arc4 crc32c_intel rtl8188ee rtl_pci rtlwifi ghash_clmulni_intel mac80211 microcode snd_hda_codec_conexant cfg80211 joydev snd_hda_codec_hdmi serio_raw alx snd_hda_intel edac_core edac_mce_amd mdio k10temp fam15h_power snd_hda_codec snd_hwdep toshiba_acpi sparse_keymap snd_seq rfkill snd_seq_device wmi snd_pcm snd_page_alloc snd_timer snd shpchp soundcore video i2c_piix4 acpi_cpufreq binfmt_misc radeon i2c_algo_bit drm_kms_helper ttm drm i2c_core
CPU: 3 PID: 809 Comm: cryptomgr_test Not tainted 3.13.0-0.rc2.git3.1.fc21.x86_64 #1
Hardware name: TOSHIBA Satellite L75D-A/Larne, BIOS 1.10 05/16/2013
task: ffff88003725cd70 ti: ffff880192ef2000 task.ti: ffff880192ef2000
RIP: 0010:[<ffffffff81335a1e>]  [<ffffffff81335a1e>] scatterwalk_pagedone+0xbe/0xc0
RSP: 0018:ffff880192ef3940  EFLAGS: 00010202
RAX: 0000000087654321 RBX: ffff880192ef39d0 RCX: 0000000000000000
RDX: ffff8800ac3649f1 RSI: 0000000000000000 RDI: ffff880192ef39f0
RBP: ffff880192ef3940 R08: 00000000000001a0 R09: ffff8800b16071c8
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000017
R13: 0000000000000010 R14: ffff880192ef3a08 R15: ffff880192ef3a90
FS:  00007f2fb512b740(0000) GS:ffff880198c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000032b540e930 CR3: 0000000001c0c000 CR4: 00000000000407e0
Stack:
 ffff880192ef3950 ffffffff81335a5d ffff880192ef3990 ffffffff813389f3
 ffff880185c33588 0000000000000010 ffff880192ef3990 ffff880192ef3c88
 ffff8800b16071a0 0000000000000000 ffff880192ef3a70 ffffffff81345461
Call Trace:
 [<ffffffff81335a5d>] scatterwalk_done+0x3d/0x50
 [<ffffffff813389f3>] blkcipher_walk_done+0x83/0x230
 [<ffffffff81345461>] crypto_ctr_crypt+0x121/0x2b0
 [<ffffffff8106c0d0>] ? aes_decrypt+0xa0/0xa0
 [<ffffffff81337e2d>] async_encrypt+0x3d/0x40
 [<ffffffff81337e2d>] ? async_encrypt+0x3d/0x40
 [<ffffffffa06aa270>] crypto_ccm_encrypt+0x2d0/0x320 [ccm]
 [<ffffffff81336c23>] ? setkey+0xb3/0xd0
 [<ffffffff8133e715>] __test_aead+0x445/0x1170
 [<ffffffff813333f5>] ? __crypto_alloc_tfm+0x45/0x170
 [<ffffffff81334bb5>] ? crypto_spawn_tfm+0x45/0x80
 [<ffffffff813334b1>] ? __crypto_alloc_tfm+0x101/0x170
 [<ffffffff8133f467>] test_aead+0x27/0xb0
 [<ffffffff8133f537>] alg_test_aead+0x47/0xb0
 [<ffffffff8133d30f>] alg_test+0x12f/0x390
 [<ffffffff81758700>] ? __schedule+0x350/0x970
 [<ffffffff8133be20>] ? crypto_unregister_pcomp+0x20/0x20
 [<ffffffff8133be61>] cryptomgr_test+0x41/0x50
 [<ffffffff8109ffdf>] kthread+0xff/0x120
 [<ffffffff8109fee0>] ? insert_kthread_work+0x80/0x80
 [<ffffffff8176797c>] ret_from_fork+0x7c/0xb0
 [<ffffffff8109fee0>] ? insert_kthread_work+0x80/0x80
Code: 65 87 48 39 42 28 75 1e 48 8b 52 30 f6 c2 01 75 1a 48 83 e2 fc eb 97 66 0f 1f 44 00 00 31 d2 eb 8d e8 17 fe ff ff e8 2b f2 41 00 <0f> 0b 66 66 66 66 90 44 8b 47 08 4c 8b 0f 55 44 89 c0 48 89 e5 
RIP  [<ffffffff81335a1e>] scatterwalk_pagedone+0xbe/0xc0
 RSP <ffff880192ef3940>

Comment 1 collura 2013-12-05 07:43:59 UTC
Created attachment 833031 [details]
File: dmesg

Comment 2 Josh Boyer 2013-12-06 13:51:52 UTC
Does this happen for you regularly?  I've included a patch in today's rawhide build that might fix it.  Please test kernel-3.13.0-0.rc2.git6.1.fc21 and let us know.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6264221

Comment 3 Martin Bříza 2013-12-06 22:08:18 UTC
Description of problem:
No idea honestly, probably it's related to the fact i was not able to connect to my wireless network with kernel-3.13.0-0.rc2.git3.1.fc21.x86_64. 
kernel-3.13.0-0.rc2.git0.1.fc21.x86_64 is fine...

Version-Release number of selected component:
kernel

Additional info:
reporter:       libreport-2.1.9
cmdline:        BOOT_IMAGE=/vmlinuz-3.13.0-0.rc2.git3.1.fc21.x86_64 root=UUID=f293dd88-46b8-49d3-955a-b617c1ee6970 ro rd.md=0 rd.lvm=0 rd.dm=0 vconsole.keymap=cz-lat2 rd.luks=0 vconsole.font=latarcyrheb-sun16 quiet selinux=0 LANG=en_US.UTF-8
kernel:         3.13.0-0.rc2.git3.1.fc21.x86_64
runlevel:       N 5
type:           Kerneloops

Truncated backtrace:
kernel BUG at include/linux/scatterlist.h:99!
invalid opcode: 0000 [#1] SMP 
Modules linked in: ccm vfat fat rfcomm ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_CHECKSUM iptable_mangle tun bridge stp llc ip6table_filter ip6_tables ebtable_nat ebtables bnep btusb bluetooth arc4 brcmsmac cordic brcmutil b43 mac80211 cfg80211 ssb iTCO_wdt mmc_core iTCO_vendor_support acer_wmi sparse_keymap rfkill uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media coretemp kvm_intel kvm crc32c_intel snd_hda_codec_hdmi microcode joydev serio_raw snd_hda_codec_realtek snd_hda_intel intel_ips snd_hda_codec snd_hwdep i2c_i801 snd_seq snd_seq_device snd_pcm atl1c snd_page_alloc bcma snd_timer snd soundcore lpc_ich mfd_core mei_me mei shpchp wmi video acpi_cpufreq binfmt_misc usb_storage hid_logitech_dj radeon i2c_algo_bit drm_kms_helper ttm drm i2c_core
CPU: 3 PID: 2214 Comm: cryptomgr_test Not tainted 3.13.0-0.rc2.git3.1.fc21.x86_64 #1
Hardware name: Acer Aspire 5820TG/ZR7B, BIOS V1.18 08/10/2010
task: ffff8801e40d8000 ti: ffff8801e4138000 task.ti: ffff8801e4138000
RIP: 0010:[<ffffffff81335a1e>]  [<ffffffff81335a1e>] scatterwalk_pagedone+0xbe/0xc0
RSP: 0000:ffff8801e4139940  EFLAGS: 00010202
RAX: 0000000087654321 RBX: ffff8801e41399d0 RCX: 0000000000000000
RDX: ffff8801eead0a91 RSI: 0000000000000000 RDI: ffff8801e41399f0
RBP: ffff8801e4139940 R08: 0000000000000620 R09: ffff8801fb2be648
R10: 0000000000000003 R11: ffff8801e4139990 R12: 0000000000000017
R13: 0000000000000010 R14: ffff8801e4139a08 R15: ffff8801e4139a90
FS:  0000000000000000(0000) GS:ffff880232c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000003f5ee0e908 CR3: 0000000099426000 CR4: 00000000000007e0
Stack:
 ffff8801e4139950 ffffffff81335a5d ffff8801e4139990 ffffffff813389f3
 ffff8801e6ff98d8 0000000000000010 ffff8801e4139990 ffff8801e4139c88
 ffff8801fb2be620 0000000000000000 ffff8801e4139a70 ffffffff81345461
Call Trace:
 [<ffffffff81335a5d>] scatterwalk_done+0x3d/0x50
 [<ffffffff813389f3>] blkcipher_walk_done+0x83/0x230
 [<ffffffff81345461>] crypto_ctr_crypt+0x121/0x2b0
 [<ffffffff81064d50>] ? crypto_aes_encrypt_x86+0x10/0x10
 [<ffffffff81337e2d>] async_encrypt+0x3d/0x40
 [<ffffffff81337e2d>] ? async_encrypt+0x3d/0x40
 [<ffffffffa0834270>] crypto_ccm_encrypt+0x2d0/0x320 [ccm]
 [<ffffffff81336c23>] ? setkey+0xb3/0xd0
 [<ffffffff8133e715>] __test_aead+0x445/0x1170
 [<ffffffff813333f5>] ? __crypto_alloc_tfm+0x45/0x170
 [<ffffffff81334bb5>] ? crypto_spawn_tfm+0x45/0x80
 [<ffffffff813334b1>] ? __crypto_alloc_tfm+0x101/0x170
 [<ffffffff8133f467>] test_aead+0x27/0xb0
 [<ffffffff8133f537>] alg_test_aead+0x47/0xb0
 [<ffffffff8133d30f>] alg_test+0x12f/0x390
 [<ffffffff81758700>] ? __schedule+0x350/0x970
 [<ffffffff8133be20>] ? crypto_unregister_pcomp+0x20/0x20
 [<ffffffff8133be61>] cryptomgr_test+0x41/0x50
 [<ffffffff8109ffdf>] kthread+0xff/0x120
 [<ffffffff8109fee0>] ? insert_kthread_work+0x80/0x80
 [<ffffffff8176797c>] ret_from_fork+0x7c/0xb0
 [<ffffffff8109fee0>] ? insert_kthread_work+0x80/0x80
Code: 65 87 48 39 42 28 75 1e 48 8b 52 30 f6 c2 01 75 1a 48 83 e2 fc eb 97 66 0f 1f 44 00 00 31 d2 eb 8d e8 17 fe ff ff e8 2b f2 41 00 <0f> 0b 66 66 66 66 90 44 8b 47 08 4c 8b 0f 55 44 89 c0 48 89 e5 
RIP  [<ffffffff81335a1e>] scatterwalk_pagedone+0xbe/0xc0
 RSP <ffff8801e4139940>

Comment 4 collura 2013-12-10 05:34:35 UTC
for comment#2:

0) no not constant, only had it a few times with kernel-3.13.0-0.rc2.git3.1.fc20.x86_64

1) have not had it at all so far with kernel-3.13.0-0.rc2.git6.1.fc20.x86_64 :')
so probably could close.

Comment 5 collura 2013-12-10 05:40:36 UTC
erratta of comment#4:
 typo, the kernels should read fc21 instead of fc20

Comment 6 Martin Bříza 2013-12-10 14:41:45 UTC
It seems to be fine here too with 3.13.0-0.rc2.git6.1.fc21.x86_64. Even wifi works.

Comment 7 Josh Boyer 2013-12-10 14:54:24 UTC
Great.  Thanks for testing both of you.  I've notified upstream and the patch has been officially submitted.