# CVE-2024-57992: wifi: wilc1000: unregister wiphy only if it has been registered

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2025-02-27T02:07:14.278Z
- **Modified:** 2026-06-17T08:14:23.920Z

## Who should check

- Anyone running Linux \>= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, \< c7115b8229f3e6cdfae43b1cdd180f5b6c67cd70; \>= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, \< 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb
- Anyone running Linux 6.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: wilc1000: unregister wiphy only if it has been registered

There is a specific error path in probe functions in wilc drivers (both
sdio and spi) which can lead to kernel panic, as this one for example
when using SPI:

Unable to handle kernel paging request at virtual address 9f000000 when read
\[9f000000\] \*pgd=00000000
Internal error: Oops: 5 \[\#1\] ARM
Modules linked in: wilc1000\_spi(+) crc\_itu\_t crc7 wilc1000 cfg80211 bluetooth ecdh\_generic ecc
CPU: 0 UID: 0 PID: 106 Comm: modprobe Not tainted 6.13.0-rc3+ \#22
Hardware name: Atmel SAMA5
PC is at wiphy\_unregister+0x244/0xc40 \[cfg80211\]
LR is at wiphy\_unregister+0x1c0/0xc40 \[cfg80211\]
\[...\]
 wiphy\_unregister \[cfg80211\] from wilc\_netdev\_cleanup+0x380/0x494 \[wilc1000\]
 wilc\_netdev\_cleanup \[wilc1000\] from wilc\_bus\_probe+0x360/0x834 \[wilc1000\_spi\]
 wilc\_bus\_probe \[wilc1000\_spi\] from spi\_probe+0x15c/0x1d4
 spi\_probe from really\_probe+0x270/0xb2c
 really\_probe from \_\_driver\_probe\_device+0x1dc/0x4e8
 \_\_driver\_probe\_device from driver\_probe\_device+0x5c/0x140
 driver\_probe\_device from \_\_driver\_attach+0x220/0x540
 \_\_driver\_attach from bus\_for\_each\_dev+0x13c/0x1a8
 bus\_for\_each\_dev from bus\_add\_driver+0x2a0/0x6a4
 bus\_add\_driver from driver\_register+0x27c/0x51c
 driver\_register from do\_one\_initcall+0xf8/0x564
 do\_one\_initcall from do\_init\_module+0x2e4/0x82c
 do\_init\_module from load\_module+0x59a0/0x70c4
 load\_module from init\_module\_from\_file+0x100/0x148
 init\_module\_from\_file from sys\_finit\_module+0x2fc/0x924
 sys\_finit\_module from ret\_fast\_syscall+0x0/0x1c

The issue can easily be reproduced, for example by not wiring correctly
a wilc device through SPI (and so, make it unresponsive to early SPI
commands). It is due to a recent change decoupling wiphy allocation from
wiphy registration, however wilc\_netdev\_cleanup has not been updated
accordingly, letting it possibly call wiphy unregister on a wiphy which
has never been registered.

Fix this crash by moving wiphy\_unregister/wiphy\_free out of
wilc\_netdev\_cleanup, and by adjusting error paths in both drivers

## Affected and fixed versions

- Linux: \>= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, \< c7115b8229f3e6cdfae43b1cdd180f5b6c67cd70; \>= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, \< 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-57992. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-57992.md
Affected: Linux >= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, < c7115b8229f3e6cdfae43b1cdd180f5b6c67cd70; >= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, < 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb; Linux 6.13
Fixed in: Linux 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-57992 being exploited?

There is no confirmed exploitation: CVE-2024-57992 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-57992?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-57992?

Linux \>= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, \< c7115b8229f3e6cdfae43b1cdd180f5b6c67cd70; \>= fbdf0c5248dce4b55181e9aff8f1b61819ba6bd7, \< 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb; Linux 6.13.

### Is there a fix for CVE-2024-57992?

Yes. Fixed in Linux 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb. Upgrade Linux to 1be94490b6b8a06ff14cd23fda8714e6ec37cdfb or later.

### How do I check if I'm affected by CVE-2024-57992?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c7115b8229f3e6cdfae43b1cdd180f5b6c67cd70>
- patch: <https://git.kernel.org/stable/c/1be94490b6b8a06ff14cd23fda8714e6ec37cdfb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-57992>

HTML: <https://flawdb.com/CVE-2024-57992> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-57992>
