In the Linux kernel, the following vulnerability has been resolved:
USB: gadget: pxa27xudc: fix memory leak with using debugfslookup()
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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53407.json"
}[
{
"id": "CVE-2023-53407-0927939a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b14d188d0d0b86e2180525aefd570dbb6ebd6aa9",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"291803726016689761779087457453789085554",
"222019830566965048687461820654212079452",
"89583829759325564754933041404564262852",
"209782206226569480862146402791521879488"
]
},
"target": {
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-1ac41440",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@67c931a3f2f061bf457995fd21fff114325e0c30",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"291803726016689761779087457453789085554",
"222019830566965048687461820654212079452",
"89583829759325564754933041404564262852",
"209782206226569480862146402791521879488"
]
},
"target": {
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-496cea07",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a6952fa0366d4408eb8695af1a0578c39ec718a",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"291803726016689761779087457453789085554",
"222019830566965048687461820654212079452",
"89583829759325564754933041404564262852",
"209782206226569480862146402791521879488"
]
},
"target": {
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-503db649",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@67c931a3f2f061bf457995fd21fff114325e0c30",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "134479199620655524627175078076962049347",
"length": 111.0
},
"target": {
"function": "pxa_cleanup_debugfs",
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-644a065a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8da78a60f3323ce7aac589d49fb82f71a04bc835",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "134479199620655524627175078076962049347",
"length": 111.0
},
"target": {
"function": "pxa_cleanup_debugfs",
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-6c3b4a67",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8da78a60f3323ce7aac589d49fb82f71a04bc835",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"291803726016689761779087457453789085554",
"222019830566965048687461820654212079452",
"89583829759325564754933041404564262852",
"209782206226569480862146402791521879488"
]
},
"target": {
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-84fc30d1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b14d188d0d0b86e2180525aefd570dbb6ebd6aa9",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "134479199620655524627175078076962049347",
"length": 111.0
},
"target": {
"function": "pxa_cleanup_debugfs",
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
},
{
"id": "CVE-2023-53407-e1cd57dc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a6952fa0366d4408eb8695af1a0578c39ec718a",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "134479199620655524627175078076962049347",
"length": 111.0
},
"target": {
"function": "pxa_cleanup_debugfs",
"file": "drivers/usb/gadget/udc/pxa27x_udc.c"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53407.json"