In the Linux kernel before 5.3.11, sound/core/timer.c has a use-after-free caused by erroneous code refactoring, aka CID-e7af6307a8a5. This is related to sndtimeropen and sndtimerclose_locked. The timeri variable was originally intended to be for a newly created timer instance, but was used for a different purpose after refactoring.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-19807.json"
[
{
"target": {
"file": "sound/core/timer.c",
"function": "snd_timer_open"
},
"digest": {
"length": 2118.0,
"function_hash": "66903753230336441152417746530049102323"
},
"signature_type": "Function",
"id": "CVE-2019-19807-6ea1256f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e7af6307a8a54f0b873960b32b6a644f2d0fbd97",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "sound/core/timer.c"
},
"digest": {
"line_hashes": [
"63007589793319009786104428411912725971",
"180380644452873653126011974905104769811",
"241368685420035498993086075111461899001",
"21000171351878736992524816324734167787",
"220521945080328461245834011174324406846",
"216958840141220310675971405205507183894",
"310945888473457008727562749349645891974",
"225941898137079654821685982956595721451"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2019-19807-7faf65ca",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@e7af6307a8a54f0b873960b32b6a644f2d0fbd97",
"deprecated": false,
"signature_version": "v1"
}
]