Files
vuln-cve/data/2022/48xxx/CVE-2022-48632.json
T

248 lines
12 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-48632",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-02-25T13:44:28.315Z",
"datePublished": "2024-04-28T12:59:10.481Z",
"dateUpdated": "2026-08-05T08:51:34.167Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:51:34.167Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()\n\nmemcpy() is called in a loop while 'operation->length' upper bound\nis not checked and 'data_idx' also increments."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The overflow is in the BlueField I2C master SMBus path (mlxbf_i2c_smbus_xfer → mlxbf_i2c_smbus_start_transaction), reached via local /dev/i2c-* I2C_SMBUS ioctls or in-kernel I2C clients on the DPU—not via network packets or physical bus injection.\nAC:L - An attacker who can issue SMBus transactions supplies the operation lengths and write buffers directly; no race, probabilistic memory layout, or other attacker-uncontrollable condition is required to exercise the unbounded memcpy into the stack buffer.\nPR:L - i2cdev_open() performs no capability check—access is only DAC on /dev/i2c-*. On BlueField management deployments, i2c group or otherwise relaxed device permissions are a realistic worst case, so a non-root local user can reach the path (higher severity than assuming root-only 0600).\nUI:N - The attacker triggers the vulnerable ioctl/transaction path themselves; no victim mount, file open, or other interactive action is required.\nS:U - Impact is ordinary in-kernel stack memory corruption on the BlueField host OS authority. The slave/IPMB path is separate and this is not a VM escape, IOMMU bypass, or host/DPU boundary cross.\nC:H - The bug is a stack buffer overflow via memcpy of attacker-controlled SMBus write data into a fixed 128-byte data_desc; such stack corruption is scored as enabling high confidentiality impact (info disclosure / read primitives) under the higher-severity rule.\nI:H - Attacker-controlled out-of-bounds stack writes can overwrite saved return addresses and adjacent stack state, yielding a control-flow/arbitrary-write primitive and Integrity High for this class of memory corruption.\nA:H - Corrupting the kernel stack in mlxbf_i2c_smbus_start_transaction reliably causes oops/panic or otherwise denies service, which is Availability High under kernel CVSS guidance."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/i2c/busses/i2c-mlxbf.c"
],
"versions": [
{
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"lessThan": "48ee0a864d1af02eea98fc825cc230d61517a71e",
"status": "affected",
"versionType": "git"
},
{
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"lessThan": "dc2a0c587006f29b724069740c48654b9dcaebd2",
"status": "affected",
"versionType": "git"
},
{
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"lessThan": "3b5ab5fbe69ebbee5692c72b05071a43fc0655d8",
"status": "affected",
"versionType": "git"
},
{
"version": "b5b5b32081cd206baa6e58cca7f112d9723785d6",
"lessThan": "de24aceb07d426b6f1c59f33889d6a964770547b",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/i2c/busses/i2c-mlxbf.c"
],
"versions": [
{
"version": "5.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.10",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.146",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.71",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.19.12",
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0",
"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.146"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "5.15.71"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "5.19.12"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.10",
"versionEndExcluding": "6.0"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/48ee0a864d1af02eea98fc825cc230d61517a71e"
},
{
"url": "https://git.kernel.org/stable/c/dc2a0c587006f29b724069740c48654b9dcaebd2"
},
{
"url": "https://git.kernel.org/stable/c/3b5ab5fbe69ebbee5692c72b05071a43fc0655d8"
},
{
"url": "https://git.kernel.org/stable/c/de24aceb07d426b6f1c59f33889d6a964770547b"
}
],
"title": "i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T15:17:55.519Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/48ee0a864d1af02eea98fc825cc230d61517a71e",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/dc2a0c587006f29b724069740c48654b9dcaebd2",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/3b5ab5fbe69ebbee5692c72b05071a43fc0655d8",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/de24aceb07d426b6f1c59f33889d6a964770547b",
"tags": [
"x_transferred"
]
}
]
},
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-48632",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-09-10T15:46:27.328258Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-11T17:33:12.457Z"
}
}
]
}
}