Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
128
Star
73
Fork
330
src-openEuler
/
kernel
Closed
Code
Issues
1197
Pull Requests
35
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2021-47065
Done
#I94VOU
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2024-03-01 07:49
一、漏洞信息 漏洞编号:[CVE-2021-47065](https://nvd.nist.gov/vuln/detail/CVE-2021-47065) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.0,6.1.14,6.1.19,6.1.5,6.1.6,6.1.8,6.4.0 CVSS V2.0分值: BaseScore:0.0 Low Vector:CVSS:2.0/ 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:rtw88: Fix array overrun in rtw_get_tx_power_params()Using a kernel with the Undefined Behaviour Sanity Checker (UBSAN) enabled, thefollowing array overrun is logged:================================================================================UBSAN: array-index-out-of-bounds in /home/finger/wireless-drivers-next/drivers/net/wireless/realtek/rtw88/phy.c:1789:34index 5 is out of range for type u8 [5] CPU: 2 PID: 84 Comm: kworker/u16:3 Tainted: G O 5.12.0-rc5-00086-gd88bba47038e-dirty #651Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4.50 09/29/2014Workqueue: phy0 ieee80211_scan_work [mac80211]Call Trace: dump_stack+0x64/0x7c ubsan_epilogue+0x5/0x40 __ubsan_handle_out_of_bounds.cold+0x43/0x48 rtw_get_tx_power_params+0x83a/drivers/net/wireless/realtek/rtw88/0xad0 [rtw_core] ? rtw_pci_read16+0x20/0x20 [rtw_pci] ? check_hw_ready+0x50/0x90 [rtw_core] rtw_phy_get_tx_power_index+0x4d/0xd0 [rtw_core] rtw_phy_set_tx_power_level+0xee/0x1b0 [rtw_core] rtw_set_channel+0xab/0x110 [rtw_core] rtw_ops_config+0x87/0xc0 [rtw_core] ieee80211_hw_config+0x9d/0x130 [mac80211] ieee80211_scan_state_set_channel+0x81/0x170 [mac80211] ieee80211_scan_work+0x19f/0x2a0 [mac80211] process_one_work+0x1dd/0x3a0 worker_thread+0x49/0x330 ? rescuer_thread+0x3a0/0x3a0 kthread+0x134/0x150 ? kthread_create_worker_on_cpu+0x70/0x70 ret_from_fork+0x22/0x30================================================================================The statement where an array is being overrun is shown in the following snippet: if (rate <= DESC_RATE11M) tx_power = pwr_idx_2g->cck_base[group]; else====> tx_power = pwr_idx_2g->bw40_base[group];The associated arrays are defined in main.h as follows:struct rtw_2g_txpwr_idx { u8 cck_base[6]; u8 bw40_base[5]; struct rtw_2g_1s_pwr_idx_diff ht_1s_diff; struct rtw_2g_ns_pwr_idx_diff ht_2s_diff; struct rtw_2g_ns_pwr_idx_diff ht_3s_diff; struct rtw_2g_ns_pwr_idx_diff ht_4s_diff;};The problem arises because the value of group is 5 for channel 14. The trivialincrease in the dimension of bw40_base fails as this struct must match the layout ofefuse. The fix is to add the rate as an argument to rtw_get_channel_group() and setthe group for channel 14 to 4 if rate <= DESC_RATE11M.This patch fixes commit fa6dfe6bff24 ( rtw88: resolve order of tx power setting routines ) 漏洞公开时间:2024-03-01 07:15:08 漏洞创建时间:2024-03-01 07:49:05 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-47065 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/5f3dbced8eaa5c9ed7d6943f3fea99f235a6516a | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/6b5aa0cf321c25f41e09a61c83ee4dc7ab9549cb | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/95fb153c6027924cda3422120169d1890737f3a0 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/9cd09722e18a08b6a3d68b8bccfac39ddc22434c | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47065 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2021-47065 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/5f3dbced8eaa5c9ed7d6943f3fea99f235a6516a | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/6b5aa0cf321c25f41e09a61c83ee4dc7ab9549cb | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/95fb153c6027924cda3422120169d1890737f3a0 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/9cd09722e18a08b6a3d68b8bccfac39ddc22434c | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2267165 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2024022954-CVE-2021-47065-be1d@gregkh/T/#u | https://bugzilla.redhat.com/show_bug.cgi?id=2267165 | | ubuntu | https://git.kernel.org/linus/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e (5.13-rc1) | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://www.cve.org/CVERecord?id=CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | cve_search | | https://git.kernel.org/stable/c/6b5aa0cf321c25f41e09a61c83ee4dc7ab9549cb | | cve_search | | https://git.kernel.org/stable/c/95fb153c6027924cda3422120169d1890737f3a0 | | cve_search | | https://git.kernel.org/stable/c/5f3dbced8eaa5c9ed7d6943f3fea99f235a6516a | | cve_search | | https://git.kernel.org/stable/c/9cd09722e18a08b6a3d68b8bccfac39ddc22434c | | cve_search | | https://git.kernel.org/stable/c/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | | ubuntu | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | linux | | https://git.kernel.org/linus/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | https://git.kernel.org/linus/fa6dfe6bff246ddd5be3cfe81637f137acd6c294 | ubuntu | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:rtw88: Fix array overrun in rtw_get_tx_power_params()Using a kernel with the Undefined Behaviour Sanity Checker (UBSAN) enabled, thefollowing array overrun is logged:================================================================================UBSAN: array-index-out-of-bounds in /home/finger/wireless-drivers-next/drivers/net/wireless/realtek/rtw88/phy.c:1789:34index 5 is out of range for type u8 [5] CPU: 2 PID: 84 Comm: kworker/u16:3 Tainted: G O 5.12.0-rc5-00086-gd88bba47038e-dirty #651Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4.50 09/29/2014Workqueue: phy0 ieee80211_scan_work [mac80211]Call Trace:dump_stack+0x64/0x7cubsan_epilogue+0x5/0x40__ubsan_handle_out_of_bounds.cold+0x43/0x48rtw_get_tx_power_params+0x83a/drivers/net/wireless/realtek/rtw88/0xad0 [rtw_core]? rtw_pci_read16+0x20/0x20 [rtw_pci]? check_hw_ready+0x50/0x90 [rtw_core]rtw_phy_get_tx_power_index+0x4d/0xd0 [rtw_core]rtw_phy_set_tx_power_level+0xee/0x1b0 [rtw_core]rtw_set_channel+0xab/0x110 [rtw_core]rtw_ops_config+0x87/0xc0 [rtw_core]ieee80211_hw_config+0x9d/0x130 [mac80211]ieee80211_scan_state_set_channel+0x81/0x170 [mac80211]ieee80211_scan_work+0x19f/0x2a0 [mac80211]process_one_work+0x1dd/0x3a0worker_thread+0x49/0x330? rescuer_thread+0x3a0/0x3a0kthread+0x134/0x150? kthread_create_worker_on_cpu+0x70/0x70ret_from_fork+0x22/0x30The statement where an array is being overrun is shown in the following snippet:if (rate <= DESC_RATE11M)tx_power = pwr_idx_2g->cck_base[group];else====> tx_power = pwr_idx_2g->bw40_base[group];The associated arrays are defined in main.h as follows:struct rtw_2g_txpwr_idx {u8 cck_base[6];u8 bw40_base[5];struct rtw_2g_1s_pwr_idx_diff ht_1s_diff;struct rtw_2g_ns_pwr_idx_diff ht_2s_diff;struct rtw_2g_ns_pwr_idx_diff ht_3s_diff;struct rtw_2g_ns_pwr_idx_diff ht_4s_diff;};The problem arises because the value of group is 5 for channel 14. The trivialincrease in the dimension of bw40_base fails as this struct must match the layout ofefuse. The fix is to add the rate as an argument to rtw_get_channel_group() and setthe group for channel 14 to 4 if rate <= DESC_RATE11M.This patch fixes commit fa6dfe6bff24 ( rtw88: resolve order of tx power setting routines ) openEuler评分: 6.3 Vector:CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1(4.19.90):不受影响 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响 3.openEuler-22.03-LTS(5.10.0):不受影响 4.openEuler-22.03-LTS-SP1(5.10.0):不受影响 5.openEuler-22.03-LTS-SP2(5.10.0):不受影响 6.openEuler-22.03-LTS-SP3(5.10.0):不受影响 7.master(6.1.0):不受影响 8.openEuler-22.03-LTS-Next(5.10.0):不受影响 9.openEuler-24.03-LTS:不受影响 10.openEuler-24.03-LTS-Next:不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1(4.19.90):否 2.openEuler-20.03-LTS-SP4(4.19.90):否 3.openEuler-22.03-LTS(5.10.0):否 4.openEuler-22.03-LTS-SP1(5.10.0):否 5.openEuler-22.03-LTS-SP2(5.10.0):否 6.openEuler-22.03-LTS-SP3(5.10.0):否 7.master(6.1.0):否 8.openEuler-22.03-LTS-Next(5.10.0):否 9.openEuler-24.03-LTS:否 10.openEuler-24.03-LTS-Next:否
一、漏洞信息 漏洞编号:[CVE-2021-47065](https://nvd.nist.gov/vuln/detail/CVE-2021-47065) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.0,6.1.14,6.1.19,6.1.5,6.1.6,6.1.8,6.4.0 CVSS V2.0分值: BaseScore:0.0 Low Vector:CVSS:2.0/ 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:rtw88: Fix array overrun in rtw_get_tx_power_params()Using a kernel with the Undefined Behaviour Sanity Checker (UBSAN) enabled, thefollowing array overrun is logged:================================================================================UBSAN: array-index-out-of-bounds in /home/finger/wireless-drivers-next/drivers/net/wireless/realtek/rtw88/phy.c:1789:34index 5 is out of range for type u8 [5] CPU: 2 PID: 84 Comm: kworker/u16:3 Tainted: G O 5.12.0-rc5-00086-gd88bba47038e-dirty #651Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4.50 09/29/2014Workqueue: phy0 ieee80211_scan_work [mac80211]Call Trace: dump_stack+0x64/0x7c ubsan_epilogue+0x5/0x40 __ubsan_handle_out_of_bounds.cold+0x43/0x48 rtw_get_tx_power_params+0x83a/drivers/net/wireless/realtek/rtw88/0xad0 [rtw_core] ? rtw_pci_read16+0x20/0x20 [rtw_pci] ? check_hw_ready+0x50/0x90 [rtw_core] rtw_phy_get_tx_power_index+0x4d/0xd0 [rtw_core] rtw_phy_set_tx_power_level+0xee/0x1b0 [rtw_core] rtw_set_channel+0xab/0x110 [rtw_core] rtw_ops_config+0x87/0xc0 [rtw_core] ieee80211_hw_config+0x9d/0x130 [mac80211] ieee80211_scan_state_set_channel+0x81/0x170 [mac80211] ieee80211_scan_work+0x19f/0x2a0 [mac80211] process_one_work+0x1dd/0x3a0 worker_thread+0x49/0x330 ? rescuer_thread+0x3a0/0x3a0 kthread+0x134/0x150 ? kthread_create_worker_on_cpu+0x70/0x70 ret_from_fork+0x22/0x30================================================================================The statement where an array is being overrun is shown in the following snippet: if (rate <= DESC_RATE11M) tx_power = pwr_idx_2g->cck_base[group]; else====> tx_power = pwr_idx_2g->bw40_base[group];The associated arrays are defined in main.h as follows:struct rtw_2g_txpwr_idx { u8 cck_base[6]; u8 bw40_base[5]; struct rtw_2g_1s_pwr_idx_diff ht_1s_diff; struct rtw_2g_ns_pwr_idx_diff ht_2s_diff; struct rtw_2g_ns_pwr_idx_diff ht_3s_diff; struct rtw_2g_ns_pwr_idx_diff ht_4s_diff;};The problem arises because the value of group is 5 for channel 14. The trivialincrease in the dimension of bw40_base fails as this struct must match the layout ofefuse. The fix is to add the rate as an argument to rtw_get_channel_group() and setthe group for channel 14 to 4 if rate <= DESC_RATE11M.This patch fixes commit fa6dfe6bff24 ( rtw88: resolve order of tx power setting routines ) 漏洞公开时间:2024-03-01 07:15:08 漏洞创建时间:2024-03-01 07:49:05 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2021-47065 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/5f3dbced8eaa5c9ed7d6943f3fea99f235a6516a | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/6b5aa0cf321c25f41e09a61c83ee4dc7ab9549cb | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/95fb153c6027924cda3422120169d1890737f3a0 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/9cd09722e18a08b6a3d68b8bccfac39ddc22434c | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47065 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2021-47065 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/5f3dbced8eaa5c9ed7d6943f3fea99f235a6516a | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/6b5aa0cf321c25f41e09a61c83ee4dc7ab9549cb | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/95fb153c6027924cda3422120169d1890737f3a0 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://git.kernel.org/stable/c/9cd09722e18a08b6a3d68b8bccfac39ddc22434c | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2267165 | https://bugzilla.suse.com/show_bug.cgi?id=1220749 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2024022954-CVE-2021-47065-be1d@gregkh/T/#u | https://bugzilla.redhat.com/show_bug.cgi?id=2267165 | | ubuntu | https://git.kernel.org/linus/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e (5.13-rc1) | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://www.cve.org/CVERecord?id=CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://nvd.nist.gov/vuln/detail/CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://launchpad.net/bugs/cve/CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | ubuntu | https://security-tracker.debian.org/tracker/CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | | cve_search | | https://git.kernel.org/stable/c/6b5aa0cf321c25f41e09a61c83ee4dc7ab9549cb | | cve_search | | https://git.kernel.org/stable/c/95fb153c6027924cda3422120169d1890737f3a0 | | cve_search | | https://git.kernel.org/stable/c/5f3dbced8eaa5c9ed7d6943f3fea99f235a6516a | | cve_search | | https://git.kernel.org/stable/c/9cd09722e18a08b6a3d68b8bccfac39ddc22434c | | cve_search | | https://git.kernel.org/stable/c/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | | ubuntu | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47065 | https://ubuntu.com/security/CVE-2021-47065 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | linux | | https://git.kernel.org/linus/2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e | https://git.kernel.org/linus/fa6dfe6bff246ddd5be3cfe81637f137acd6c294 | ubuntu | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:rtw88: Fix array overrun in rtw_get_tx_power_params()Using a kernel with the Undefined Behaviour Sanity Checker (UBSAN) enabled, thefollowing array overrun is logged:================================================================================UBSAN: array-index-out-of-bounds in /home/finger/wireless-drivers-next/drivers/net/wireless/realtek/rtw88/phy.c:1789:34index 5 is out of range for type u8 [5] CPU: 2 PID: 84 Comm: kworker/u16:3 Tainted: G O 5.12.0-rc5-00086-gd88bba47038e-dirty #651Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4.50 09/29/2014Workqueue: phy0 ieee80211_scan_work [mac80211]Call Trace:dump_stack+0x64/0x7cubsan_epilogue+0x5/0x40__ubsan_handle_out_of_bounds.cold+0x43/0x48rtw_get_tx_power_params+0x83a/drivers/net/wireless/realtek/rtw88/0xad0 [rtw_core]? rtw_pci_read16+0x20/0x20 [rtw_pci]? check_hw_ready+0x50/0x90 [rtw_core]rtw_phy_get_tx_power_index+0x4d/0xd0 [rtw_core]rtw_phy_set_tx_power_level+0xee/0x1b0 [rtw_core]rtw_set_channel+0xab/0x110 [rtw_core]rtw_ops_config+0x87/0xc0 [rtw_core]ieee80211_hw_config+0x9d/0x130 [mac80211]ieee80211_scan_state_set_channel+0x81/0x170 [mac80211]ieee80211_scan_work+0x19f/0x2a0 [mac80211]process_one_work+0x1dd/0x3a0worker_thread+0x49/0x330? rescuer_thread+0x3a0/0x3a0kthread+0x134/0x150? kthread_create_worker_on_cpu+0x70/0x70ret_from_fork+0x22/0x30The statement where an array is being overrun is shown in the following snippet:if (rate <= DESC_RATE11M)tx_power = pwr_idx_2g->cck_base[group];else====> tx_power = pwr_idx_2g->bw40_base[group];The associated arrays are defined in main.h as follows:struct rtw_2g_txpwr_idx {u8 cck_base[6];u8 bw40_base[5];struct rtw_2g_1s_pwr_idx_diff ht_1s_diff;struct rtw_2g_ns_pwr_idx_diff ht_2s_diff;struct rtw_2g_ns_pwr_idx_diff ht_3s_diff;struct rtw_2g_ns_pwr_idx_diff ht_4s_diff;};The problem arises because the value of group is 5 for channel 14. The trivialincrease in the dimension of bw40_base fails as this struct must match the layout ofefuse. The fix is to add the rate as an argument to rtw_get_channel_group() and setthe group for channel 14 to 4 if rate <= DESC_RATE11M.This patch fixes commit fa6dfe6bff24 ( rtw88: resolve order of tx power setting routines ) openEuler评分: 6.3 Vector:CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1(4.19.90):不受影响 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响 3.openEuler-22.03-LTS(5.10.0):不受影响 4.openEuler-22.03-LTS-SP1(5.10.0):不受影响 5.openEuler-22.03-LTS-SP2(5.10.0):不受影响 6.openEuler-22.03-LTS-SP3(5.10.0):不受影响 7.master(6.1.0):不受影响 8.openEuler-22.03-LTS-Next(5.10.0):不受影响 9.openEuler-24.03-LTS:不受影响 10.openEuler-24.03-LTS-Next:不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1(4.19.90):否 2.openEuler-20.03-LTS-SP4(4.19.90):否 3.openEuler-22.03-LTS(5.10.0):否 4.openEuler-22.03-LTS-SP1(5.10.0):否 5.openEuler-22.03-LTS-SP2(5.10.0):否 6.openEuler-22.03-LTS-SP3(5.10.0):否 7.master(6.1.0):否 8.openEuler-22.03-LTS-Next(5.10.0):否 9.openEuler-24.03-LTS:否 10.openEuler-24.03-LTS-Next:否
Comments (
6
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
CTC-Xibo.Wang
CTC-XiboWang
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/UNAFFECTED
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(3)
1
https://gitee.com/src-openeuler/kernel.git
git@gitee.com:src-openeuler/kernel.git
src-openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register