drivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.
[
{
"id": "CVE-2022-24958-293292ee",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/89f3594d0de58e8a57d92d497dea9fee3d4b9cda",
"target": {
"file": "drivers/usb/gadget/legacy/inode.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"203430003165072718367858077295931742840",
"180273471412337465156164558445533312811",
"131691568141789193167961131358887418833",
"296795267979675987565603514620564612986",
"88886914578469651870350528706792891694",
"230937538168488276498676548176124459417"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2022-24958-9447f639",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/89f3594d0de58e8a57d92d497dea9fee3d4b9cda",
"target": {
"function": "dev_config",
"file": "drivers/usb/gadget/legacy/inode.c"
},
"digest": {
"length": 2092.0,
"function_hash": "100910238043098768575891757463404886640"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-24958-a9c0b076",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/501e38a5531efbd77d5c73c0ba838a889bfc1d74",
"target": {
"function": "dev_config",
"file": "drivers/usb/gadget/legacy/inode.c"
},
"digest": {
"length": 2122.0,
"function_hash": "280494176015748101793496394995502174323"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-24958-ad620fba",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/501e38a5531efbd77d5c73c0ba838a889bfc1d74",
"target": {
"file": "drivers/usb/gadget/legacy/inode.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"186639761942567450573979788117275880424",
"333096429839334311930049144006513742060",
"60719391462526005632700289665433177534",
"317186749981178857477562520181006939674",
"54064079988113171740121196451130712801",
"43619927766329838885358180382763708978",
"79775120953513019826931127321861343923",
"132156066930817037200589357825327870347",
"218457760794979473464887387052798417883"
]
},
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24958.json"