CVE-2023-53746
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 versions
Linux kernel versions
4.20
and later are affected. Fixed in
5.4.240,
5.10.177,
5.15.106,
6.1.23,
6.2.10,
6.3
and their respective stable series.
References
The following references provide additional information about CVE-2023-53746 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5195de1d5f66b276683240a896783f7f43c4f664
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7b6a02f5bf15931464c79dfd487c57f76aae3496
Frequently asked questions
-
What is CVE-2023-53746?
CVE-2023-53746 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.20 onward and has been patched in 5.4.240, 5.10.177, 5.15.106 and others. CVE-2023-53746 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-53746?
Yes — CVE-2023-53746 has been patched. Fixed versions include 5.4.240, 5.10.177, 5.15.106 and others. If you are running Linux kernel 4.20 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53746 actively exploited?
No — CVE-2023-53746 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.