Files
vuln-cve/data/2024/49xxx/CVE-2024-49568.json
T

260 lines
14 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-49568",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-01-11T12:34:02.664Z",
"datePublished": "2025-01-11T12:35:36.190Z",
"dateUpdated": "2026-10-15T21:41:45.403Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-03T10:55:19.630Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg\n\nWhen receiving proposal msg in server, the fields v2_ext_offset/\neid_cnt/ism_gid_cnt in proposal msg are from the remote client\nand can not be fully trusted. Especially the field v2_ext_offset,\nonce exceed the max value, there has the chance to access wrong\naddress, and crash may happen.\n\nThis patch checks the fields v2_ext_offset/eid_cnt/ism_gid_cnt\nbefore using them."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The malformed CLC proposal arrives as ordinary TCP payload from a remote peer on an SMC-enabled listening socket and is parsed by `smc_listen_work()`/`smc_clc_wait_msg()`. No local access or network adjacency is needed — any host that can reach the listener can trigger it.\nAC:L - The attacker controls every field involved (`version`, `typev1`, `typev2`, `iparea_offset`, `v2_ext_offset`) and an 8-byte payload deterministically produces the NULL dereference; the wild-pointer variant needs only a chosen 16-bit offset. No race, no memory-layout precondition, no state outside the attacker's control.\nPR:N - The CLC handshake runs immediately after the TCP three-way handshake, entirely before any application-level authentication, and `smc_clc_msg_prop_valid()` is the first validation performed on the peer's data. An unauthenticated remote attacker reaches it.\nUI:N - The kernel's listen worker parses the proposal automatically on connection accept; no local user or administrator action is required.\nS:U - The wild-pointer reads, writes and crash all occur within the kernel's own security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - `v2_ext_offset` up to 65535 (vs. a legitimate max of 172) points the parser up to ~64 KB past a ~676-byte slab object, and the OOB-read `smcd_v2_ext_offset` extends that another 64 KB; `smc_clc_match_eid()` scans up to 8 KB of it and the OOB-read `max_conns`/`max_links` are negotiated and reflected back to the attacker. This is a wide, attacker-directed kernel memory read, not a bounded few-byte leak.\nI:H - Removing the `ism_gid_cnt` bound lets `smc_check_ism_v2_match()` write attacker-supplied 64-bit GIDs, `smcd_dev` pointers and CHIDs past the 9-element `ism_peer_gid`/`ism_dev`/`ism_chid` arrays in the kzalloc'd `struct smc_init_info` on hosts with ≥10 SMC-D devices, and uncontrolled OOB-read bytes (`roce[]`, `system_eid`, GIDs) are installed as the link group's RDMA/ISM connection parameters.\nA:H - An 8-byte packet yields a guaranteed NULL-pointer oops in the `smc_hs_wq` worker while `lock_sock()` is held (full panic under `panic_on_oops`), and the wild-pointer faults occur while holding the global `smc_server_lgr_pending` mutex, permanently deadlocking every subsequent SMC server handshake. It is repeatable at will from an unauthenticated connection."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/smc/af_smc.c",
"net/smc/smc_clc.c",
"net/smc/smc_clc.h"
],
"versions": [
{
"version": "8c3dca341aea885249e08856c4380300b75d2cf5",
"lessThan": "9cc0170ae646876aa5de2f0cad3066ce53e86f27",
"status": "affected",
"versionType": "git"
},
{
"version": "8c3dca341aea885249e08856c4380300b75d2cf5",
"lessThan": "49798283fce4c1a24fb1ba4c7c39127739535571",
"status": "affected",
"versionType": "git"
},
{
"version": "8c3dca341aea885249e08856c4380300b75d2cf5",
"lessThan": "690b9a8db9460d065785548e43fd6a02d247c1b7",
"status": "affected",
"versionType": "git"
},
{
"version": "8c3dca341aea885249e08856c4380300b75d2cf5",
"lessThan": "295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"status": "affected",
"versionType": "git"
},
{
"version": "8c3dca341aea885249e08856c4380300b75d2cf5",
"lessThan": "42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"status": "affected",
"versionType": "git"
},
{
"version": "8c3dca341aea885249e08856c4380300b75d2cf5",
"lessThan": "7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"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/smc/af_smc.c",
"net/smc/smc_clc.c",
"net/smc/smc_clc.h"
],
"versions": [
{
"version": "5.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.10",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.271",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.222",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.189",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.68",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.7",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.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.10",
"versionEndExcluding": "5.10.271"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "5.15.222"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.1.189"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.6.68"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.12.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.13"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/9cc0170ae646876aa5de2f0cad3066ce53e86f27"
},
{
"url": "https://git.kernel.org/stable/c/49798283fce4c1a24fb1ba4c7c39127739535571"
},
{
"url": "https://git.kernel.org/stable/c/690b9a8db9460d065785548e43fd6a02d247c1b7"
},
{
"url": "https://git.kernel.org/stable/c/295a92e3df32e72aff0f4bc25c310e349d07ffbf"
},
{
"url": "https://git.kernel.org/stable/c/42f6beb2d5779429417b5f8115a4e3fa695d2a6c"
},
{
"url": "https://git.kernel.org/stable/c/7863c9f3d24ba49dbead7e03dfbe40deb5888fdf"
}
],
"title": "net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-49568",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-15T21:40:30.354389Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-15T21:41:45.403Z"
}
}
]
}
}