# CVE-2025-39937: net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer

> 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.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-04T07:31:00.879Z
- **Modified:** 2026-11-05T22:17:35.143Z

## Who should check

- Anyone running Linux \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 184f608a68f96794e8fe58cd5535014d53622cde; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 8793e7a8e1b60131a825457174ed6398111daeb7; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< ada2282259243387e6b6e89239aeb4897e62f051; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 47ade5f9d70b23a119ec20b1c6504864b2543a79; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 689aee35ce671aab752f159e5c8e66d7685e6887; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 21ba85d9d508422ca9e6698463ff9357c928c22d; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 21a39b958b4bcf44f7674bfbbe1bbb8cad0d842d; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< b6f56a44e4c1014b08859dcf04ed246500e310e5
- Anyone running Linux 4.6

## Description

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

net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer

Since commit 7d5e9737efda ("net: rfkill: gpio: get the name and type from
device property") rfkill\_find\_type() gets called with the possibly
uninitialized "const char \*type\_name;" local variable.

On x86 systems when rfkill-gpio binds to a "BCM4752" or "LNV4752"
acpi\_device, the rfkill-\>type is set based on the ACPI acpi\_device\_id:

        rfkill-\>type = (unsigned)id-\>driver\_data;

and there is no "type" property so device\_property\_read\_string() will fail
and leave type\_name uninitialized, leading to a potential crash.

rfkill\_find\_type() does accept a NULL pointer, fix the potential crash
by initializing type\_name to NULL.

Note likely sofar this has not been caught because:

1. Not many x86 machines actually have a "BCM4752"/"LNV4752" acpi\_device
2. The stack happened to contain NULL where type\_name is stored

## Affected and fixed versions

- Linux: \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 184f608a68f96794e8fe58cd5535014d53622cde; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 8793e7a8e1b60131a825457174ed6398111daeb7; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< ada2282259243387e6b6e89239aeb4897e62f051; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 47ade5f9d70b23a119ec20b1c6504864b2543a79; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 689aee35ce671aab752f159e5c8e66d7685e6887; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 21ba85d9d508422ca9e6698463ff9357c928c22d; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 21a39b958b4bcf44f7674bfbbe1bbb8cad0d842d; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< b6f56a44e4c1014b08859dcf04ed246500e310e5 (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-39937.md
Affected: Linux >= 7d5e9737efda16535e5b54bd627ef4881d11d31f, < 184f608a68f96794e8fe58cd5535014d53622cde; >= 7d5e9737efda16535e5b54bd627ef4881d11d31f, < 8793e7a8e1b60131a825457174ed6398111daeb7; >= 7d5e9737efda16535e5b54bd627ef4881d11d31f, < ada2282259243387e6b6e89239aeb4897e62f051; >= 7d5e9737efda16535e5b54b…
Fixed in: Linux 184f608a68f96794e8fe58cd5535014d53622cde, Linux 8793e7a8e1b60131a825457174ed6398111daeb7, Linux 47ade5f9d70b23a119ec20b1c6504864b2543a79, Linux 689aee35ce671aab752f159e5c8e66d7685e6887, Linux 21ba85d9d508422ca9e6698463ff9357c928c22d, Linux 21a39b958b4bcf44f7674bfbbe1bbb8cad0d842d

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-2025-39937 being exploited?

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

### How serious is CVE-2025-39937?

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

### Which versions are affected by CVE-2025-39937?

Linux \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 184f608a68f96794e8fe58cd5535014d53622cde; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 8793e7a8e1b60131a825457174ed6398111daeb7; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< ada2282259243387e6b6e89239aeb4897e62f051; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 47ade5f9d70b23a119ec20b1c6504864b2543a79; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 689aee35ce671aab752f159e5c8e66d7685e6887; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 21ba85d9d508422ca9e6698463ff9357c928c22d; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< 21a39b958b4bcf44f7674bfbbe1bbb8cad0d842d; \>= 7d5e9737efda16535e5b54bd627ef4881d11d31f, \< b6f56a44e4c1014b08859dcf04ed246500e310e5; Linux 4.6.

### Is there a fix for CVE-2025-39937?

Yes. Fixed in Linux 184f608a68f96794e8fe58cd5535014d53622cde, Linux 8793e7a8e1b60131a825457174ed6398111daeb7, Linux 47ade5f9d70b23a119ec20b1c6504864b2543a79, Linux 689aee35ce671aab752f159e5c8e66d7685e6887, Linux 21ba85d9d508422ca9e6698463ff9357c928c22d, Linux 21a39b958b4bcf44f7674bfbbe1bbb8cad0d842d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39937?

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/184f608a68f96794e8fe58cd5535014d53622cde>
- patch: <https://git.kernel.org/stable/c/8793e7a8e1b60131a825457174ed6398111daeb7>
- patch: <https://git.kernel.org/stable/c/ada2282259243387e6b6e89239aeb4897e62f051>
- patch: <https://git.kernel.org/stable/c/47ade5f9d70b23a119ec20b1c6504864b2543a79>
- patch: <https://git.kernel.org/stable/c/689aee35ce671aab752f159e5c8e66d7685e6887>
- patch: <https://git.kernel.org/stable/c/21ba85d9d508422ca9e6698463ff9357c928c22d>
- patch: <https://git.kernel.org/stable/c/21a39b958b4bcf44f7674bfbbe1bbb8cad0d842d>
- patch: <https://git.kernel.org/stable/c/b6f56a44e4c1014b08859dcf04ed246500e310e5>

## 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-2025-39937>

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