CVE-2024-53198xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
- 7.8HighCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
- 38 days later
· 38 days later
Published
- 20 months later
· 20 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < 87106169b4ce26f85561f953d13d1fd86d99b612
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < 0aa9e30b5b4af5dd504801689d6d84c584290a45
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < e8823e6ff313465910edea07581627d85e68d9fd
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < 3fc0996d2fefe61219375fd650601724b8cf2d30
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < 804b96f8d0a02fa10b92f28b2e042f9128ed3ffc
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < 217bdce88b104269b73603b84d0ab4dd04f481bc
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < 2f977a4c82d35d063f5fe198bbc501c4b1c5ea0e
- affected 4bac07c993d03434ea902d3d4290d9e45944b66c – < afc545da381ba0c651b2658966ac737032676f01
- affected 2.6.23
- unaffected < 2.6.23
- unaffected 5.4.287 – ≤ 5.4.*
- unaffected 5.10.231 – ≤ 5.10.*
- unaffected 5.15.174 – ≤ 5.15.*
- unaffected 6.1.120 – ≤ 6.1.*
- unaffected 6.6.64 – ≤ 6.6.*
- unaffected 6.11.11 – ≤ 6.11.*
- unaffected 6.12.2 – ≤ 6.12.*
- unaffected 6.13 – ≤ *
References
References10
- https://git.kernel.org/stable/c/87106169b4ce26f85561f953d13d1fd86d99b612 (opens in a new tab)
- https://git.kernel.org/stable/c/0aa9e30b5b4af5dd504801689d6d84c584290a45 (opens in a new tab)
- https://git.kernel.org/stable/c/e8823e6ff313465910edea07581627d85e68d9fd (opens in a new tab)
- https://git.kernel.org/stable/c/3fc0996d2fefe61219375fd650601724b8cf2d30 (opens in a new tab)
- https://git.kernel.org/stable/c/804b96f8d0a02fa10b92f28b2e042f9128ed3ffc (opens in a new tab)
- https://git.kernel.org/stable/c/217bdce88b104269b73603b84d0ab4dd04f481bc (opens in a new tab)
- https://git.kernel.org/stable/c/2f977a4c82d35d063f5fe198bbc501c4b1c5ea0e (opens in a new tab)
- https://git.kernel.org/stable/c/afc545da381ba0c651b2658966ac737032676f01 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-51870 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-53198)Record last updated .