In the Linux kernel, the following vulnerability has been resolved:
USB: fix memory leak with using debugfs_lookup()
When calling debugfslookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfslookupandremove() instead which handles all of the logic at once.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc00340fb1226a2a3a5cf15473ac417da3c952f1",
"signature_version": "v1",
"id": "CVE-2023-53359-0cc97942",
"signature_type": "Function",
"digest": {
"function_hash": "94409611356511061538889603178488763677",
"length": 90.0
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c",
"function": "usb_debugfs_cleanup"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68ece7baf2aa9783b8244482c03010d477d4a93",
"signature_version": "v1",
"id": "CVE-2023-53359-1feb77b3",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127000415564020855025274071614054963714",
"273550546681984245892606463159431974216",
"60686364305832725363092940900035390497",
"117160753766917963772911648679832882229"
]
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6683327b51a601daba32900072349dfa1d4e8fea",
"signature_version": "v1",
"id": "CVE-2023-53359-214f5b91",
"signature_type": "Function",
"digest": {
"function_hash": "94409611356511061538889603178488763677",
"length": 90.0
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c",
"function": "usb_debugfs_cleanup"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68ece7baf2aa9783b8244482c03010d477d4a93",
"signature_version": "v1",
"id": "CVE-2023-53359-3bf05034",
"signature_type": "Function",
"digest": {
"function_hash": "94409611356511061538889603178488763677",
"length": 90.0
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c",
"function": "usb_debugfs_cleanup"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6683327b51a601daba32900072349dfa1d4e8fea",
"signature_version": "v1",
"id": "CVE-2023-53359-3e696006",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127000415564020855025274071614054963714",
"273550546681984245892606463159431974216",
"60686364305832725363092940900035390497",
"117160753766917963772911648679832882229"
]
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@30374434edab20e25776f8ecb4bc9d1e54309487",
"signature_version": "v1",
"id": "CVE-2023-53359-a5b0c6bb",
"signature_type": "Function",
"digest": {
"function_hash": "94409611356511061538889603178488763677",
"length": 90.0
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c",
"function": "usb_debugfs_cleanup"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc00340fb1226a2a3a5cf15473ac417da3c952f1",
"signature_version": "v1",
"id": "CVE-2023-53359-bf42bd16",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127000415564020855025274071614054963714",
"273550546681984245892606463159431974216",
"60686364305832725363092940900035390497",
"117160753766917963772911648679832882229"
]
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@30374434edab20e25776f8ecb4bc9d1e54309487",
"signature_version": "v1",
"id": "CVE-2023-53359-f54da424",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127000415564020855025274071614054963714",
"273550546681984245892606463159431974216",
"60686364305832725363092940900035390497",
"117160753766917963772911648679832882229"
]
},
"deprecated": false,
"target": {
"file": "drivers/usb/core/usb.c"
}
}
]