# CVE-2023-53524: wifi: iwlwifi: pcie: Fix integer overflow in iwl\_write\_to\_user\_buf

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-10-01T11:46:10.397Z
- **Modified:** 2026-11-05T21:17:24.850Z

## Who should check

- Anyone running Linux \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 0ad8dd870aa187d0c21d032bb2c6433559075eec; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 059e426d666a41e26b184c177c1ca3ee2d6fa1b6; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 82f877ec9b041edc4c7c509c605cc3393d837bf0; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< eb1ef44efac797b384d361a76e33f77027c29a14; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< de78456976026102babe66258c228691ca5677c0; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 58d1b717879bfeabe09b35e41ad667c79933eb2e
- Anyone running Linux 5.0

## Description

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

wifi: iwlwifi: pcie: Fix integer overflow in iwl\_write\_to\_user\_buf

An integer overflow occurs in the iwl\_write\_to\_user\_buf() function,
which is called by the iwl\_dbgfs\_monitor\_data\_read() function.

static bool iwl\_write\_to\_user\_buf(char \_\_user \*user\_buf, ssize\_t count,
				  void \*buf, ssize\_t \*size,
				  ssize\_t \*bytes\_copied)
{
	int buf\_size\_left = count - \*bytes\_copied;

	buf\_size\_left = buf\_size\_left - (buf\_size\_left % sizeof(u32));
	if (\*size \> buf\_size\_left)
		\*size = buf\_size\_left;

If the user passes a SIZE\_MAX value to the "ssize\_t count" parameter,
the ssize\_t count parameter is assigned to "int buf\_size\_left".
Then compare "\*size" with "buf\_size\_left" . Here, "buf\_size\_left" is a
negative number, so "\*size" is assigned "buf\_size\_left" and goes into
the third argument of the copy\_to\_user function, causing a heap overflow.

This is not a security vulnerability because iwl\_dbgfs\_monitor\_data\_read()
is a debugfs operation with 0400 privileges.

## Affected and fixed versions

- Linux: \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 0ad8dd870aa187d0c21d032bb2c6433559075eec; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 059e426d666a41e26b184c177c1ca3ee2d6fa1b6; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 82f877ec9b041edc4c7c509c605cc3393d837bf0; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< eb1ef44efac797b384d361a76e33f77027c29a14; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< de78456976026102babe66258c228691ca5677c0; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 58d1b717879bfeabe09b35e41ad667c79933eb2e (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 58d1b717879bfeabe09b35e41ad667c79933eb2e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53524.md
Affected: Linux >= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, < 0ad8dd870aa187d0c21d032bb2c6433559075eec; >= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, < 059e426d666a41e26b184c177c1ca3ee2d6fa1b6; >= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, < 82f877ec9b041edc4c7c509c605cc3393d837bf0; >= f7805b33f9b13a87b1fcf9d…
Fixed in: Linux 0ad8dd870aa187d0c21d032bb2c6433559075eec, Linux 059e426d666a41e26b184c177c1ca3ee2d6fa1b6, Linux 82f877ec9b041edc4c7c509c605cc3393d837bf0, Linux 58d1b717879bfeabe09b35e41ad667c79933eb2e

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-2023-53524 being exploited?

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

### How serious is CVE-2023-53524?

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

### Which versions are affected by CVE-2023-53524?

Linux \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 0ad8dd870aa187d0c21d032bb2c6433559075eec; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 059e426d666a41e26b184c177c1ca3ee2d6fa1b6; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 82f877ec9b041edc4c7c509c605cc3393d837bf0; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< eb1ef44efac797b384d361a76e33f77027c29a14; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< de78456976026102babe66258c228691ca5677c0; \>= f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436, \< 58d1b717879bfeabe09b35e41ad667c79933eb2e; Linux 5.0.

### Is there a fix for CVE-2023-53524?

Yes. Fixed in Linux 0ad8dd870aa187d0c21d032bb2c6433559075eec, Linux 059e426d666a41e26b184c177c1ca3ee2d6fa1b6, Linux 82f877ec9b041edc4c7c509c605cc3393d837bf0, Linux 58d1b717879bfeabe09b35e41ad667c79933eb2e. Upgrade Linux to 58d1b717879bfeabe09b35e41ad667c79933eb2e or later.

### How do I check if I'm affected by CVE-2023-53524?

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/0ad8dd870aa187d0c21d032bb2c6433559075eec>
- patch: <https://git.kernel.org/stable/c/059e426d666a41e26b184c177c1ca3ee2d6fa1b6>
- patch: <https://git.kernel.org/stable/c/82f877ec9b041edc4c7c509c605cc3393d837bf0>
- patch: <https://git.kernel.org/stable/c/eb1ef44efac797b384d361a76e33f77027c29a14>
- patch: <https://git.kernel.org/stable/c/de78456976026102babe66258c228691ca5677c0>
- patch: <https://git.kernel.org/stable/c/58d1b717879bfeabe09b35e41ad667c79933eb2e>

## 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-2023-53524>

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