{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53746","id":"CVE-2023-53746","title":"s390/vfio-ap: fix memory leak in vfio_ap device driver","description":"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; ","descriptionLong":"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.","published":"2025-12-08T01:19:05.204Z","updated":"2026-10-28T02:30:29.752894868Z","reserved":"2025-12-08T01:18:04.279Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1fde573413b549d52183382e639c1d6ce88f5959","lessThan":"5195de1d5f66b276683240a896783f7f43c4f664","status":"affected","versionType":"git"},{"version":"1fde573413b549d52183382e639c1d6ce88f5959","lessThan":"ee17dea3072dec0bc34399a32fa884e26342e4ea","status":"affected","versionType":"git"},{"version":"1fde573413b549d52183382e639c1d6ce88f5959","lessThan":"aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749","status":"affected","versionType":"git"},{"version":"1fde573413b549d52183382e639c1d6ce88f5959","lessThan":"6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67","status":"affected","versionType":"git"},{"version":"1fde573413b549d52183382e639c1d6ce88f5959","lessThan":"7b6a02f5bf15931464c79dfd487c57f76aae3496","status":"affected","versionType":"git"},{"version":"1fde573413b549d52183382e639c1d6ce88f5959","lessThan":"8f8cf767589f2131ae5d40f3758429095c701c84","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","lessThan":"4.20","status":"unaffected","versionType":"semver"},{"version":"5.4.240","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.177","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.106","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.23","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.10","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5195de1d5f66b276683240a896783f7f43c4f664","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ee17dea3072dec0bc34399a32fa884e26342e4ea","tags":["web"]},{"url":"https://git.kernel.org/stable/c/aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7b6a02f5bf15931464c79dfd487c57f76aae3496","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8f8cf767589f2131ae5d40f3758429095c701c84","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53746.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53746","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00205,"epssPercentile":0.10568,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53746","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53746","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53746","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53746","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}