s390/vfio-ap: fix memory leak in vfio_ap device driver (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 9 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Deferred
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.
References
- 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
European references
- ENISA EUVD · EUVD-2023-60082
- GCVE · GCVE-0-2023-53746
CERT-FR advisories
- CERTFR-2026-AVI-0225 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0170 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0108 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 1fde573413b549d52183382e639c1d6ce88f5959 < 5195de1d5f66b276683240a896783f7f43c4f664 ; affected 1fde573413b549d52183382e639c1d6ce88f5959 < ee17dea3072dec0bc34399a32fa884e26342e4ea ; affected 1fde573413b549d52183382e639c1d6ce88f5959 < aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749 ; affected 1fde573413b549d52183382e639c1d6ce88f5959 < 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67 ; affected 1fde573413b549d52183382e639c1d6ce88f5959 < 7b6a02f5bf15931464c79dfd487c57f76aae3496 ; affected 1fde573413b549d52183382e639c1d6ce88f5959 < 8f8cf767589f2131ae5d40f3758429095c701c84 |
| Linux · Linux | affected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.240 ≤ 5.4.* ; unaffected 5.10.177 ≤ 5.10.* ; unaffected 5.15.106 ≤ 5.15.* ; unaffected 6.1.23 ≤ 6.1.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |