2024-03-06 10:00:36 +00:00
{
2024-04-01 20:48:34 +00:00
"data_version" : "4.0" ,
2024-03-06 10:00:36 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2023-52617" ,
2024-04-01 20:48:34 +00:00
"ASSIGNER" : "cve@kernel.org" ,
"STATE" : "PUBLIC"
2024-03-06 10:00:36 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-04-01 20:48:34 +00:00
"value" : "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: switchtec: Fix stdev_release() crash after surprise hot remove\n\nA PCI device hot removal may occur while stdev->cdev is held open. The call\nto stdev_release() then happens during close or exit, at a point way past\nswitchtec_pci_remove(). Otherwise the last ref would vanish with the\ntrailing put_device(), just before return.\n\nAt that later point in time, the devm cleanup has already removed the\nstdev->mmio_mrpc mapping. Also, the stdev->pdev reference was not a counted\none. Therefore, in DMA mode, the iowrite32() in stdev_release() will cause\na fatal page fault, and the subsequent dma_free_coherent(), if reached,\nwould pass a stale &stdev->pdev->dev pointer.\n\nFix by moving MRPC DMA shutdown into switchtec_pci_remove(), after\nstdev_kill(). Counting the stdev->pdev ref is now optional, but may prevent\nfuture accidents.\n\nReproducible via the script at\nhttps://lore.kernel.org/r/20231113212150.96410-1-dns@arista.com"
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "n/a"
}
]
}
]
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "Linux" ,
"product" : {
"product_data" : [
{
"product_name" : "Linux" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_name" : "1da177e4c3f4" ,
"version_value" : "d8c293549946"
} ,
{
"version_value" : "not down converted" ,
"x_cve_json_5_version_data" : {
"versions" : [
{
"version" : "5.4.269" ,
"lessThanOrEqual" : "5.4.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "5.10.210" ,
"lessThanOrEqual" : "5.10.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "5.15.149" ,
"lessThanOrEqual" : "5.15.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.1.77" ,
"lessThanOrEqual" : "6.1.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.6.16" ,
"lessThanOrEqual" : "6.6.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.7.4" ,
"lessThanOrEqual" : "6.7.*" ,
"status" : "unaffected" ,
"versionType" : "custom"
} ,
{
"version" : "6.8" ,
"lessThanOrEqual" : "*" ,
"status" : "unaffected" ,
"versionType" : "original_commit_for_fix"
}
] ,
"defaultStatus" : "affected"
}
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://git.kernel.org/stable/c/d8c293549946ee5078ed0ab77793cec365559355" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/d8c293549946ee5078ed0ab77793cec365559355"
} ,
{
"url" : "https://git.kernel.org/stable/c/4a5d0528cf19dbf060313dffbe047bc11c90c24c" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/4a5d0528cf19dbf060313dffbe047bc11c90c24c"
} ,
{
"url" : "https://git.kernel.org/stable/c/ff1c7e2fb9e9c3f53715fbe04d3ac47b80be7eb8" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/ff1c7e2fb9e9c3f53715fbe04d3ac47b80be7eb8"
} ,
{
"url" : "https://git.kernel.org/stable/c/1d83c85922647758c1f1e4806a4c5c3cf591a20a" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/1d83c85922647758c1f1e4806a4c5c3cf591a20a"
} ,
{
"url" : "https://git.kernel.org/stable/c/0233b836312e39a3c763fb53512b3fa455b473b3" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/0233b836312e39a3c763fb53512b3fa455b473b3"
} ,
{
"url" : "https://git.kernel.org/stable/c/e129c7fa7070fbce57feb0bfc5eaa65eef44b693" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/e129c7fa7070fbce57feb0bfc5eaa65eef44b693"
} ,
{
"url" : "https://git.kernel.org/stable/c/df25461119d987b8c81d232cfe4411e91dcabe66" ,
"refsource" : "MISC" ,
"name" : "https://git.kernel.org/stable/c/df25461119d987b8c81d232cfe4411e91dcabe66"
2024-03-06 10:00:36 +00:00
}
]
2024-04-01 20:48:34 +00:00
} ,
"generator" : {
"engine" : "bippy-8df59b4913de"
2024-03-06 10:00:36 +00:00
}
}