wifi: wilc1000: fix RCU usage in connect path
Summary
| CVE | CVE-2024-27053 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-05-01 13:15:50 UTC |
| Updated | 2026-05-12 12:16:31 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: fix RCU usage in connect path With lockdep enabled, calls to the connect function from cfg802.11 layer lead to the following warning: ============================= WARNING: suspicious RCU usage 6.7.0-rc1-wt+ #333 Not tainted ----------------------------- drivers/net/wireless/microchip/wilc1000/hif.c:386 suspicious rcu_dereference_check() usage! [...] stack backtrace: CPU: 0 PID: 100 Comm: wpa_supplicant Not tainted 6.7.0-rc1-wt+ #333 Hardware name: Atmel SAMA5 unwind_backtrace from show_stack+0x18/0x1c show_stack from dump_stack_lvl+0x34/0x48 dump_stack_lvl from wilc_parse_join_bss_param+0x7dc/0x7f4 wilc_parse_join_bss_param from connect+0x2c4/0x648 connect from cfg80211_connect+0x30c/0xb74 cfg80211_connect from nl80211_connect+0x860/0xa94 nl80211_connect from genl_rcv_msg+0x3fc/0x59c genl_rcv_msg from netlink_rcv_skb+0xd0/0x1f8 netlink_rcv_skb from genl_rcv+0x2c/0x3c genl_rcv from netlink_unicast+0x3b0/0x550 netlink_unicast from netlink_sendmsg+0x368/0x688 netlink_sendmsg from ____sys_sendmsg+0x190/0x430 ____sys_sendmsg from ___sys_sendmsg+0x110/0x158 ___sys_sendmsg from sys_sendmsg+0xe8/0x150 sys_sendmsg from ret_fast_syscall+0x0/0x1c This warning is emitted because in the connect path, when trying to parse target BSS parameters, we dereference a RCU pointer whithout being in RCU critical section. Fix RCU dereference usage by moving it to a RCU read critical section. To avoid wrapping the whole wilc_parse_join_bss_param under the critical section, just use the critical section to copy ies data |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Problem Types: CWE-476 | CWE-476 CWE-476 NULL Pointer Dereference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac e556006de4ea93abe2b46cba202a2556c544b8b2 git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac b4bbf38c350acb6500cbe667b1e2e68f896e4b38 git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2 git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac 745003b5917b610352f52fe0d11ef658d6471ec2 git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac 4bfd20d5f5c62b5495d6c0016ee6933bd3add7ce git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac 5800ec78775c0cd646f71eb9bf8402fb794807de git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac dd50d3ead6e3707bb0a5df7cc832730c93ace3a7 git | Not specified |
| CNA | Linux | Linux | affected c460495ee072fc01a9b1e8d72c179510418cafac 205c50306acf58a335eb19fa84e40140f4fe814f git | Not specified |
| CNA | Linux | Linux | affected 5.1 | Not specified |
| CNA | Linux | Linux | unaffected 5.1 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.273 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.214 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.153 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.83 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.23 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.11 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.2 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9 * original_commit_for_fix | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 e556006de4ea custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 b4bbf38c350a custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 d80fc436751c custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 745003b5917b custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 4bfd20d5f5c custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 5800ec78775c custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 dd50d3ead6e3 custom | Not specified |
| ADP | Linux | Linux Kernel | affected c460495ee072 205c50306acf custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.4.273 5.5 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.15.153 5.16 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.1.83 6.2 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.6.23 6.7 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.7.11 6.8 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.9 | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.1 custom | Not specified |
| ADP | Linux | Linux Kernel | affected 5.1 | Not specified |
| ADP | Linux | Linux Kernel | unaffected 5.10.214 5.11 custom | Not specified |
| ADP | Linux | Linux Kernel | unaffected 6.8.2 6.9 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| git.kernel.org/stable/c/205c50306acf58a335eb19fa84e40140f4fe814f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4bfd20d5f5c62b5495d6c0016ee6933bd3add7ce | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e556006de4ea93abe2b46cba202a2556c544b8b2 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b4bbf38c350acb6500cbe667b1e2e68f896e4b38 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/745003b5917b610352f52fe0d11ef658d6471ec2 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5800ec78775c0cd646f71eb9bf8402fb794807de | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/dd50d3ead6e3707bb0a5df7cc832730c93ace3a7 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.