From: Xose Vazquez Perez <xose.vazquez@gmail.com>
To: Stanislaw Gruszka <stf_xl@wp.pl>, linux-wireless@vger.kernel.org
Subject: [WARNING] memcpy: detected field-spanning write (size 1005) of single field "&out_cmd->cmd.payload" at drivers/net/wireless/intel/iwlegacy/common.c:3173 (size 320)
Date: Fri, 12 Apr 2024 19:48:39 +0200 [thread overview]
Message-ID: <2c534d01-449a-43f4-9216-eacdb3b35577@gmail.com> (raw)
Hi,
In Fedora kernel 6.8.5-301.fc40.x86_64, dmesg shows:
[ device: 03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4230] (rev 61) ]
Thanks.
[ 53.407607] ------------[ cut here ]------------
[ 53.407622] memcpy: detected field-spanning write (size 1005) of single field "&out_cmd->cmd.payload" at drivers/net/wireless/intel/iwlegacy/common.c:3173 (size 320)
[ 53.407721] WARNING: CPU: 1 PID: 1632 at drivers/net/wireless/intel/iwlegacy/common.c:3173 il_enqueue_hcmd+0x477/0x560 [iwlegacy]
[ 53.407804] Modules linked in: snd_hrtimer i915 snd_hda_codec_analog snd_hda_codec_generic iTCO_wdt intel_pmc_bxt iTCO_vendor_support iwl4965 btusb btrtl snd_hda_intel btintel snd_intel_dspcfg
btbcm snd_intel_sdw_acpi btmtk iwlegacy bluetooth snd_hda_codec drm_buddy mac80211 i2c_algo_bit coretemp i2c_i801 wmi_bmof ttm acpi_cpufreq i2c_smbus r592 libarc4 thinkpad_acpi memstick cfg80211
drm_display_helper snd_hda_core lpc_ich ses enclosure snd_seq_dummy snd_seq_oss scsi_transport_sas cec snd_seq_midi_event snd_pcm_oss snd_seq ledtrig_audio snd_hwdep snd_seq_device platform_profile
rfkill snd_pcm snd_timer snd_mixer_oss snd soundcore pktcdvd binfmt_misc loop nfnetlink zram sdhci_pci firewire_ohci cqhci firewire_core sdhci ata_generic sha512_ssse3 mmc_core video sha256_ssse3
e1000e sha1_ssse3 yenta_socket crc_itu_t wmi serio_raw pata_acpi uas usb_storage scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables fuse i2c_dev
[ 53.408052] CPU: 1 PID: 1632 Comm: wpa_supplicant Tainted: G U 6.8.5-301.fc40.x86_64 #1
[ 53.408063] Hardware name: LENOVO 7659AB7/7659AB7, BIOS 7LETC9WW (2.29 ) 03/18/2011
[ 53.408069] RIP: 0010:il_enqueue_hcmd+0x477/0x560 [iwlegacy]
[ 53.408132] Code: 01 00 00 4c 89 c6 48 c7 c2 78 58 ba c0 48 c7 c7 d0 58 ba c0 48 89 44 24 20 4c 89 44 24 18 c6 05 77 48 1f 00 01 e8 e9 8b 8c c7 <0f> 0b 48 8b 44 24 20 4c 8b 44 24 18 e9 f9 fc ff ff
48 8b 85 90 3f
[ 53.408140] RSP: 0018:ffffb4d841ddb668 EFLAGS: 00010082
[ 53.408150] RAX: 0000000000000000 RBX: ffff958a1794d000 RCX: 0000000000000027
[ 53.408157] RDX: ffff958b37d218c8 RSI: 0000000000000001 RDI: ffff958b37d218c0
[ 53.408162] RBP: ffff958b18e11fc0 R08: 0000000000000000 R09: ffffb4d841ddb4d8
[ 53.408168] R10: ffffffff8a516808 R11: 0000000000000003 R12: ffffb4d841ddb770
[ 53.408173] R13: 00000000000003f1 R14: ffff958b2f6ae960 R15: ffff958b2c7d9d00
[ 53.408179] FS: 00007ff1ddeec840(0000) GS:ffff958b37d00000(0000) knlGS:0000000000000000
[ 53.408186] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 53.408193] CR2: 00007ff1de15f730 CR3: 0000000136860000 CR4: 00000000000006f0
[ 53.408199] Call Trace:
[ 53.408207] <TASK>
[ 53.408212] ? il_enqueue_hcmd+0x477/0x560 [iwlegacy]
[ 53.408274] ? __warn+0x81/0x130
[ 53.408293] ? il_enqueue_hcmd+0x477/0x560 [iwlegacy]
[ 53.408356] ? report_bug+0x16f/0x1a0
[ 53.408371] ? handle_bug+0x3c/0x80
[ 53.408379] ? exc_invalid_op+0x17/0x70
[ 53.408388] ? asm_exc_invalid_op+0x1a/0x20
[ 53.408405] ? il_enqueue_hcmd+0x477/0x560 [iwlegacy]
[ 53.408466] ? il_enqueue_hcmd+0x477/0x560 [iwlegacy]
[ 53.408496] il_send_cmd_sync+0xf7/0x440 [iwlegacy]
[ 53.408551] ? il4965_request_scan+0x859/0xa00 [iwl4965]
[ 53.408551] il4965_request_scan+0x701/0xa00 [iwl4965]
[ 53.408551] il_mac_hw_scan+0x201/0x340 [iwlegacy]
[ 53.408551] drv_hw_scan+0x9f/0x150 [mac80211]
[ 53.408551] __ieee80211_start_scan+0x296/0x750 [mac80211]
[ 53.408551] rdev_scan+0x25/0xd0 [cfg80211]
[ 53.408551] nl80211_trigger_scan+0x3b4/0x7b0 [cfg80211]
[ 53.408551] genl_family_rcv_msg_doit+0xef/0x150
[ 53.408551] genl_rcv_msg+0x1b7/0x2c0
[ 53.408551] ? __pfx_nl80211_pre_doit+0x10/0x10 [cfg80211]
[ 53.408551] ? __pfx_nl80211_trigger_scan+0x10/0x10 [cfg80211]
[ 53.408551] ? __pfx_nl80211_post_doit+0x10/0x10 [cfg80211]
[ 53.408551] ? __pfx_genl_rcv_msg+0x10/0x10
[ 53.408551] netlink_rcv_skb+0x50/0x100
[ 53.408551] genl_rcv+0x28/0x40
[ 53.408551] netlink_unicast+0x249/0x370
[ 53.408551] netlink_sendmsg+0x21c/0x480
[ 53.408551] ____sys_sendmsg+0x39f/0x3d0
[ 53.408551] ___sys_sendmsg+0x9a/0xe0
[ 53.408551] __sys_sendmsg+0xcc/0x100
[ 53.408551] do_syscall_64+0x83/0x170
[ 53.408551] ? __sys_setsockopt+0xb2/0xe0
[ 53.408551] ? syscall_exit_to_user_mode+0x80/0x230
[ 53.408551] ? do_syscall_64+0x8f/0x170
[ 53.408551] ? do_user_addr_fault+0x304/0x670
[ 53.408551] ? exc_page_fault+0x7f/0x180
[ 53.408551] entry_SYSCALL_64_after_hwframe+0x78/0x80
[ 53.408551] RIP: 0033:0x7ff1dd92d6a4
[ 53.408551] Code: 15 79 87 0c 00 f7 d8 64 89 02 b8 ff ff ff ff eb bf 0f 1f 44 00 00 f3 0f 1e fa 80 3d a5 09 0d 00 00 74 13 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 4c c3 0f 1f 00 55 48 89 e5 48
83 ec 20 89 55
[ 53.408551] RSP: 002b:00007ffe8bf867e8 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
[ 53.408551] RAX: ffffffffffffffda RBX: 0000555e2541efa0 RCX: 00007ff1dd92d6a4
[ 53.408551] RDX: 0000000000000000 RSI: 00007ffe8bf86820 RDI: 0000000000000006
[ 53.408551] RBP: 00007ffe8bf86810 R08: 0000000000000004 R09: 0000000000000001
[ 53.408551] R10: 00007ffe8bf86920 R11: 0000000000000202 R12: 0000555e254910d0
[ 53.408551] R13: 0000555e2541eeb0 R14: 00007ffe8bf86820 R15: 0000000000000000
[ 53.408551] </TASK>
[ 53.408551] ---[ end trace 0000000000000000 ]---
next reply other threads:[~2024-04-12 17:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 17:48 Xose Vazquez Perez [this message]
2024-05-18 9:29 ` [WARNING] memcpy: detected field-spanning write (size 1005) of single field "&out_cmd->cmd.payload" at drivers/net/wireless/intel/iwlegacy/common.c:3173 (size 320) Stanislaw Gruszka
2024-05-18 17:48 ` Kees Cook
2024-05-20 7:32 ` Stanislaw Gruszka
2024-05-20 11:45 ` Johannes Berg
2024-05-20 15:08 ` Stanislaw Gruszka
2024-05-20 15:10 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c534d01-449a-43f4-9216-eacdb3b35577@gmail.com \
--to=xose.vazquez@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=stf_xl@wp.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.