Bug 213117 - Attempted to advance past end of bvec iter
Summary: Attempted to advance past end of bvec iter
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: other_other
URL: https://github.com/openzfs/zfs/issues...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 20:50 UTC by Stefan de Konink
Modified: 2021-05-31 21:44 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Stefan de Konink 2021-05-17 20:50:42 UTC
Since kernel 5.12.x I have the following issue. I see other things in this branch too regarding amdgpu, but I do know if they are related. Sometimes this happens three minutes after boot, but as shown here, it happens much later. I have also no clue how to reproduce it.

[ 9889.194856] ------------[ cut here ]------------
[ 9889.194862] Attempted to advance past end of bvec iter
[ 9889.194870] WARNING: CPU: 1 PID: 175377 at include/linux/bvec.h:105 iov_iter_advance+0x3a1/0x3b0
[ 9889.194881] Modules linked in: ctr ccm rfcomm cmac bnep joydev ath10k_pci ath10k_core ath zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) btusb btrtl btbcm btintel uvcvideo videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_v4l2 videodev kvm_amd ecdh_generic videobuf2_common ecc zcommon(PO) wmi_bmof znvpair(PO) kvm amdgpu irqbypass spl(O) zlib_deflate drm_ttm_helper zlib_inflate ttm snd_hda_codec_hdmi aesni_intel snd_hda_codec_conexant snd_hda_codec_generic mfd_core crypto_simd cryptd mac80211 gpu_sched snd_hda_intel psmouse i2c_algo_bit snd_intel_dspcfg evdev sdhci_pci snd_hda_codec drm_kms_helper iosf_mbi syscopyarea snd_hda_core cqhci sysfillrect sysimgblt sdhci fb_sys_fops i2c_piix4 cfg80211 r8169 snd_pcm ccp cec snd_timer libarc4 sha1_generic mmc_core realtek mdio_devres thinkpad_acpi libphy nvram ledtrig_audio platform_profile wmi snd soundcore wireguard rfkill ip6_udp_tunnel battery ac udp_tunnel video i2c_scmi button sch_fq_codel drm backlight fuse i2c_core configfs
[ 9889.195004]  efivarfs
[ 9889.195010] CPU: 1 PID: 175377 Comm: ThreadPoolForeg Tainted: P           O      5.12.4 #1
[ 9889.195015] Hardware name: LENOVO 20KU000NMH/20KU000NMH, BIOS R0UET78W (1.58 ) 11/17/2020
[ 9889.195017] RIP: 0010:iov_iter_advance+0x3a1/0x3b0
[ 9889.195023] Code: 8a fe ff ff 4d 89 e1 45 31 d2 e9 42 ff ff ff 49 89 f2 e9 70 ff ff ff 48 c7 c7 40 9c e9 81 c6 05 f3 b1 db 00 01 e8 d0 b7 38 00 <0f> 0b 4c 8b 4b 18 eb b6 0f 1f 80 00 00 00 00 41 57 41 56 41 55 41
[ 9889.195027] RSP: 0018:ffffc900062b3c20 EFLAGS: 00010282
[ 9889.195033] RAX: 0000000000000000 RBX: ffffc900062b3d78 RCX: 0000000000000027
[ 9889.195036] RDX: ffff88844ee52d88 RSI: 0000000000000001 RDI: ffff88844ee52d80
[ 9889.195043] RBP: 0000000000000000 R08: ffffffff8206b948 R09: 00000000fffff7ff
[ 9889.195045] R10: ffffffff82033960 R11: ffffffff82033960 R12: ffff8881b90ee700
[ 9889.195052] R13: ffffc900062b3cd0 R14: ffffc900062b3d78 R15: 0000000000000000
[ 9889.195055] FS:  00007f8f0aa98640(0000) GS:ffff88844ee40000(0000) knlGS:0000000000000000
[ 9889.195058] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9889.195061] CR2: 000015980042c310 CR3: 0000000334ef6000 CR4: 00000000003506e0
[ 9889.195064] Call Trace:
[ 9889.195075]  zio_do_crypt_abd+0x1b13/0x2b60 [zfs]
[ 9889.195120]  do_iter_readv_writev+0x14f/0x1b0
[ 9889.195128]  do_iter_write+0x7c/0x1b0
[ 9889.195132]  iter_file_splice_write+0x28b/0x410
[ 9889.195141]  direct_splice_actor+0x2c/0x40
[ 9889.195146]  splice_direct_to_actor+0xeb/0x210
[ 9889.195149]  ? pipe_to_sendpage+0xa0/0xa0
[ 9889.195154]  do_splice_direct+0x8b/0xd0
[ 9889.195160]  do_sendfile+0x30e/0x450
[ 9889.195165]  do_syscall_64+0x33/0x40
[ 9889.195172]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 9889.195177] RIP: 0033:0x7f8f1d79069a
[ 9889.195181] Code: 4c 89 d2 4c 89 c6 e9 c5 fd ff ff 0f 1f 44 00 00 31 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 49 89 ca b8 28 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 9e 77 0c 00 f7 d8 64 89 01 48
[ 9889.195184] RSP: 002b:00007f8f0aa96358 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
[ 9889.195188] RAX: ffffffffffffffda RBX: 000000000000138d RCX: 00007f8f1d79069a
[ 9889.195191] RDX: 0000000000000000 RSI: 0000000000000122 RDI: 0000000000000131
[ 9889.195193] RBP: 00007f8f0aa963a0 R08: 00001598010dc003 R09: 0000000000000001
[ 9889.195209] R10: 000000000000138d R11: 0000000000000246 R12: 00007f8f0aa96670
[ 9889.195212] R13: 00007f8f0aa966b0 R14: 0000000000000000 R15: 0000000000000122
[ 9889.195216] ---[ end trace 22e52faf7799e2b0 ]---

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