Files
vuln-cve/data/2022/50xxx/CVE-2022-50874.json
T

143 lines
6.1 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-50874",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-12-30T12:06:07.137Z",
"datePublished": "2025-12-30T12:23:15.388Z",
"dateUpdated": "2026-05-11T19:26:47.947Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T19:26:47.947Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/erdma: Fix refcount leak in erdma_mmap\n\nrdma_user_mmap_entry_get() take reference, we should release it when not\nneed anymore, add the missing rdma_user_mmap_entry_put() in the error\npath to fix it."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/infiniband/hw/erdma/erdma_verbs.c"
],
"versions": [
{
"version": "155055771704f8cbb5c176a4309b7dc30a50450c",
"lessThan": "8372207b009d6abdd60bb05624640bd86386599f",
"status": "affected",
"versionType": "git"
},
{
"version": "155055771704f8cbb5c176a4309b7dc30a50450c",
"lessThan": "410f0f46ffca4d0102470c1e0c747ecfece4204c",
"status": "affected",
"versionType": "git"
},
{
"version": "155055771704f8cbb5c176a4309b7dc30a50450c",
"lessThan": "ee84146c05ad2316b9a7222d0ec4413e0bf30eeb",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/infiniband/hw/erdma/erdma_verbs.c"
],
"versions": [
{
"version": "6.0",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.0",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.16",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.2.3",
"lessThanOrEqual": "6.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.0",
"versionEndExcluding": "6.1.16"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.0",
"versionEndExcluding": "6.2.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.0",
"versionEndExcluding": "6.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/8372207b009d6abdd60bb05624640bd86386599f"
},
{
"url": "https://git.kernel.org/stable/c/410f0f46ffca4d0102470c1e0c747ecfece4204c"
},
{
"url": "https://git.kernel.org/stable/c/ee84146c05ad2316b9a7222d0ec4413e0bf30eeb"
}
],
"title": "RDMA/erdma: Fix refcount leak in erdma_mmap",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}