In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: Trap RDMA segment overflows
Prevent svcrdmabuild_writes() from walking off the end of a Write chunk's segment array. Caught with KASAN.
The test that this fix replaces is invalid, and might have been left over from an earlier prototype of the PCL work.
[
{
"signature_type": "Function",
"digest": {
"function_hash": "4734142145018660935280686332571397938",
"length": 1176.0
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c",
"function": "svc_rdma_build_writes"
},
"signature_version": "v1",
"id": "CVE-2022-49356-8882a8dd",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f012e95b377c73c0283f009823c633104dedb337"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"15378495221411215889610185347760602288",
"222013878664483626258130485743653668352",
"48318415916169046498045044772149648127",
"195052419352592749898440157079669045356",
"130279065378453033347157044309968934976",
"93150061621026382749046610915958700942"
]
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c"
},
"signature_version": "v1",
"id": "CVE-2022-49356-8ec10f98",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea26bf5eca1459b5a7824997d7823409ce38214e"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"15378495221411215889610185347760602288",
"222013878664483626258130485743653668352",
"48318415916169046498045044772149648127",
"195052419352592749898440157079669045356",
"130279065378453033347157044309968934976",
"93150061621026382749046610915958700942"
]
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c"
},
"signature_version": "v1",
"id": "CVE-2022-49356-a219ccd8",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f012e95b377c73c0283f009823c633104dedb337"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "4734142145018660935280686332571397938",
"length": 1176.0
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c",
"function": "svc_rdma_build_writes"
},
"signature_version": "v1",
"id": "CVE-2022-49356-c02a9a65",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@659f7568e09593945c221bf20217a82ebdfe1328"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"15378495221411215889610185347760602288",
"222013878664483626258130485743653668352",
"48318415916169046498045044772149648127",
"195052419352592749898440157079669045356",
"130279065378453033347157044309968934976",
"93150061621026382749046610915958700942"
]
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c"
},
"signature_version": "v1",
"id": "CVE-2022-49356-cf512b02",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@659f7568e09593945c221bf20217a82ebdfe1328"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "4734142145018660935280686332571397938",
"length": 1176.0
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c",
"function": "svc_rdma_build_writes"
},
"signature_version": "v1",
"id": "CVE-2022-49356-e0a3fd21",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea26bf5eca1459b5a7824997d7823409ce38214e"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"15378495221411215889610185347760602288",
"222013878664483626258130485743653668352",
"48318415916169046498045044772149648127",
"195052419352592749898440157079669045356",
"130279065378453033347157044309968934976",
"93150061621026382749046610915958700942"
]
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c"
},
"signature_version": "v1",
"id": "CVE-2022-49356-e5f5930d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@812c13521d4a72469c78ce06d8cdc8dc5b5557b5"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "4734142145018660935280686332571397938",
"length": 1176.0
},
"target": {
"file": "net/sunrpc/xprtrdma/svc_rdma_rw.c",
"function": "svc_rdma_build_writes"
},
"signature_version": "v1",
"id": "CVE-2022-49356-ff2799c6",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@812c13521d4a72469c78ce06d8cdc8dc5b5557b5"
}
]