cbcvebase.
CVE-2024-56745
published 2024-12-29

CVE-2024-56745: In the Linux kernel, the following vulnerability has been resolved: PCI: Fix reset_method_store() memory leak In reset_method_store(), a string is allocated…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
11.5th percentile
In the Linux kernel, the following vulnerability has been resolved: PCI: Fix reset_method_store() memory leak In reset_method_store(), a string is allocated via kstrndup() and assigned to the local "options". options is then used in with strsep() to find spaces: while ((name = strsep(&options, " ")) != NULL) { If there are no remaining spaces, then options is set to NULL by strsep(), so the subsequent kfree(options) doesn't free the memory allocated via kstrndup(). Fix by using a separate tmp_options to iterate with strsep() so options is preserved.

Affected

24 ranges
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>= d88f521da3efd698e36d0d504a2abba6ac4f5ef8 < 403efb4457c0c8f8f51e904cc57d39193780c6bd403efb4457c0c8f8f51e904cc57d39193780c6bd
linuxlinux>= d88f521da3efd698e36d0d504a2abba6ac4f5ef8 < 931d07ccffcc3614f20aaf602b31e89754e21c59931d07ccffcc3614f20aaf602b31e89754e21c59
linuxlinux>= d88f521da3efd698e36d0d504a2abba6ac4f5ef8 < 8e098baf6bc3f3a6aefc383509aba07e202f7ee08e098baf6bc3f3a6aefc383509aba07e202f7ee0
linuxlinux>= d88f521da3efd698e36d0d504a2abba6ac4f5ef8 < 543d0eb40e45c6a51f1bff02f417b602e54472d5543d0eb40e45c6a51f1bff02f417b602e54472d5
linuxlinux>= d88f521da3efd698e36d0d504a2abba6ac4f5ef8 < fe6fae61f3b993160aef5fe2b7141a83872c144ffe6fae61f3b993160aef5fe2b7141a83872c144f
linuxlinux>= d88f521da3efd698e36d0d504a2abba6ac4f5ef8 < 2985b1844f3f3447f2d938eff1ef6762592065a52985b1844f3f3447f2d938eff1ef6762592065a5
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.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>= 5.15 < 5.15.1745.15.174
linuxlinux_kernel>= 5.16 < 6.1.1206.1.120
linuxlinux_kernel>= 6.12 < 6.12.26.12.2
linuxlinux_kernel>= 6.2 < 6.6.646.6.64
linuxlinux_kernel>= 6.7 < 6.11.116.11.11
msrcazl3_kernel_6.6.57.1-7_on_azure_linux_3.0
msrcazl3_kernel_6.6.64.2-1_on_azure_linux_3.0
msrccbl2_kernel_5.15.173.1-2_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.176.3-1_on_cbl_mariner_2.0

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
vendor_msrc3.3LOW
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.