mirror of
https://github.com/CVEProject/cvelist.git
synced 2025-07-30 18:04:30 +00:00
193 lines
11 KiB
JSON
193 lines
11 KiB
JSON
{
|
|
"data_version": "4.0",
|
|
"data_type": "CVE",
|
|
"data_format": "MITRE",
|
|
"CVE_data_meta": {
|
|
"ID": "CVE-2024-35825",
|
|
"ASSIGNER": "cve@kernel.org",
|
|
"STATE": "PUBLIC"
|
|
},
|
|
"description": {
|
|
"description_data": [
|
|
{
|
|
"lang": "eng",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: ncm: Fix handling of zero block length packets\n\nWhile connecting to a Linux host with CDC_NCM_NTB_DEF_SIZE_TX\nset to 65536, it has been observed that we receive short packets,\nwhich come at interval of 5-10 seconds sometimes and have block\nlength zero but still contain 1-2 valid datagrams present.\n\nAccording to the NCM spec:\n\n\"If wBlockLength = 0x0000, the block is terminated by a\nshort packet. In this case, the USB transfer must still\nbe shorter than dwNtbInMaxSize or dwNtbOutMaxSize. If\nexactly dwNtbInMaxSize or dwNtbOutMaxSize bytes are sent,\nand the size is a multiple of wMaxPacketSize for the\ngiven pipe, then no ZLP shall be sent.\n\nwBlockLength= 0x0000 must be used with extreme care, because\nof the possibility that the host and device may get out of\nsync, and because of test issues.\n\nwBlockLength = 0x0000 allows the sender to reduce latency by\nstarting to send a very large NTB, and then shortening it when\nthe sender discovers that there\u2019s not sufficient data to justify\nsending a large NTB\"\n\nHowever, there is a potential issue with the current implementation,\nas it checks for the occurrence of multiple NTBs in a single\ngiveback by verifying if the leftover bytes to be processed is zero\nor not. If the block length reads zero, we would process the same\nNTB infintely because the leftover bytes is never zero and it leads\nto a crash. Fix this by bailing out if block length reads zero."
|
|
}
|
|
]
|
|
},
|
|
"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": "ff3ba016263e",
|
|
"version_value": "e2dbfea520e6"
|
|
},
|
|
{
|
|
"version_affected": "<",
|
|
"version_name": "e7ca00f35d8a",
|
|
"version_value": "a766761d206e"
|
|
},
|
|
{
|
|
"version_affected": "<",
|
|
"version_name": "17c653d4913b",
|
|
"version_value": "ef846cdbd100"
|
|
},
|
|
{
|
|
"version_affected": "<",
|
|
"version_name": "7014807fb7ef",
|
|
"version_value": "92b051b87658"
|
|
},
|
|
{
|
|
"version_affected": "<",
|
|
"version_name": "49fbc18378ae",
|
|
"version_value": "7664ee8bd803"
|
|
},
|
|
{
|
|
"version_affected": "<",
|
|
"version_name": "427694cfaafa",
|
|
"version_value": "a0f77b5d6067"
|
|
},
|
|
{
|
|
"version_value": "not down converted",
|
|
"x_cve_json_5_version_data": {
|
|
"versions": [
|
|
{
|
|
"version": "6.6",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "6.6",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "4.19.312",
|
|
"lessThanOrEqual": "4.19.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.4.274",
|
|
"lessThanOrEqual": "5.4.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.10.215",
|
|
"lessThanOrEqual": "5.10.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.15.154",
|
|
"lessThanOrEqual": "5.15.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.1.84",
|
|
"lessThanOrEqual": "6.1.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.6.24",
|
|
"lessThanOrEqual": "6.6.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.7.12",
|
|
"lessThanOrEqual": "6.7.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.8",
|
|
"lessThanOrEqual": "*",
|
|
"status": "unaffected",
|
|
"versionType": "original_commit_for_fix"
|
|
}
|
|
],
|
|
"defaultStatus": "affected"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"references": {
|
|
"reference_data": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/e2dbfea520e60d58e0c498ba41bde10452257779",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/e2dbfea520e60d58e0c498ba41bde10452257779"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/a766761d206e7c36d7526e0ae749949d17ca582c",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/a766761d206e7c36d7526e0ae749949d17ca582c"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/ef846cdbd100f7f9dc045e8bcd7fe4b3a3713c03",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/ef846cdbd100f7f9dc045e8bcd7fe4b3a3713c03"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/92b051b87658df7649ffcdef522593f21a2b296b",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/92b051b87658df7649ffcdef522593f21a2b296b"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/7664ee8bd80309b90d53488b619764f0a057f2b7",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/7664ee8bd80309b90d53488b619764f0a057f2b7"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/a0f77b5d6067285b8eca0ee3bd1e448a6258026f",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/a0f77b5d6067285b8eca0ee3bd1e448a6258026f"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/6b2c73111a252263807b7598682663dc33aa4b4c",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/6b2c73111a252263807b7598682663dc33aa4b4c"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/f90ce1e04cbcc76639d6cba0fdbd820cd80b3c70",
|
|
"refsource": "MISC",
|
|
"name": "https://git.kernel.org/stable/c/f90ce1e04cbcc76639d6cba0fdbd820cd80b3c70"
|
|
}
|
|
]
|
|
},
|
|
"generator": {
|
|
"engine": "bippy-9e1c9544281a"
|
|
}
|
|
} |