CVE-2023-53746

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

N/A
Published: December 8, 2025 at 01:19 AM UTC
Updated: June 17, 2026 at 06:45 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.10.1774.20 ≤ v < 5.15.1064.20 ≤ v < 5.4.2404.20 ≤ v < 6.1.234.20 ≤ v < 6.2.104.20 ≤ v < 6.31fde573413b549d52183382e639c1d6ce88f59594.20
Vendor states this is fixed in 5195de1d5f66b276683240a896783f7f43c4f664 (fixed)
Vendor states this is fixed in 6a40fda14b4be3e38f03cc42ffd4efbc64fb3e67 (fixed)
Vendor states this is fixed in 7b6a02f5bf15931464c79dfd487c57f76aae3496 (fixed)
Vendor states this is fixed in 8f8cf767589f2131ae5d40f3758429095c701c84 (fixed)
Vendor states this is fixed in aa2bff25e9bb10c935c7ffe3d5f5975bdccb1749 (fixed)
Vendor states this is fixed in ee17dea3072dec0bc34399a32fa884e26342e4ea (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.177 (unaffected)
Vendor states this is fixed in 5.15.106 (unaffected)
Vendor states this is fixed in 5.4.240 (unaffected)
Vendor states this is fixed in 6.1.23 (unaffected)
Vendor states this is fixed in 6.2.10 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card