CVE-2023-53746 Details
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.
A memory leak vulnerability has been identified in the VFIO AP device driver of the Linux kernel. This issue arises because the device release callback function attempts to use the 'dev_get_drvdata' function to access the 'vfio_matrix_dev' object for memory deallocation. However, the 'vfio_matrix_dev' object is not properly registered as driver data with the device. As a result, the memory allocated for this object is never released, leading to a leak. The vulnerability affects the stable versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The commit that addresses this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/5195de1d5f66b276683240a896783f7f43c4f664 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7b6a02f5bf15931464c79dfd487c57f76aae3496 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8f8cf767589f2131ae5d40f3758429095c701c84 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ee17dea3072dec0bc34399a32fa884e26342e4ea | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| s390/vfio-ap | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 8, 2025 | New CVE Received | kernel.org |
Volerion