cbcvebase.
CVE-2024-53198
published 2024-12-27

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…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
14.3th percentile
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.

Affected

26 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.123-1 (bookworm)linux 6.1.123-1 (bookworm)
debianlinux-6.1< linux 6.1.123-1 (bookworm)linux 6.1.123-1 (bookworm)
linuxlinux
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < 87106169b4ce26f85561f953d13d1fd86d99b61287106169b4ce26f85561f953d13d1fd86d99b612
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < 0aa9e30b5b4af5dd504801689d6d84c584290a450aa9e30b5b4af5dd504801689d6d84c584290a45
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < e8823e6ff313465910edea07581627d85e68d9fde8823e6ff313465910edea07581627d85e68d9fd
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < 3fc0996d2fefe61219375fd650601724b8cf2d303fc0996d2fefe61219375fd650601724b8cf2d30
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < 804b96f8d0a02fa10b92f28b2e042f9128ed3ffc804b96f8d0a02fa10b92f28b2e042f9128ed3ffc
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < 217bdce88b104269b73603b84d0ab4dd04f481bc217bdce88b104269b73603b84d0ab4dd04f481bc
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < 2f977a4c82d35d063f5fe198bbc501c4b1c5ea0e2f977a4c82d35d063f5fe198bbc501c4b1c5ea0e
linuxlinux>= 4bac07c993d03434ea902d3d4290d9e45944b66c < afc545da381ba0c651b2658966ac737032676f01afc545da381ba0c651b2658966ac737032676f01
linuxlinux_kernel>= 0 < 5.10.234-15.10.234-1
linuxlinux_kernel>= 0 < 6.1.123-16.1.123-1
linuxlinux_kernel>= 0 < 6.12.3-16.12.3-1
linuxlinux_kernel>= 0 < 6.12.3-16.12.3-1
linuxlinux_kernel>= 0 < 5.4.0-211.2315.4.0-211.231
linuxlinux_kernel>= 0 < 5.15.0-135.1465.15.0-135.146
linuxlinux_kernel>= 0 < 6.8.0-58.606.8.0-58.60
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 2.6.23 < 5.4.2875.4.287
linuxlinux_kernel>= 5.11 < 5.15.1745.15.174
linuxlinux_kernel>= 5.16 < 6.1.1206.1.120
linuxlinux_kernel>= 5.5 < 5.10.2315.10.231
linuxlinux_kernel>= 6.12 < 6.12.26.12.2
linuxlinux_kernel>= 6.2 < 6.6.646.6.64

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.