An issue was discovered in the Linux kernel before 5.11.11. The user mode driver (UMD) has a copyprocess() memory leak, related to a lack of cleanup steps in kernel/usermodedriver.c and kernel/bpf/preload/bpfpreloadkern.c, aka CID-f60a85cad677.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29649.json"
[
{
"id": "CVE-2021-29649-047ecf31",
"digest": {
"threshold": 0.9,
"line_hashes": [
"140839537356062427613903315783510521261",
"154366621365600005677826521958830083097",
"338819391414494259159727056694013149353",
"230958869364681918702816668222220358836",
"158746026644328089318787314554440189722",
"268355732636889852237328101931654433409",
"67031499797897663877832767313901903090",
"96605379268386498454836697273243333127",
"288034789537922468605549320263844059101",
"217384178824420192664397601213928717901",
"124592738109220967511012681799044457086",
"49209023896970177613354024388765082324",
"46484600364845652360014359377675027389",
"333373017036412951477972624239174939678"
]
},
"signature_type": "Line",
"target": {
"file": "kernel/bpf/preload/bpf_preload_kern.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f60a85cad677c4f9bb4cadd764f1d106c38c7cf8",
"deprecated": false
},
{
"id": "CVE-2021-29649-1633ab77",
"digest": {
"length": 218.0,
"function_hash": "188839065885846612409287113720905840932"
},
"signature_type": "Function",
"target": {
"file": "kernel/usermode_driver.c",
"function": "umd_cleanup"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f60a85cad677c4f9bb4cadd764f1d106c38c7cf8",
"deprecated": false
},
{
"id": "CVE-2021-29649-21d0778b",
"digest": {
"length": 174.0,
"function_hash": "77328922101906117267383423567729320290"
},
"signature_type": "Function",
"target": {
"file": "kernel/bpf/preload/bpf_preload_kern.c",
"function": "fini_umd"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f60a85cad677c4f9bb4cadd764f1d106c38c7cf8",
"deprecated": false
},
{
"id": "CVE-2021-29649-792440db",
"digest": {
"length": 358.0,
"function_hash": "200254671047936991973999443845552941445"
},
"signature_type": "Function",
"target": {
"file": "kernel/bpf/preload/bpf_preload_kern.c",
"function": "finish"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f60a85cad677c4f9bb4cadd764f1d106c38c7cf8",
"deprecated": false
},
{
"id": "CVE-2021-29649-b2c26ee1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"169168894104426539142805067293460935961",
"154763150315221147452169857134501181737",
"222352628849937874994090694233589145079",
"70358964093477562527370588462897283839",
"47352100576631761973510103045645300059",
"16538124120093763559642255655518906226",
"185139382736090392420216619137763466560",
"61615133785089230250507884491254291537",
"75516044660338764508792266908563024754",
"195277224832113556548956365101731027790"
]
},
"signature_type": "Line",
"target": {
"file": "kernel/usermode_driver.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f60a85cad677c4f9bb4cadd764f1d106c38c7cf8",
"deprecated": false
},
{
"id": "CVE-2021-29649-d178276d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"213970560120134463488193156423715441800",
"209554201906911554988333056865105003764"
]
},
"signature_type": "Line",
"target": {
"file": "include/linux/usermode_driver.h"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f60a85cad677c4f9bb4cadd764f1d106c38c7cf8",
"deprecated": false
}
]