{"id":"CVE-2023-53746","published":"2025-12-08T01:19:05Z","modified":"2026-05-11T19:50:54Z","title":"s390/vfio-ap: fix memory leak in vfio_ap device driver","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: fix memory leak in vfio_ap device driver\n\nThe device release callback function invoked to release the matrix device\nuses the dev_get_drvdata(device *dev) function to retrieve the\npointer to the vfio_matrix_dev object in order to free its storage. The\nproblem is, this object is not stored as drvdata with the device; since the\nkfree function will accept a NULL pointer, the memory for the\nvfio_matrix_dev object is never freed.\n\nSince the device being released is contained within the vfio_matrix_dev\nobject, the container_of macro will be used to retrieve its pointer.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00205,"percentile":0.1051,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5195de1d5f66b276683240a896783f7f43c4f664","tags":[]},{"url":"https://git.kernel.org/stable/c/ee17dea3072dec0bc34399a32fa884e26342e4ea","tags":[]},{"url":"https://git.kernel.org/stable/c/aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749","tags":[]},{"url":"https://git.kernel.org/stable/c/6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67","tags":[]},{"url":"https://git.kernel.org/stable/c/7b6a02f5bf15931464c79dfd487c57f76aae3496","tags":[]},{"url":"https://git.kernel.org/stable/c/8f8cf767589f2131ae5d40f3758429095c701c84","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.1}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1fde573413b549d52183382e639c1d6ce88f5959, < 5195de1d5f66b276683240a896783f7f43c4f664",">= 1fde573413b549d52183382e639c1d6ce88f5959, < ee17dea3072dec0bc34399a32fa884e26342e4ea",">= 1fde573413b549d52183382e639c1d6ce88f5959, < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749",">= 1fde573413b549d52183382e639c1d6ce88f5959, < 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67",">= 1fde573413b549d52183382e639c1d6ce88f5959, < 7b6a02f5bf15931464c79dfd487c57f76aae3496",">= 1fde573413b549d52183382e639c1d6ce88f5959, < 8f8cf767589f2131ae5d40f3758429095c701c84"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"euvd":{"id":"EUVD-2023-60082","exploited":false,"provenance":"source"}}