[BZ] WARNING: CPU: 10 PID: 13871 at drivers/media/v4l2-core

Solution Verified - Updated -

Issue

  • WARNING by videodev driver appears intermittently.
## dmesg ##
[ 1398.405630] ------------[ cut here ]------------
[ 1398.405631] Unknown pixelformat 0x00000000
[ 1398.405659] WARNING: CPU: 10 PID: 13871 at drivers/media/v4l2-core/v4l2-ioctl.c:1297 v4l_fill_fmtdesc+0xe63/0x1210 [videodev]
[ 1398.405660] Modules linked in: ext4 mbcache jbd2 fuse ccm xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nft_objref nf_conntrack_tftp nf_log_ipv4 nf_log_common nft_limit nft_counter xt_LOG xt_limit nf_tables_set nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject tun nft_ct bridge stp llc nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nft_chain_route_ipv4 nf_conntrack ip6_tables ip_tables nft_compat ip_set nf_tables nfnetlink bnep sunrpc vfat fat iTCO_wdt arc4 mei_wdt iTCO_vendor_support intel_rapl intel_pmc_core sof_pci_dev snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof
[ 1398.405676]  snd_sof_xtensa_dsp snd_soc_skl x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp snd_hda_codec_hdmi kvm_intel snd_soc_sst_ipc iwlmvm snd_soc_acpi_intel_match snd_soc_acpi kvm mac80211 irqbypass snd_soc_core snd_hda_codec_generic crct10dif_pclmul crc32_pclmul snd_compress snd_hda_intel ghash_clmulni_intel snd_hda_codec intel_cstate intel_uncore intel_rapl_perf iwlwifi pcspkr snd_hda_core uvcvideo snd_hwdep btusb wmi_bmof intel_wmi_thunderbolt snd_seq videobuf2_vmalloc btrtl videobuf2_memops videobuf2_v4l2 btbcm videobuf2_common btintel snd_seq_device rtsx_pci_ms cfg80211 bluetooth i2c_i801 memstick videodev snd_pcm joydev thinkpad_acpi ecdh_generic mei_me snd_timer i2c_designware_platform ledtrig_audio processor_thermal_device i2c_designware_core
[ 1398.405690]  idma64 mei intel_soc_dts_iosf intel_pch_thermal snd soundcore rfkill int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel acpi_pad xfs libcrc32c mmc_block rtsx_pci_sdmmc mmc_core nouveau i915 mxm_wmi ttm intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm e1000e crc32c_intel serio_raw nvme rtsx_pci nvme_core wmi video pinctrl_cannonlake pinctrl_intel dm_mirror dm_region_hash dm_log dm_mod
[ 1398.405702] CPU: 10 PID: 13871 Comm: pipewire Kdump: loaded Not tainted 4.18.0-147.0.3.el8_1.x86_64 #1
[ 1398.405702] Hardware name: LENOVO 20QTCTO1WW/20QTCTO1WW, BIOS N2OET40W (1.27 ) 10/17/2019
[ 1398.405705] RIP: 0010:v4l_fill_fmtdesc+0xe63/0x1210 [videodev]
[ 1398.405706] Code: c6 7a 2f bb c0 e9 4f f2 ff ff 48 c7 c6 23 2b bb c0 3d 4d 54 32 31 0f 84 3d f2 ff ff 89 c6 48 c7 c7 da 37 bb c0 e8 87 2b 71 de <0f> 0b 80 7d 0c 00 0f 85 3e f2 ff ff 8b 45 2c 48 c7 c1 e8 2a bb c0
[ 1398.405706] RSP: 0018:ffffa49dc3a27cb8 EFLAGS: 00010286
[ 1398.405707] RAX: 0000000000000000 RBX: ffffa49dc3a27dc0 RCX: 0000000000000006
[ 1398.405707] RDX: 0000000000000007 RSI: 0000000000000096 RDI: ffff8fd41c496a00
[ 1398.405708] RBP: ffffa49dc3a27dc0 R08: 0000000000000536 R09: 0000000000000004
[ 1398.405708] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc0ce1900
[ 1398.405708] R13: ffff8fd32dbf5880 R14: 0000000000000000 R15: ffff8fd3f16b9300
[ 1398.405709] FS:  00007fcb14306b80(0000) GS:ffff8fd41c480000(0000) knlGS:0000000000000000
[ 1398.405709] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1398.405710] CR2: 000055ec9d9b7038 CR3: 00000007619c2006 CR4: 00000000003606e0
[ 1398.405710] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1398.405711] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1398.405711] Call Trace:
[ 1398.405715]  v4l_enum_fmt+0x82/0x140 [videodev]
[ 1398.405718]  __video_do_ioctl+0x139/0x300 [videodev]
[ 1398.405720]  ? filename_lookup.part.64+0xe0/0x170
[ 1398.405722]  video_usercopy+0x250/0x5e0 [videodev]
[ 1398.405724]  ? v4l_fill_fmtdesc+0x1210/0x1210 [videodev]
[ 1398.405726]  ? selinux_file_ioctl+0x161/0x200
[ 1398.405728]  v4l2_ioctl+0x41/0x50 [videodev]
[ 1398.405730]  do_vfs_ioctl+0xa4/0x630
[ 1398.405731]  ksys_ioctl+0x60/0x90
[ 1398.405732]  __x64_sys_ioctl+0x16/0x20
[ 1398.405733]  do_syscall_64+0x5b/0x1b0
[ 1398.405735]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[ 1398.405736] RIP: 0033:0x7fcb139cfb2b
[ 1398.405737] Code: 0f 1e fa 48 8b 05 5d a3 2c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2d a3 2c 00 f7 d8 64 89 01 48
[ 1398.405737] RSP: 002b:00007ffca8e2f7c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1398.405738] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcb139cfb2b
[ 1398.405738] RDX: 000055ec9d9942b4 RSI: ffffffffc0405602 RDI: 000000000000001e
[ 1398.405738] RBP: ffffffffc0405602 R08: 0000000000000000 R09: 0000000000000000
[ 1398.405739] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ec9d9942b4
[ 1398.405739] R13: 000000000000001e R14: 00007ffca8e306bc R15: 000055ec9d993de0
[ 1398.405740] ---[ end trace fc2f103d351dc6c6 ]---

Environment

  • Red Hat Enterprise Linux 8.1 ~ 8.2
  • ThinkPad P1 Gen 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content