Bug 2419839 (CVE-2023-53746) - CVE-2023-53746 kernel: s390/vfio-ap: fix memory leak in vfio_ap device driver
Summary: CVE-2023-53746 kernel: s390/vfio-ap: fix memory leak in vfio_ap device driver
Keywords:
Status: NEW
Alias: CVE-2023-53746
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:02 UTC by OSIDB Bzimport
Modified: 2025-12-16 20:50 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-08 07:02:28 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.