In the Linux kernel, the following vulnerability has been resolved:
USB: fotg210: 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.
[
{
"deprecated": false,
"id": "CVE-2023-53404-03397572",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55c2ffc534928f4732199617e3b746d79a57898f",
"signature_version": "v1",
"target": {
"file": "drivers/usb/fotg210/fotg210-hcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"261910323054396594567590234519772697663",
"60280168167356298881330988070664703881",
"4486117880998469429479610837123623381",
"119031463013859936509062195017840596118"
]
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-2a6e02ac",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b4040f452037a7e95472577891d57c6b18c89c5",
"signature_version": "v1",
"target": {
"function": "remove_debug_files",
"file": "drivers/usb/fotg210/fotg210-hcd.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "298300918955367474341657060662782109096",
"length": 160.0
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-2dcd86ef",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d2d3bef6d700eb4261fb6761de2c95a9e3c0ac8",
"signature_version": "v1",
"target": {
"file": "drivers/usb/host/fotg210-hcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"261910323054396594567590234519772697663",
"60280168167356298881330988070664703881",
"4486117880998469429479610837123623381",
"119031463013859936509062195017840596118"
]
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-7f82c166",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a71b15744b8f286718722f80b663c06ed909d8a",
"signature_version": "v1",
"target": {
"function": "remove_debug_files",
"file": "drivers/usb/host/fotg210-hcd.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "298300918955367474341657060662782109096",
"length": 160.0
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-9257ea7a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d2d3bef6d700eb4261fb6761de2c95a9e3c0ac8",
"signature_version": "v1",
"target": {
"function": "remove_debug_files",
"file": "drivers/usb/host/fotg210-hcd.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "298300918955367474341657060662782109096",
"length": 160.0
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-d0659367",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a71b15744b8f286718722f80b663c06ed909d8a",
"signature_version": "v1",
"target": {
"file": "drivers/usb/host/fotg210-hcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"261910323054396594567590234519772697663",
"60280168167356298881330988070664703881",
"4486117880998469429479610837123623381",
"119031463013859936509062195017840596118"
]
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-db0a04c7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b4040f452037a7e95472577891d57c6b18c89c5",
"signature_version": "v1",
"target": {
"file": "drivers/usb/fotg210/fotg210-hcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"261910323054396594567590234519772697663",
"60280168167356298881330988070664703881",
"4486117880998469429479610837123623381",
"119031463013859936509062195017840596118"
]
}
},
{
"deprecated": false,
"id": "CVE-2023-53404-ede6a92a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55c2ffc534928f4732199617e3b746d79a57898f",
"signature_version": "v1",
"target": {
"function": "remove_debug_files",
"file": "drivers/usb/fotg210/fotg210-hcd.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "298300918955367474341657060662782109096",
"length": 160.0
}
}
]