cveboard RSS feed

CVE-2024-53198

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

xen: Fix the issue of resource not being properly released in xenbus_dev_probe()

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgit87106169b4ce26f85561f953d13d1fd86d99b612UnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgit0aa9e30b5b4af5dd504801689d6d84c584290a45UnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgite8823e6ff313465910edea07581627d85e68d9fdUnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgit3fc0996d2fefe61219375fd650601724b8cf2d30UnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgit804b96f8d0a02fa10b92f28b2e042f9128ed3ffcUnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgit217bdce88b104269b73603b84d0ab4dd04f481bcUnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgit2f977a4c82d35d063f5fe198bbc501c4b1c5ea0eUnavailableNone listed
4bac07c993d03434ea902d3d4290d9e45944b66caffectedgitafc545da381ba0c651b2658966ac737032676f01UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
2.6.23affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver2.6.23UnavailableNone listed
5.4.287unaffectedsemverUnavailable5.4.*None listed
5.10.231unaffectedsemverUnavailable5.10.*None listed
5.15.174unaffectedsemverUnavailable5.15.*None listed
6.1.120unaffectedsemverUnavailable6.1.*None listed
6.6.64unaffectedsemverUnavailable6.6.*None listed
6.11.11unaffectedsemverUnavailable6.11.*None listed
6.12.2unaffectedsemverUnavailable6.12.*None listed
6.13unaffectedoriginal_commit_for_fixUnavailable*None listed