241 lines
13 KiB
JSON
241 lines
13 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2024-49571",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2025-01-11T12:33:33.704Z",
|
|
"datePublished": "2025-01-11T12:35:36.957Z",
|
|
"dateUpdated": "2026-08-05T11:40:02.429Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-08-05T11:40:02.429Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg\n\nWhen receiving proposal msg in server, the field iparea_offset\nand the field ipv6_prefixes_cnt in proposal msg are from the\nremote client and can not be fully trusted. Especially the\nfield iparea_offset, once exceed the max value, there has the\nchance to access wrong address, and crash may happen.\n\nThis patch checks iparea_offset and ipv6_prefixes_cnt before 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:N/A:H",
|
|
"baseScore": 9.1,
|
|
"baseSeverity": "CRITICAL"
|
|
},
|
|
"scenarios": [
|
|
{
|
|
"lang": "en",
|
|
"value": "AV:N - The malformed CLC Proposal is received over a routable TCP connection by the in-kernel SMC listener (`smc_listen_work()`), with all attacker-controlled fields (`iparea_offset`, `ipv6_prefixes_cnt`, `hdr.length`, `typev1`) coming straight off the wire. Any remote host that can reach an SMC-enabled listening socket can deliver it.\nAC:L - The attacker fully controls every field involved; no race, memory grooming, or unpredictable state is needed, and the only variable — the server's IP prefix length for `smc_clc_prfx_match4_rcu()` — is brute-forceable in at most 32 connections. The OOB read in `smc_clc_msg_prop_valid()` triggers on the very first packet with no preconditions at all.\nPR:N - The CLC handshake is the first exchange after TCP accept and SMC performs no authentication whatsoever, so the vulnerable parsing runs entirely pre-authentication. The attacker needs only the ability to complete a TCP handshake with the SMC experimental option set.\nUI:N - The server-side listen worker parses the proposal automatically upon connection; no action by any local user or administrator is required. A single unsolicited connection suffices.\nS:U - The out-of-bounds reads and the NULL dereference occur within the kernel's own memory and security authority, with no crossing of a VM, IOMMU, or sandbox boundary. Impact is confined to the kernel that parsed the message.\nC:H - `iparea_offset` lets the prefix pointer land up to ~64 KB past a ~656-byte kmalloc-1k object, and the OOB-read `ipv6_prefixes_cnt` is checked for equality against the attacker's own `hdr->length`, making success remotely observable — a byte-granular read oracle over a large window of adjacent kernel heap (kernel pointers, other sockets' data). `smc_clc_prfx_match()` reads ~144 further OOB bytes and reflects the result back as a decline reason, so this is far more than a strictly bounded few-byte read.\nI:N - The out-of-bounds pointer is only ever dereferenced for reads (`smc_clc_msg_prop_valid()`, `smc_clc_prfx_match4_rcu()`/`match6_rcu()`), and the additional defect is a NULL-pointer read; no attacker-controlled data is written out of bounds and no control-flow hijack primitive arises.\nA:H - With `typev1=SMC_TYPE_D` and `iparea_offset != 40`, `smc_find_ism_v1_device_serv()` dereferences a NULL `pclc_smcd`, oopsing the `smc_hs_wq` worker while `smc_server_lgr_pending` and the socket lock are held and never released, permanently deadlocking all further SMC server handshakes; the far OOB read can also fault on unmapped memory, and `panic_on_oops` turns either into a full system panic."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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": "e7b7a64a8493d47433fd003efbe6543e3f676294",
|
|
"lessThan": "846bada23bfcdeb83621b045ed85dc06c7833ff0",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e7b7a64a8493d47433fd003efbe6543e3f676294",
|
|
"lessThan": "f10635268a0a49ee902a3b63b5dbb76f4fed498e",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e7b7a64a8493d47433fd003efbe6543e3f676294",
|
|
"lessThan": "62056d1592e63d85e82357ee2ae6a6a294f440b0",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e7b7a64a8493d47433fd003efbe6543e3f676294",
|
|
"lessThan": "91a7c27c1444ed4677b83fd5308d2cf03f5f0851",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e7b7a64a8493d47433fd003efbe6543e3f676294",
|
|
"lessThan": "47ce46349672a7e0c361bfe39ed0b22e824ef4fb",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e7b7a64a8493d47433fd003efbe6543e3f676294",
|
|
"lessThan": "a29e220d3c8edbf0e1beb0f028878a4a85966556",
|
|
"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": "4.16",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "4.16",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.10.233",
|
|
"lessThanOrEqual": "5.10.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.15.176",
|
|
"lessThanOrEqual": "5.15.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.1.122",
|
|
"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": "4.16",
|
|
"versionEndExcluding": "5.10.233"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.16",
|
|
"versionEndExcluding": "5.15.176"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.16",
|
|
"versionEndExcluding": "6.1.122"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.16",
|
|
"versionEndExcluding": "6.6.68"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.16",
|
|
"versionEndExcluding": "6.12.7"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.16",
|
|
"versionEndExcluding": "6.13"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/846bada23bfcdeb83621b045ed85dc06c7833ff0"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/f10635268a0a49ee902a3b63b5dbb76f4fed498e"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/62056d1592e63d85e82357ee2ae6a6a294f440b0"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/91a7c27c1444ed4677b83fd5308d2cf03f5f0851"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/47ce46349672a7e0c361bfe39ed0b22e824ef4fb"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/a29e220d3c8edbf0e1beb0f028878a4a85966556"
|
|
}
|
|
],
|
|
"title": "net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"title": "CVE Program Container",
|
|
"references": [
|
|
{
|
|
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2025-11-03T20:41:09.035Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |