Skip to main content
Network Thinking Solutions Logo

CVE-2024-53198

In the Linux kernel, the following vulnerability has been resolved: xen: Fix the issue of resource not being properly released in xenbus_dev_probe() This patch fixes an issue in the function xenbus_dev_probe().

All CVEs
CVE-2024-53198Published 12/27/2024

In the Linux kernel, the following vulnerability has been resolved: xen: Fix the issue of resource not being properly released in xenbus_dev_probe() This patch fixes an issue in the function xenbus_dev_probe().

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: xen: Fix the issue of resource not being properly released in xenbus_dev_probe() This patch fixes an issue in the function xenbus_dev_probe(). In the xenbus_dev_probe() function, within the if (err) branch at line 313, the program incorrectly returns err directly without releasing the resources allocated by err = drv->probe(dev, id). As the return value is non-zero, the upper layers assume the processing logic has failed. However, the probe operation was performed earlier without a corresponding remove operation. Since the probe actually allocates resources, failing to perform the remove operation could lead to problems. To fix this issue, we followed the resource release logic of the xenbus_dev_remove() function by adding a new block fail_remove before the fail_put block. After entering the branch if (err) at line 313, the function will use a goto statement to jump to the fail_remove block, ensuring that the previously acquired resources are correctly released, thus preventing the reference count leak. This bug was identified by an experimental static analysis tool developed by our team. The tool specializes in analyzing reference count operations and detecting potential issues where resources are not properly managed. In this case, the tool flagged the missing release operation as a potential problem, which led to the development of this patch.

Published
12/27/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.23, < 5.4.287

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.231

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.174

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.120

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.64

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.11.11

Verify advisory

Source
linux kernel
linux
≥ 6.12, < 6.12.2

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < 87106169b4ce26f85561f953d13d1fd86d99b612

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < 0aa9e30b5b4af5dd504801689d6d84c584290a45

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < e8823e6ff313465910edea07581627d85e68d9fd

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < 3fc0996d2fefe61219375fd650601724b8cf2d30

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < 804b96f8d0a02fa10b92f28b2e042f9128ed3ffc

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < 217bdce88b104269b73603b84d0ab4dd04f481bc

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < 2f977a4c82d35d063f5fe198bbc501c4b1c5ea0e

Verify advisory

Source
Linux
Linux
≥ 4bac07c993d03434ea902d3d4290d9e45944b66c, < afc545da381ba0c651b2658966ac737032676f01

Verify advisory

Source
Linux
Linux
2.6.23

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.