Files
vuln-cve/data/2023/53xxx/CVE-2023-53242.json
T

283 lines
14 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-53242",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-09-15T14:19:21.848Z",
"datePublished": "2025-09-15T14:23:11.251Z",
"dateUpdated": "2026-08-05T09:13:15.049Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:13:15.049Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/hisi: Drop second sensor hi3660\n\nThe commit 74c8e6bffbe1 (\"driver core: Add __alloc_size hint to devm\nallocators\") exposes a panic \"BRK handler: Fatal exception\" on the\nhi3660_thermal_probe funciton.\nThis is because the function allocates memory for only one\nsensors array entry, but tries to fill up a second one.\n\nFix this by removing the unneeded second access."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
"baseScore": 7.1,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The OOB write occurs only in hi3660_thermal_probe during local platform-driver bind for hisilicon,hi3660-tsensor (HiKey960/Kirin 960 SoC thermal), with no network or adjacent-protocol path into this driver.\nAC:L - On affected hi3660 DT platforms the undersized devm_kzalloc and subsequent sensor[1] stores execute deterministically every probe; no race or attacker-uncontrollable layout is required to hit the OOB write or fortify BRK panic.\nPR:L - The slab OOB runs automatically at boot when HISI_THERMAL probes the DT tsensor, so a local unprivileged user on that device can be present to leverage the resulting adjacent kmalloc-32 corruption without needing sysfs bind (0200) as real root.\nUI:N - Probe and the OOB stores run as part of normal driver init/boot (or privileged rebind); no victim mount, open, or other interactive action is required.\nS:U - Corruption and any resulting oops remain inside the host kernel thermal/driver heap and do not cross a VM, IOMMU, or other security-authority boundary.\nC:N - The overflow only stores fixed constants (HI3660_LITTLE_SENSOR, a rodata string pointer, and the hisi_thermal_data pointer) with no out-of-bounds read or other disclosure primitive.\nI:H - Writing sensor[1] past a one-element allocation is a genuine slab out-of-bounds write that clobbers an adjacent kmalloc-32 object's pointer fields, which per guidance is High integrity impact.\nA:H - With __alloc_size fortify the OOB triggers a BRK/fatal exception during probe, and without it adjacent-heap corruption can still oops/panic the kernel—Availability High."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/thermal/hisi_thermal.c"
],
"versions": [
{
"version": "7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460",
"lessThan": "3cf2181e438f43ed24e12424fe36d156cca233b9",
"status": "affected",
"versionType": "git"
},
{
"version": "7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460",
"lessThan": "e02bc492883abf751fd1a8d89fc025fbce6744c6",
"status": "affected",
"versionType": "git"
},
{
"version": "7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460",
"lessThan": "f5aaf140ab1c02889c088e1b1098adad600541af",
"status": "affected",
"versionType": "git"
},
{
"version": "7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460",
"lessThan": "9f6756cd09889c7201ee31e6f76fbd914fb0b80d",
"status": "affected",
"versionType": "git"
},
{
"version": "7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460",
"lessThan": "68e675a9b69cfc34dd915d91a4650e3ee53421f4",
"status": "affected",
"versionType": "git"
},
{
"version": "7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460",
"lessThan": "15cc25829a97c3957e520e971868aacc84341317",
"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/thermal/hisi_thermal.c"
],
"versions": [
{
"version": "4.20",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.20",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.235",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.173",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.99",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.16",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.2.3",
"lessThanOrEqual": "6.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.3",
"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.20",
"versionEndExcluding": "5.4.235"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "5.10.173"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "5.15.99"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.1.16"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.2.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.20",
"versionEndExcluding": "6.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/3cf2181e438f43ed24e12424fe36d156cca233b9"
},
{
"url": "https://git.kernel.org/stable/c/e02bc492883abf751fd1a8d89fc025fbce6744c6"
},
{
"url": "https://git.kernel.org/stable/c/f5aaf140ab1c02889c088e1b1098adad600541af"
},
{
"url": "https://git.kernel.org/stable/c/9f6756cd09889c7201ee31e6f76fbd914fb0b80d"
},
{
"url": "https://git.kernel.org/stable/c/68e675a9b69cfc34dd915d91a4650e3ee53421f4"
},
{
"url": "https://git.kernel.org/stable/c/15cc25829a97c3957e520e971868aacc84341317"
}
],
"title": "thermal/drivers/hisi: Drop second sensor hi3660",
"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-2023-53242",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-01-14T17:58:08.612232Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"description": "CWE-noinfo Not enough information"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-01-14T18:02:50.842Z"
}
}
]
}
}