2024-02-28 11:08:34 +00:00
{
"id" : "CVE-2021-47013" ,
"sourceIdentifier" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"published" : "2024-02-28T09:15:38.800" ,
2024-12-09 19:03:47 +00:00
"lastModified" : "2024-12-09T17:59:07.173" ,
"vulnStatus" : "Analyzed" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2024-02-28 11:08:34 +00:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "In the Linux kernel, the following vulnerability has been resolved:\n\nnet:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send\n\nIn emac_mac_tx_buf_send, it calls emac_tx_fill_tpd(..,skb,..).\nIf some error happens in emac_tx_fill_tpd(), the skb will be freed via\ndev_kfree_skb(skb) in error branch of emac_tx_fill_tpd().\nBut the freed skb is still used via skb->len by netdev_sent_queue(,skb->len).\n\nAs i observed that emac_tx_fill_tpd() haven't modified the value of skb->len,\nthus my patch assigns skb->len to 'len' before the possible free and\nuse 'len' instead of skb->len later."
2024-04-04 08:46:00 +00:00
} ,
{
"lang" : "es" ,
"value" : "En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: net:emac/emac-mac: Se corrige un uso after free en emac_mac_tx_buf_send En emac_mac_tx_buf_send, llama a emac_tx_fill_tpd(..,skb,..). Si ocurre alg\u00fan error en emac_tx_fill_tpd(), el skb se liberar\u00e1 mediante dev_kfree_skb(skb) en la rama de error de emac_tx_fill_tpd(). Pero el skb liberado todav\u00eda se usa a trav\u00e9s de skb->len por netdev_sent_queue(,skb->len). Como observ\u00e9 que emac_tx_fill_tpd() no ha modificado el valor de skb->len, por lo tanto mi parche asigna skb->len a 'len' antes del posible free y usa 'len' en lugar de skb->len m\u00e1s tarde."
2024-02-28 11:08:34 +00:00
}
] ,
2024-12-09 19:03:47 +00:00
"metrics" : {
"cvssMetricV31" : [
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" ,
"baseScore" : 7.8 ,
"baseSeverity" : "HIGH" ,
"attackVector" : "LOCAL" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"availabilityImpact" : "HIGH"
} ,
"exploitabilityScore" : 1.8 ,
"impactScore" : 5.9
}
]
} ,
"weaknesses" : [
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-416"
}
]
}
] ,
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "4.9" ,
"versionEndExcluding" : "4.9.269" ,
"matchCriteriaId" : "5330E43C-47EE-40CA-B1A9-C1AAC143732E"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "4.10" ,
"versionEndExcluding" : "4.14.233" ,
"matchCriteriaId" : "4836AF17-022D-49D0-9A8A-AF66FE8DCEB8"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "4.15" ,
"versionEndExcluding" : "4.19.191" ,
"matchCriteriaId" : "5B6E6817-19A8-4C0A-8807-71DA48CF9191"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "4.20" ,
"versionEndExcluding" : "5.4.119" ,
"matchCriteriaId" : "E07BA880-1043-4674-AC45-266B3B4A44C7"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "5.5" ,
"versionEndExcluding" : "5.10.37" ,
"matchCriteriaId" : "7A4CF5D6-ACBA-4980-ABFD-3D7A53B5BB4E"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "5.11" ,
"versionEndExcluding" : "5.11.21" ,
"matchCriteriaId" : "8CBB94EC-EC33-4464-99C5-03E5542715F0"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "5.12" ,
"versionEndExcluding" : "5.12.4" ,
"matchCriteriaId" : "D8C7052F-1B7B-4327-9C2B-84EBF3243838"
}
]
}
]
}
] ,
2024-02-28 11:08:34 +00:00
"references" : [
{
"url" : "https://git.kernel.org/stable/c/16d8c44be52e3650917736d45f5904384a9da834" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/55fcdd1258faaecca74b91b88cc0921f9edd775d" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/6d72e7c767acbbdd44ebc7d89c6690b405b32b57" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/8c06f34785068b87e2b560534c77c163d6c6dca7" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/9dc373f74097edd0e35f3393d6248eda8d1ba99d" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/c7f75d11fe72913d2619f97b2334b083cd7bb955" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/dc1b438a35773d030be0ee80d9c635c3e558a322" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/e407495ba6788a67d1bd41714158c079e340879b" ,
2024-12-09 19:03:47 +00:00
"source" : "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/16d8c44be52e3650917736d45f5904384a9da834" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/55fcdd1258faaecca74b91b88cc0921f9edd775d" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/6d72e7c767acbbdd44ebc7d89c6690b405b32b57" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/8c06f34785068b87e2b560534c77c163d6c6dca7" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/9dc373f74097edd0e35f3393d6248eda8d1ba99d" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/c7f75d11fe72913d2619f97b2334b083cd7bb955" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/dc1b438a35773d030be0ee80d9c635c3e558a322" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://git.kernel.org/stable/c/e407495ba6788a67d1bd41714158c079e340879b" ,
2024-12-09 19:03:47 +00:00
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
2024-02-28 11:08:34 +00:00
}
]
}