Files
vuln-cve/data/2024/53xxx/CVE-2024-53226.json
T

361 lines
18 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-53226",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-11-19T17:17:25.025Z",
"datePublished": "2024-12-27T13:50:15.488Z",
"dateUpdated": "2026-08-05T11:44:45.578Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:44:45.578Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()\n\nib_map_mr_sg() allows ULPs to specify NULL as the sg_offset argument.\nThe driver needs to check whether it is a NULL pointer before\ndereferencing it."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The rtrs-srv RDMA block-storage target reaches the vulnerable call from its RDMA_CM connect-request handler (rtrs-srv.c:1978 → __alloc_path → map_cont_bufs → ib_map_mr_sg(..., NULL)), so a remote peer's connection packet drives the deref; hns is RoCEv2 over UDP/IP and therefore routable rather than link-local.\nAC:L - The dereference of the NULL sg_offset is the first statement executed in hns_roce_map_mr_sg() with no race, timing window, or memory-layout precondition — every invocation from a NULL-passing ULP crashes deterministically.\nPR:N - In the rtrs-srv path the code is reached before any authentication — only a magic value, protocol version and cid sanity check on attacker-controlled connect private data precede it; on the client-side ULPs (NFS/RDMA, NVMe-oF, SMB Direct) an ordinary unprivileged user's file or block I/O suffices.\nUI:N - No victim action is needed; the attacker simply issues an RDMA connect request to an already-running server, or a local user performs routine I/O over an existing mount.\nS:U - The fault occurs and is contained within the kernel of the affected host with no crossing of a virtualization, IOMMU, or other security authority boundary.\nC:N - The bug is a read of virtual address 0 that immediately faults; no kernel memory contents are returned to or observable by the attacker.\nI:N - No memory is written and no attacker-controlled data is stored — the faulting access is a read used only for an IS_ALIGNED() test, so no data can be modified.\nA:H - The NULL dereference produces a kernel oops (panic with panic_on_oops, and leaves the RDMA CM handler/session in a broken state otherwise), and it is triggerable repeatedly by any remote connect attempt or local I/O, denying service to the whole system."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/infiniband/hw/hns/hns_roce_mr.c"
],
"versions": [
{
"version": "edc2dee07ab4ae2188b9780c453a64032162a5a0",
"lessThan": "bd715e191d444992d6ed124f15856da5c1cae2de",
"status": "affected",
"versionType": "git"
},
{
"version": "3c301b8a046b57e3de14c6fc669d81dcb71bb5b5",
"lessThan": "35f5b68f63aac61d30ce0b0c6beb09b8845a3e65",
"status": "affected",
"versionType": "git"
},
{
"version": "5a13652ac34be9b60feec89835763574825a8905",
"lessThan": "52617e76f4963644db71dc0a17e998654dc0c7f4",
"status": "affected",
"versionType": "git"
},
{
"version": "4d480e45cb7fffb9d9b49924469c1f458068080a",
"lessThan": "6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7",
"status": "affected",
"versionType": "git"
},
{
"version": "d387d4b54eb84208bd4ca13572e106851d0a0819",
"lessThan": "71becb0e9df78a8d43dfd0efcef18c830a0af477",
"status": "affected",
"versionType": "git"
},
{
"version": "d387d4b54eb84208bd4ca13572e106851d0a0819",
"lessThan": "8c269bb2cc666ca580271e1a8136c63ac9162e1e",
"status": "affected",
"versionType": "git"
},
{
"version": "d387d4b54eb84208bd4ca13572e106851d0a0819",
"lessThan": "6b526d17eed850352d880b93b9bf20b93006bd92",
"status": "affected",
"versionType": "git"
},
{
"version": "ecdf900a5a3372bc0208e0701a116f112eb6039c",
"status": "affected",
"versionType": "git"
},
{
"version": "5.10.224",
"lessThan": "5.10.231",
"status": "affected",
"versionType": "semver"
},
{
"version": "5.15.165",
"lessThan": "5.15.174",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.1.103",
"lessThan": "6.1.120",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.6.44",
"lessThan": "6.6.64",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.10.3",
"lessThan": "6.11",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/infiniband/hw/hns/hns_roce_mr.c"
],
"versions": [
{
"version": "6.11",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.11",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.231",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.174",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.120",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.64",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.11.11",
"lessThanOrEqual": "6.11.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.2",
"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.224",
"versionEndExcluding": "5.10.231"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15.165",
"versionEndExcluding": "5.15.174"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.103",
"versionEndExcluding": "6.1.120"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6.44",
"versionEndExcluding": "6.6.64"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.11",
"versionEndExcluding": "6.11.11"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.11",
"versionEndExcluding": "6.12.2"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.11",
"versionEndExcluding": "6.13"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.10.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de"
},
{
"url": "https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65"
},
{
"url": "https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4"
},
{
"url": "https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7"
},
{
"url": "https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477"
},
{
"url": "https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e"
},
{
"url": "https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92"
}
],
"title": "RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-53226",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-10-01T20:03:16.988546Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-476",
"description": "CWE-476 NULL Pointer Dereference"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-01T20:07:18.760Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-03T20:47:51.325Z"
}
}
]
}
}