An issue was discovered in the Linux kernel before 5.11.3 when a webcam device exists. video_usercopy in drivers/media/v4l2-core/v4l2-ioctl.c has a memory leak for large arguments, aka CID-fb18802a338b.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-30002.json"
[
{
"signature_type": "Line",
"target": {
"file": "drivers/media/v4l2-core/v4l2-ioctl.c"
},
"deprecated": false,
"id": "CVE-2021-30002-5a073d87",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"27579402205199353311113122181213813923",
"14276804360639402537838238280985137621",
"47271709386016439754536150418007120555",
"39253997698503528471094680682011399685",
"12858340287896843344949870997810755623",
"85541806992675167276623043638802879304",
"310198270331556468102716987485115992398",
"305212221852146790749383522279521700092",
"96318517121330612991973595499053619231",
"173428013779469423494394065982162299405",
"207060732058967985810292212197040029622",
"41346902124652598756551955985542154317",
"204346065991893585815391840483522333330",
"191659690761391498419154033429885555915",
"72674428627250406164982013528364275819",
"137863755593637477703011286302987491169",
"208654205326907949911306469300703254829",
"24229439601058357311145311440923238918",
"230514418016809124159977088879379671478",
"302606218917869267044664548295709484717",
"316300742175363001668369845323014043348",
"221746187144453697412044126639101918478",
"118420372769791159473655593638808765008",
"272700965311016287392086285972130720806",
"97700166491887437675399407500205270641",
"267369843665666954282862047577310491338",
"215119400299808351842294255825752372329",
"175359290918650523625191465777241490862",
"45394312175755639119678791793459884146",
"198776616037721159102500286173738139506",
"126672239460719627187426151270494865159",
"267867389589480983430299106502970196292",
"280228985667021509314139331044432411136",
"155363478029190873105866171850037072265",
"299202172284587208361441858613197015926"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@fb18802a338b36f675a388fc03d2aa504a0d0899"
},
{
"signature_type": "Function",
"target": {
"file": "drivers/media/v4l2-core/v4l2-ioctl.c",
"function": "video_usercopy"
},
"deprecated": false,
"id": "CVE-2021-30002-b33d9044",
"signature_version": "v1",
"digest": {
"function_hash": "286319615114657953485871638461375907556",
"length": 1745.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@fb18802a338b36f675a388fc03d2aa504a0d0899"
}
]