An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. There is an out-of-bounds read and OOPS for SMB2_WRITE, when there is a large length in the zero DataOffset case.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-47943.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ac60778b87e45576d7bfdbd6f53df902654e6f09",
"digest": {
"line_hashes": [
"25327370806616874081571311903429855025",
"231796848854606141010880654217809760044",
"234724835303170357694202796752604469022",
"3980272772043614659399382622357822545",
"125061859617821204085298181641906961205",
"284645633346606220809863948462369641287",
"87398475669339058776504579869334569296",
"336056564089258493030679038054851576560",
"227675685551237542933185298556386656065",
"312471975081464707887381227687732179944",
"276628009918735829351446357084677907352"
],
"threshold": 0.9
},
"id": "CVE-2022-47943-6b61ccac",
"deprecated": false,
"target": {
"file": "fs/ksmbd/smb2pdu.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ac60778b87e45576d7bfdbd6f53df902654e6f09",
"digest": {
"line_hashes": [
"325743389040955611847917529919100215049",
"199745274557593297408432753272386732247",
"230902045640115454232770797597506373102",
"309587746464865152475870012806258110256",
"238715592126928732873319825953422467895"
],
"threshold": 0.9
},
"id": "CVE-2022-47943-a56b28e1",
"deprecated": false,
"target": {
"file": "fs/ksmbd/smb2misc.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ac60778b87e45576d7bfdbd6f53df902654e6f09",
"digest": {
"function_hash": "36394757689752003571764129047822822125",
"length": 3257.0
},
"id": "CVE-2022-47943-bd05353b",
"deprecated": false,
"target": {
"file": "fs/ksmbd/smb2pdu.c",
"function": "smb2_write"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ac60778b87e45576d7bfdbd6f53df902654e6f09",
"digest": {
"function_hash": "257317302000794641221621997474151388384",
"length": 2787.0
},
"id": "CVE-2022-47943-eb7bd51a",
"deprecated": false,
"target": {
"file": "fs/ksmbd/smb2misc.c",
"function": "smb2_get_data_area_len"
}
}
]