A use-after-free vulnerability was found in rtsxusbmsdrvremove in drivers/memstick/host/rtsxusbms.c in memstick in the Linux kernel. In this flaw, a local attacker with a user privilege may impact system Confidentiality. This flaw affects kernel versions prior to 5.14 rc1.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0487.json"
[
{
"signature_type": "Function",
"target": {
"file": "drivers/memstick/host/rtsx_usb_ms.c",
"function": "rtsx_usb_ms_drv_remove"
},
"deprecated": false,
"id": "CVE-2022-0487-0a1c1b16",
"signature_version": "v1",
"digest": {
"function_hash": "193413371389028999200335452724496656484",
"length": 788.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@42933c8aa14be1caa9eda41f65cde8a3a95d3e39"
},
{
"signature_type": "Function",
"target": {
"file": "drivers/memstick/host/rtsx_usb_ms.c",
"function": "rtsx_usb_ms_drv_probe"
},
"deprecated": false,
"id": "CVE-2022-0487-1fdf1ffb",
"signature_version": "v1",
"digest": {
"function_hash": "22228114755739166916359595561543632241",
"length": 1066.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@42933c8aa14be1caa9eda41f65cde8a3a95d3e39"
},
{
"signature_type": "Line",
"target": {
"file": "drivers/memstick/host/rtsx_usb_ms.c"
},
"deprecated": false,
"id": "CVE-2022-0487-696b1781",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275050726263711155896454685826401970220",
"3586019197471618903461783715447450763",
"51572519329871572848262020837315309752",
"258315312890339891275876292490282023044",
"266353158156285006125002370569569848857",
"269039510210466800772859371742760298120",
"126183430207753614913005953994763164089",
"240768701909229914918491990581852877592",
"153719867724525061957656201774089045674",
"262544944912583239522137477225036245098",
"80433134271369455030252550673006135472",
"186056433497444122264833361735928075155",
"204343560175423961712014099022792198057",
"182283861564458236887356442189419414381",
"206379193130856437982881207210738857090",
"206209675556776565474331710414288407555",
"140521234122596481062214700939163346198"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@42933c8aa14be1caa9eda41f65cde8a3a95d3e39"
}
]