CVE-2023-53746
s390/vfio-ap: fix memory leak in vfio_ap device driver
Mitigation
- Upgrade Linux to 8f8cf767589f2131ae5d40f3758429095c701c84 or later.
Who should check
- Anyone running Linux >= 1fde573413b549d52183382e639c1d6ce88f5959, < 5195de1d5f66b276683240a896783f7f43c4f664; >= 1fde573413b549d52183382e639c1d6ce88f5959, < ee17dea3072dec0bc34399a32fa884e26342e4ea; >= 1fde573413b549d52183382e639c1d6ce88f5959, < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 7b6a02f5bf15931464c79dfd487c57f76aae3496; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 8f8cf767589f2131ae5d40f3758429095c701c84
- Anyone running Linux 4.20
Vulnerability facts
- Affected
- Linux >= 1fde573413b549d52183382e639c1d6ce88f5959, < 5195de1d5f66b276683240a896783f7f43c4f664; >= 1fde573413b549d52183382e639c1d6ce88f5959, < ee17dea3072dec0bc34399a32fa884e26342e4ea; >= 1fde573413b549d52183382e639c1d6ce88f5959, < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 7b6a02f5bf15931464c79dfd487c57f76aae3496; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 8f8cf767589f2131ae5d40f3758429095c701c84; Linux 4.20
- Fixed in
- Linux 5195de1d5f66b276683240a896783f7f43c4f664, Linux 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67, Linux 7b6a02f5bf15931464c79dfd487c57f76aae3496, Linux 8f8cf767589f2131ae5d40f3758429095c701c84
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: fix memory leak in vfio_ap device driver The device release callback function invoked to release the matrix device uses the dev_get_drvdata(device *dev) function to retrieve the pointer to the vfio_matrix_dev object in order to free its storage. The problem is, this object is not stored as drvdata with the device; since the kfree function will accept a NULL pointer, the memory for the vfio_matrix_dev object is never freed. Since the device being released is contained within the vfio_matrix_dev object, the container_of macro will be used to retrieve its pointer.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1fde573413b549d52183382e639c1d6ce88f5959, < 5195de1d5f66b276683240a896783f7f43c4f664; >= 1fde573413b549d52183382e639c1d6ce88f5959, < ee17dea3072dec0bc34399a32fa884e26342e4ea; >= 1fde573413b549d52183382e639c1d6ce88f5959, < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 7b6a02f5bf15931464c79dfd487c57f76aae3496; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 8f8cf767589f2131ae5d40f3758429095c701c84 | — | cvelist |
| Linux | 4.20 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53746. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53746.md Affected: Linux >= 1fde573413b549d52183382e639c1d6ce88f5959, < 5195de1d5f66b276683240a896783f7f43c4f664; >= 1fde573413b549d52183382e639c1d6ce88f5959, < ee17dea3072dec0bc34399a32fa884e26342e4ea; >= 1fde573413b549d52183382e639c1d6ce88f5959, < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749; >= 1fde573413b549d52183382… Fixed in: Linux 5195de1d5f66b276683240a896783f7f43c4f664, Linux 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67, Linux 7b6a02f5bf15931464c79dfd487c57f76aae3496, Linux 8f8cf767589f2131ae5d40f3758429095c701c84 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.
References
Other
- https://git.kernel.org/stable/c/5195de1d5f66b276683240a896783f7f43c4f664
- https://git.kernel.org/stable/c/ee17dea3072dec0bc34399a32fa884e26342e4ea
- https://git.kernel.org/stable/c/aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749
- https://git.kernel.org/stable/c/6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67
- https://git.kernel.org/stable/c/7b6a02f5bf15931464c79dfd487c57f76aae3496
- https://git.kernel.org/stable/c/8f8cf767589f2131ae5d40f3758429095c701c84
FAQ
Is CVE-2023-53746 being exploited?
There is no confirmed exploitation: CVE-2023-53746 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53746?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-53746?
Linux >= 1fde573413b549d52183382e639c1d6ce88f5959, < 5195de1d5f66b276683240a896783f7f43c4f664; >= 1fde573413b549d52183382e639c1d6ce88f5959, < ee17dea3072dec0bc34399a32fa884e26342e4ea; >= 1fde573413b549d52183382e639c1d6ce88f5959, < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 7b6a02f5bf15931464c79dfd487c57f76aae3496; >= 1fde573413b549d52183382e639c1d6ce88f5959, < 8f8cf767589f2131ae5d40f3758429095c701c84; Linux 4.20.
Is there a fix for CVE-2023-53746?
Yes. Fixed in Linux 5195de1d5f66b276683240a896783f7f43c4f664, Linux 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67, Linux 7b6a02f5bf15931464c79dfd487c57f76aae3496, Linux 8f8cf767589f2131ae5d40f3758429095c701c84. Upgrade Linux to 8f8cf767589f2131ae5d40f3758429095c701c84 or later.
How do I check if I'm affected by CVE-2023-53746?
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.