# CVE-2023-52646: aio: fix mremap after fork null-deref

> 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-04-26T12:19:32.167Z
- **Modified:** 2026-06-17T06:43:15.010Z

## Who should check

- Anyone running Linux \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 808f1e4b5723ae4eda724d2ad6f6638905eefd95; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< d8dca1bfe9adcae38b35add64977818c0c13dd22; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 4326d0080f7e84fba775da41d158f46cf9d3f1c2; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< c261f798f7baa8080cf0214081d43d5f86bb073f; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 178993157e8c50aef7f35d7d6d3b44bb428199e1; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< af126acf01a12bdb04986fd26fc2eb3b40249e0d; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 81e9d6f8647650a7bead74c5f926e29970e834d1
- Anyone running Linux 3.19

## Description

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

aio: fix mremap after fork null-deref

Commit e4a0d3e720e7 ("aio: Make it possible to remap aio ring") introduced
a null-deref if mremap is called on an old aio mapping after fork as
mm-\>ioctx\_table will be set to NULL.

\[jmoyer@redhat.com: fix 80 column issue\]

## Affected and fixed versions

- Linux: \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 808f1e4b5723ae4eda724d2ad6f6638905eefd95; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< d8dca1bfe9adcae38b35add64977818c0c13dd22; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 4326d0080f7e84fba775da41d158f46cf9d3f1c2; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< c261f798f7baa8080cf0214081d43d5f86bb073f; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 178993157e8c50aef7f35d7d6d3b44bb428199e1; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< af126acf01a12bdb04986fd26fc2eb3b40249e0d; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 81e9d6f8647650a7bead74c5f926e29970e834d1 (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- Upgrade Linux to 81e9d6f8647650a7bead74c5f926e29970e834d1 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-52646. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52646.md
Affected: Linux >= e4a0d3e720e7e508749c1439b5ba3aff56c92976, < 808f1e4b5723ae4eda724d2ad6f6638905eefd95; >= e4a0d3e720e7e508749c1439b5ba3aff56c92976, < d8dca1bfe9adcae38b35add64977818c0c13dd22; >= e4a0d3e720e7e508749c1439b5ba3aff56c92976, < 4326d0080f7e84fba775da41d158f46cf9d3f1c2; >= e4a0d3e720e7e508749c143…
Fixed in: Linux 808f1e4b5723ae4eda724d2ad6f6638905eefd95, Linux 4326d0080f7e84fba775da41d158f46cf9d3f1c2, Linux 178993157e8c50aef7f35d7d6d3b44bb428199e1, Linux 81e9d6f8647650a7bead74c5f926e29970e834d1

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-52646 being exploited?

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

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

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

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

Linux \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 808f1e4b5723ae4eda724d2ad6f6638905eefd95; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< d8dca1bfe9adcae38b35add64977818c0c13dd22; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 4326d0080f7e84fba775da41d158f46cf9d3f1c2; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< c261f798f7baa8080cf0214081d43d5f86bb073f; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 178993157e8c50aef7f35d7d6d3b44bb428199e1; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< af126acf01a12bdb04986fd26fc2eb3b40249e0d; \>= e4a0d3e720e7e508749c1439b5ba3aff56c92976, \< 81e9d6f8647650a7bead74c5f926e29970e834d1; Linux 3.19.

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

Yes. Fixed in Linux 808f1e4b5723ae4eda724d2ad6f6638905eefd95, Linux 4326d0080f7e84fba775da41d158f46cf9d3f1c2, Linux 178993157e8c50aef7f35d7d6d3b44bb428199e1, Linux 81e9d6f8647650a7bead74c5f926e29970e834d1. Upgrade Linux to 81e9d6f8647650a7bead74c5f926e29970e834d1 or later.

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

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/808f1e4b5723ae4eda724d2ad6f6638905eefd95>
- patch: <https://git.kernel.org/stable/c/d8dca1bfe9adcae38b35add64977818c0c13dd22>
- patch: <https://git.kernel.org/stable/c/4326d0080f7e84fba775da41d158f46cf9d3f1c2>
- patch: <https://git.kernel.org/stable/c/c261f798f7baa8080cf0214081d43d5f86bb073f>
- patch: <https://git.kernel.org/stable/c/178993157e8c50aef7f35d7d6d3b44bb428199e1>
- patch: <https://git.kernel.org/stable/c/af126acf01a12bdb04986fd26fc2eb3b40249e0d>
- patch: <https://git.kernel.org/stable/c/81e9d6f8647650a7bead74c5f926e29970e834d1>

## 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-52646>

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