Files
vuln-cve/data/2023/52xxx/CVE-2023-52974.json
T

305 lines
15 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-52974",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-03-27T16:40:15.737Z",
"datePublished": "2025-03-27T16:43:13.792Z",
"dateUpdated": "2026-08-05T09:12:12.182Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:12:12.182Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress\n\nIf during iscsi_sw_tcp_session_create() iscsi_tcp_r2tpool_alloc() fails,\nuserspace could be accessing the host's ipaddress attr. If we then free the\nsession via iscsi_session_teardown() while userspace is still accessing the\nsession we will hit a use after free bug.\n\nSet the tcp_sw_host->session after we have completed session creation and\ncan no longer fail."
}
],
"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 bug is reached via local iSCSI initiator session creation (NETLINK_ISCSI) and concurrent local sysfs reads of the host ipaddress attribute, not by processing packets from a remote peer.\nAC:L - The attacker can induce memory pressure so iscsi_tcp_r2tpool_alloc() fails and concurrently hammer the world-readable sysfs ipaddress path, controlling the reader side of the race (and both sides if also creating sessions).\nPR:L - show_host_param_ISCSI_HOST_PARAM_IPADDRESS is S_IRUGO with no capability check, so an unprivileged local user can trigger the UAF while iscsid performs session create; CAP_SYS_ADMIN is only required for the netlink create side, not the sysfs exploit path.\nUI:N - No separate victim user action is required; the attacker only needs to read sysfs while session creation/teardown occurs on the system.\nS:U - This is a standard in-kernel UAF/privilege-escalation impact within the same host security authority, with no VM, IOMMU, or other cross-boundary escape.\nC:H - The UAF lets userspace operate on a freed iscsi_session (including lock and field access), which can be turned into an arbitrary kernel read via heap reuse.\nI:H - The UAF path takes spin_lock_bh on freed session memory (write to freed object), enabling heap spraying and control-flow hijacking primitives.\nA:H - Dereferencing/locking the freed session causes kernel oops/panic as demonstrated by the related KASAN UAF report, so availability impact is high."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/scsi/iscsi_tcp.c"
],
"versions": [
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "496af9d3682ed4c28fb734342a09e6cc0c056ea4",
"status": "affected",
"versionType": "git"
},
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "6abd4698f4c8a78e7bbfc421205c060c199554a0",
"status": "affected",
"versionType": "git"
},
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "d4d765f4761f9e3a2d62992f825aeee593bcb6b9",
"status": "affected",
"versionType": "git"
},
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "9758ffe1c07b86aefd7ca8e40d9a461293427ca0",
"status": "affected",
"versionType": "git"
},
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "0aaabdb900c7415caa2006ef580322f7eac5f6b6",
"status": "affected",
"versionType": "git"
},
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "61e43ebfd243bcbad11be26bd921723027b77441",
"status": "affected",
"versionType": "git"
},
{
"version": "a79af8a64d395bd89de8695a5ea5e1a7f01f02a8",
"lessThan": "f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3",
"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/scsi/iscsi_tcp.c"
],
"versions": [
{
"version": "2.6.39",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.39",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.306",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.273",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.232",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.168",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.93",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.11",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.2",
"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": "2.6.39",
"versionEndExcluding": "4.14.306"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.39",
"versionEndExcluding": "4.19.273"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.39",
"versionEndExcluding": "5.4.232"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.39",
"versionEndExcluding": "5.10.168"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.39",
"versionEndExcluding": "5.15.93"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.39",
"versionEndExcluding": "6.1.11"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.39",
"versionEndExcluding": "6.2"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/496af9d3682ed4c28fb734342a09e6cc0c056ea4"
},
{
"url": "https://git.kernel.org/stable/c/6abd4698f4c8a78e7bbfc421205c060c199554a0"
},
{
"url": "https://git.kernel.org/stable/c/d4d765f4761f9e3a2d62992f825aeee593bcb6b9"
},
{
"url": "https://git.kernel.org/stable/c/9758ffe1c07b86aefd7ca8e40d9a461293427ca0"
},
{
"url": "https://git.kernel.org/stable/c/0aaabdb900c7415caa2006ef580322f7eac5f6b6"
},
{
"url": "https://git.kernel.org/stable/c/61e43ebfd243bcbad11be26bd921723027b77441"
},
{
"url": "https://git.kernel.org/stable/c/f484a794e4ee2a9ce61f52a78e810ac45f3fe3b3"
}
],
"title": "scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-52974",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-03-27T16:59:50.791219Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-416",
"description": "CWE-416 Use After Free"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-27T17:08:22.573Z"
}
}
]
}
}