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

221 lines
11 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-53076",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-11-19T17:17:24.976Z",
"datePublished": "2024-11-19T17:31:40.349Z",
"dateUpdated": "2026-08-05T11:43:28.368Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:43:28.368Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()\n\nIf per_time_scales[i] or per_time_gains[i] kcalloc fails in the for loop\nof iio_gts_build_avail_scale_table(), the err_free_out will fail to call\nkfree() each time when i is reduced to 0, so all the per_time_scales[0]\nand per_time_gains[0] will not be freed, which will cause memory leaks.\n\nFix it by checking if i >= 0."
}
],
"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 vulnerable code is only reachable through local driver probe of I2C ambient-light sensors (apds9306/bh1745/bu27008/bu27034) or the iio-test-gts module — module load, boot, or sysfs bind — with no network or remote-peer input involved.\nAC:L - The trigger condition is a kcalloc failure, and memory exhaustion is a state a local attacker can deliberately induce and re-attempt repeatedly; no attacker-uncontrollable memory layout or victim state is required beyond that.\nPR:L - The ingredient the attacker must supply — sustained memory pressure that makes the GFP_KERNEL allocation fail — needs only an unprivileged local account; the probe event itself is a system action rather than a privilege the attacker must hold.\nUI:N - No victim action is needed — the faulty error path executes inside the kernel's own device probe, with no user having to open a file, mount anything, or interact.\nS:U - The out-of-bounds read, invalid free, and leaked allocations all stay within the kernel's own slab allocator and security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - When the first allocation fails the loop indexes the array at -1 and further negative offsets, an unbounded out-of-bounds read of kernel heap memory below the allocation; combined with the resulting potential use-after-free this is treatable as an arbitrary kernel-memory read primitive.\nI:H - Passing an out-of-bounds-read word to kfree() is an arbitrary/wild free — if that word is a live heap pointer a still-referenced object is released, giving a classic use-after-free heap-corruption primitive usable for control-flow hijacking.\nA:H - Freeing a garbage pointer near-certainly triggers a slab BUG/general-protection-fault kernel panic, and even the benign variant of the bug permanently leaks kernel allocations on every failed probe."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/iio/industrialio-gts-helper.c"
],
"versions": [
{
"version": "38416c28e16890b52fdd5eb73479299ec3f062f3",
"lessThan": "62c11896683129790b8f5ab6eb7e695818b0b723",
"status": "affected",
"versionType": "git"
},
{
"version": "38416c28e16890b52fdd5eb73479299ec3f062f3",
"lessThan": "b304362ce836968b803e5d4c5f84dcb51a7bf0f2",
"status": "affected",
"versionType": "git"
},
{
"version": "38416c28e16890b52fdd5eb73479299ec3f062f3",
"lessThan": "369f05688911b05216cfcd6ca74473bec87948d7",
"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/iio/industrialio-gts-helper.c"
],
"versions": [
{
"version": "6.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.4",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.60",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.11.7",
"lessThanOrEqual": "6.11.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12",
"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": "6.4",
"versionEndExcluding": "6.6.60"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.4",
"versionEndExcluding": "6.11.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.4",
"versionEndExcluding": "6.12"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/62c11896683129790b8f5ab6eb7e695818b0b723"
},
{
"url": "https://git.kernel.org/stable/c/b304362ce836968b803e5d4c5f84dcb51a7bf0f2"
},
{
"url": "https://git.kernel.org/stable/c/369f05688911b05216cfcd6ca74473bec87948d7"
}
],
"title": "iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()",
"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-53076",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-10-01T20:12:14.041082Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-401",
"description": "CWE-401 Missing Release of Memory after Effective Lifetime"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-01T20:17:15.740Z"
}
}
]
}
}