In the Linux kernel through 4.14.13, the rdscmsgatomic function in net/rds/rdma.c mishandles cases where page pinning fails or an invalid address is supplied, leading to an rdsatomicfree_op NULL pointer dereference.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-5333.json"
[
{
"signature_type": "Function",
"id": "CVE-2018-5333-84780e8b",
"target": {
"function": "rds_cmsg_atomic",
"file": "net/rds/rdma.c"
},
"digest": {
"length": 2613.0,
"function_hash": "161548422021340073871904506299326256754"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7d11f77f84b27cef452cee332f4e469503084737"
},
{
"signature_type": "Line",
"id": "CVE-2018-5333-a9cbc11a",
"target": {
"file": "net/rds/rdma.c"
},
"digest": {
"line_hashes": [
"146466003202084378958890136626817838171",
"58207197325334556604435699917667142846",
"133746622062030825092025957604306135970",
"38192674994422691214077374541238266059"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7d11f77f84b27cef452cee332f4e469503084737"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-5333.json"
[
{
"signature_type": "Function",
"id": "CVE-2018-5333-0b383001",
"target": {
"function": "rds_cmsg_atomic",
"file": "net/rds/rdma.c"
},
"digest": {
"length": 2613.0,
"function_hash": "161548422021340073871904506299326256754"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/7d11f77f84b27cef452cee332f4e469503084737"
},
{
"signature_type": "Line",
"id": "CVE-2018-5333-bc84a6e7",
"target": {
"file": "net/rds/rdma.c"
},
"digest": {
"line_hashes": [
"146466003202084378958890136626817838171",
"58207197325334556604435699917667142846",
"133746622062030825092025957604306135970",
"38192674994422691214077374541238266059"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/7d11f77f84b27cef452cee332f4e469503084737"
}
]