blob: 914319387cb886cba6958aa3608f535dd7a5ff7e [file] [log] [blame]
{
"containers": {
"cna": {
"providerMetadata": {
"orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: free queued packets when closing socket\n\nAs reported by syzbot [1], there is a memory leak while closing the\nsocket. We partially solved this issue with commit ac03046ece2b\n(\"vsock/virtio: free packets during the socket release\"), but we\nforgot to drain the RX queue when the socket is definitely closed by\nthe scheduled work.\n\nTo avoid future issues, let's use the new virtio_transport_remove_sock()\nto drain the RX queue before removing the socket from the af_vsock lists\ncalling vsock_remove_sock().\n\n[1] https://syzkaller.appspot.com/bug?extid=24452624fc4c571eedd9"
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/vmw_vsock/virtio_transport_common.c"
],
"versions": [
{
"version": "ac03046ece2b158ebd204dfc4896fd9f39f0e6c8",
"lessThan": "b605673b523fe33abeafb2136759bcbc9c1e6ebf",
"status": "affected",
"versionType": "git"
},
{
"version": "ac03046ece2b158ebd204dfc4896fd9f39f0e6c8",
"lessThan": "27691665145e74a45034a9dccf1150cf1894763a",
"status": "affected",
"versionType": "git"
},
{
"version": "ac03046ece2b158ebd204dfc4896fd9f39f0e6c8",
"lessThan": "37c38674ef2f8d7e8629e5d433c37d6c1273d16b",
"status": "affected",
"versionType": "git"
},
{
"version": "ac03046ece2b158ebd204dfc4896fd9f39f0e6c8",
"lessThan": "8432b8114957235f42e070a16118a7f750de9d39",
"status": "affected",
"versionType": "git"
},
{
"version": "4ea082cd3c400cd5bb36a7beb7e441bf3e29350d",
"status": "affected",
"versionType": "git"
},
{
"version": "4e539fa2dec4db3405e47002f2878aa4a99eb68b",
"status": "affected",
"versionType": "git"
},
{
"version": "4af8a327aeba102aaa9b78f3451f725bc590b237",
"status": "affected",
"versionType": "git"
},
{
"version": "51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b",
"status": "affected",
"versionType": "git"
},
{
"version": "7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/vmw_vsock/virtio_transport_common.c"
],
"versions": [
{
"version": "5.2",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.2",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.37",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.11.21",
"lessThanOrEqual": "5.11.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.12.4",
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.13",
"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": "5.2",
"versionEndExcluding": "5.10.37"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.2",
"versionEndExcluding": "5.11.21"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.2",
"versionEndExcluding": "5.12.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.2",
"versionEndExcluding": "5.13"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9.179"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.14.122"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19.46"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.0.19"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1.5"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf"
},
{
"url": "https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763a"
},
{
"url": "https://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16b"
},
{
"url": "https://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39"
}
],
"title": "vsock/virtio: free queued packets when closing socket",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
"cveID": "CVE-2021-47024",
"requesterUserId": "gregkh@kernel.org",
"serial": "1",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.0"
}