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