lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210113082006.GH7528@xsang-OptiPlex-9020>
Date:   Wed, 13 Jan 2021 16:20:06 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Felix Fietkau <nbd@....name>
Cc:     0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
        lkp@...ts.01.org, linux-wireless@...r.kernel.org,
        johannes@...solutions.net
Subject: [mac80211]  46ec32f234:
 WARNING:at_net/mac80211/rate.c:#ieee80211_get_tx_rates[mac80211]


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 46ec32f234bcfd153017f844322f9cc8915c0e07 ("[PATCH v2 7/8] mac80211: minstrel_ht: fix max probability rate selection")
url: https://github.com/0day-ci/linux/commits/Felix-Fietkau/mac80211-minstrel_ht-clean-up-CCK-code/20210103-195626
base: https://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-next.git master

in testcase: hwsim
version: hwsim-x86_64-537ab94-1_20210101
with following parameters:

	test: group-15
	ucode: 0xe2



on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>

kern  :warn  : [   97.800320] ------------[ cut here ]------------
kern  :warn  : [   97.804994] WARNING: CPU: 3 PID: 4432 at net/mac80211/rate.c:671 ieee80211_get_tx_rates+0x563/0x580 [mac80211]
kern  :warn  : [   97.815036] Modules linked in: cmac ccm mac80211_hwsim mac80211 cfg80211 rfkill libarc4 xfs libcrc32c ipmi_devintf ipmi_msghandler sd_mod t10_pi sg intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ahci kvm irqbypass crct10dif_pclmul i915 crc32_pclmul dell_wmi crc32c_intel dell_smbios mei_wdt ghash_clmulni_intel intel_gtt rapl libahci sparse_keymap dell_wmi_descriptor intel_cstate drm_kms_helper wmi_bmof dcdbas syscopyarea sysfillrect sysimgblt fb_sys_fops intel_uncore libata drm mei_me mei intel_pch_thermal wmi video intel_pmc_core acpi_pad ip_tables
kern  :warn  : [   97.867675] CPU: 3 PID: 4432 Comm: hostapd Tainted: G          I       5.10.0-rc7-02210-g46ec32f234bc #1
kern  :warn  : [   97.877191] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1 10/07/2015
kern  :warn  : [   97.884647] RIP: 0010:ieee80211_get_tx_rates+0x563/0x580 [mac80211]
kern  :warn  : [   97.890953] Code: 8b 54 24 10 48 8b 5c 24 18 e9 0d fc ff ff bf 01 00 00 00 e9 6f fd ff ff 0f 0b c6 00 ff 39 f5 0f 8f 48 fd ff ff e9 89 fd ff ff <0f> 0b e9 fa fd ff ff e8 f1 f8 08 c1 66 66 2e 0f 1f 84 00 00 00 00
kern  :warn  : [   97.909796] RSP: 0018:ffffc900007fb9d8 EFLAGS: 00010216
kern  :warn  : [   97.915041] RAX: ffff888866572f36 RBX: ffff888866572f00 RCX: 0000000000000008
kern  :warn  : [   97.922222] RDX: 00000000000007f9 RSI: 0000000000000003 RDI: 0000000000000002
kern  :warn  : [   97.929387] RBP: 0000000000000004 R08: 0000000000000051 R09: 0000000000000027
kern  :warn  : [   97.936677] R10: ffff88885e6a5900 R11: ffffc900007fba00 R12: ffff888866572f30
kern  :warn  : [   97.943838] R13: ffff88885f1e7548 R14: ffff88885eb1282e R15: ffff88885f1f9f08
kern  :warn  : [   97.951000] FS:  00007fc70c63eb80(0000) GS:ffff888871d80000(0000) knlGS:0000000000000000
kern  :warn  : [   97.959124] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [   97.964892] CR2: 00007f09149c6000 CR3: 000000085e960006 CR4: 00000000003706e0
kern  :warn  : [   97.972053] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern  :warn  : [   97.979223] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kern  :warn  : [   97.986388] Call Trace:
kern  :warn  : [   97.988869]  ? rate_control_get_rate+0x130/0x140 [mac80211]
kern  :warn  : [   97.994481]  ieee80211_tx_h_rate_ctrl+0x1a8/0x400 [mac80211]
kern  :warn  : [   98.000310]  invoke_tx_handlers_early+0x1e7/0x600 [mac80211]
kern  :warn  : [   98.006028]  ieee80211_tx+0x86/0x140 [mac80211]
kern  :warn  : [   98.010593]  __ieee80211_subif_start_xmit+0x1d6/0x300 [mac80211]
kern  :warn  : [   98.016661]  ieee80211_subif_start_xmit+0x48/0x300 [mac80211]
kern  :warn  : [   98.022454]  dev_hard_start_xmit+0xc8/0x200
kern  :warn  : [   98.026654]  sch_direct_xmit+0x11a/0x340
kern  :warn  : [   98.030593]  __dev_queue_xmit+0x5c2/0x960
kern  :warn  : [   98.034620]  ? packet_parse_headers+0xd7/0x120
kern  :warn  : [   98.039692]  packet_snd+0x42e/0xa00
kern  :warn  : [   98.043217]  sock_sendmsg+0x5e/0x60
kern  :warn  : [   98.046722]  __sys_sendto+0xee/0x160
kern  :warn  : [   98.050313]  ? vfs_write+0x189/0x2e0
kern  :warn  : [   98.053904]  ? vfs_write+0x189/0x2e0
kern  :warn  : [   98.057494]  __x64_sys_sendto+0x25/0x40
kern  :warn  : [   98.061347]  do_syscall_64+0x33/0x40
kern  :warn  : [   98.064939]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
kern  :warn  : [   98.070011] RIP: 0033:0x7fc70c75d85d
kern  :warn  : [   98.073603] Code: ff ff ff ff eb b6 0f 1f 80 00 00 00 00 48 8d 05 a9 5e 0c 00 41 89 ca 8b 00 85 c0 75 20 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 6b c3 66 2e 0f 1f 84 00 00 00 00 00 41 56 41
kern  :warn  : [   98.092447] RSP: 002b:00007ffca58e3748 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
kern  :warn  : [   98.100046] RAX: ffffffffffffffda RBX: 0000564579e50cd0 RCX: 00007fc70c75d85d
kern  :warn  : [   98.107223] RDX: 00000000000005dc RSI: 00007ffca58e37c2 RDI: 000000000000001b
kern  :warn  : [   98.114402] RBP: 0000000000000800 R08: 0000000000000000 R09: 0000000000000000
kern  :warn  : [   98.121567] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffca58e37c2
kern  :warn  : [   98.128730] R13: 00000000000005dc R14: 00007ffca58e37ac R15: 000056457a87f9d0
kern  :warn  : [   98.135895] ---[ end trace 4509400d09ee80de ]---



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc7-02210-g46ec32f234bc" of type "text/plain" (171102 bytes)

View attachment "job-script" of type "text/plain" (5527 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (131280 bytes)

View attachment "hwsim" of type "text/plain" (44753 bytes)

View attachment "job.yaml" of type "text/plain" (4565 bytes)

View attachment "reproduce" of type "text/plain" (4044 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ