CVE-2023-53746

s390/vfio-ap: fix memory leak in vfio_ap device driver

published December 8, 2025

CVSS
—
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Published
2025-12-08T01:19Z
EPSS history
Timeline
  • 08 DEC 01:19Z
    s390/vfio-ap: fix memory leak in vfio_ap device driver
    cvelistv5