CVE-2024-58075 (GCVE-0-2024-58075)
Vulnerability from cvelistv5 – Published: 2025-03-06 16:04 – Updated: 2026-08-05 11:47
VLAI
EPSS
VEX
Title
crypto: tegra - do not transfer req when tegra init fails
Summary
In the Linux kernel, the following vulnerability has been resolved:
crypto: tegra - do not transfer req when tegra init fails
The tegra_cmac_init or tegra_sha_init function may return an error when
memory is exhausted. It should not transfer the request when they return
an error.
Severity
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 , < 1dbc270f9df7f0ae1e591323431869059cee1b7d
(git)
Affected: 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 , < 5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e (git) Affected: 0880bb3b00c855fc244b7177ffdaafef4d0aa1e0 , < 15589bda46830695a3261518bb7627afac61f519 (git) |
guessed | |
| Linux | Linux |
Affected:
6.10
Unaffected: 0 , < 6.10 (semver) Unaffected: 6.12.13 , ≤ 6.12.* (semver) Unaffected: 6.13.2 , ≤ 6.13.* (semver) Unaffected: 6.14 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/crypto/tegra/tegra-se-aes.c",
"drivers/crypto/tegra/tegra-se-hash.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "1dbc270f9df7f0ae1e591323431869059cee1b7d",
"status": "affected",
"version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
"versionType": "git"
},
{
"lessThan": "5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e",
"status": "affected",
"version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
"versionType": "git"
},
{
"lessThan": "15589bda46830695a3261518bb7627afac61f519",
"status": "affected",
"version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/crypto/tegra/tegra-se-aes.c",
"drivers/crypto/tegra/tegra-se-hash.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.10"
},
{
"lessThan": "6.10",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.13.*",
"status": "unaffected",
"version": "6.13.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.14",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.13",
"versionStartIncluding": "6.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.13.2",
"versionStartIncluding": "6.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.14",
"versionStartIncluding": "6.10",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: tegra - do not transfer req when tegra init fails\n\nThe tegra_cmac_init or tegra_sha_init function may return an error when\nmemory is exhausted. It should not transfer the request when they return\nan error."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The vulnerable `tegra_sha_digest()`/`tegra_cmac_digest()` entry points are reached from local userspace via an AF_ALG hash socket (`crypto/algif_hash.c:137` calls `crypto_ahash_digest()`), requiring local system access rather than network reachability. In-kernel consumers such as IPsec `authenc`/AH also reach `.digest`, but the primary and reliable vector is a local syscall sequence.\nAC:L - The only precondition is a `dma_alloc_coherent()` failure, and an unprivileged attacker can create that condition themselves by exhausting and fragmenting memory while looping `send()` on the AF_ALG socket, so both sides of the condition are under attacker control. The attacker also fully controls the algorithm, buffer length and data that get written through the bad pointer.\nPR:L - AF_ALG socket creation and `hash` binding require no capability, so any unprivileged local user or containerized process can invoke the digest path. No CAP_SYS_ADMIN, root, or namespace trick is needed.\nUI:N - The attacker performs the entire sequence \u2014 socket/bind/accept/send under self-induced memory pressure \u2014 with no action by any other user or administrator.\nS:U - The corruption occurs in kernel memory belonging to the same security authority as the exploiting process; there is no crossing of a VM, hypervisor, or IOMMU boundary. The SE hardware DMA remains behind the SoC\u0027s SMMU.\nC:H - The failed-init paths leave `residue.buf`/`datbuf.buf` as dangling-freed or uninitialized stale heap pointers that are subsequently read (`memcpy(rctx-\u003edatbuf.buf, rctx-\u003eresidue.buf, ...)` in `tegra_*_do_final()`) and used as DMA handles for the security engine, and the resulting digest is returned to userspace. This use-after-free/wild-read gives kernel memory disclosure and is leveragable for broader information leak.\nI:H - `tegra_sha_do_update()`/`tegra_cmac_do_update()` write attacker-supplied message bytes of attacker-chosen length through a freed or stale-heap pointer via `scatterwalk_map_and_copy()`, and `tegra_sha_init()`\u0027s `resbuf_fail` path additionally calls `dma_free_coherent()` on an uninitialized pointer. A groomable UAF/wild-write with controlled contents is an arbitrary-write primitive suitable for control-flow hijack.\nA:H - In the common case `datbuf.buf` or `residue.buf` is NULL and the update/final handlers `memcpy()` through it, producing an immediate kernel oops inside the crypto engine kthread; the wild `dma_free_coherent()` and freed-DMA-buffer writes likewise panic the machine. The condition is repeatable at will by an unprivileged user."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T11:47:34.129Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/1dbc270f9df7f0ae1e591323431869059cee1b7d"
},
{
"url": "https://git.kernel.org/stable/c/5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e"
},
{
"url": "https://git.kernel.org/stable/c/15589bda46830695a3261518bb7627afac61f519"
}
],
"title": "crypto: tegra - do not transfer req when tegra init fails",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2024-58075",
"datePublished": "2025-03-06T16:04:30.864Z",
"dateReserved": "2025-03-06T15:52:09.182Z",
"dateUpdated": "2026-08-05T11:47:34.129Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-58075",
"date": "2026-09-25",
"epss": "0.00186",
"percentile": "0.07298"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/crypto/tegra/tegra-se-aes.c",
"drivers/crypto/tegra/tegra-se-hash.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "1dbc270f9df7f0ae1e591323431869059cee1b7d",
"status": "affected",
"version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
"versionType": "git"
},
{
"lessThan": "5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e",
"status": "affected",
"version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
"versionType": "git"
},
{
"lessThan": "15589bda46830695a3261518bb7627afac61f519",
"status": "affected",
"version": "0880bb3b00c855fc244b7177ffdaafef4d0aa1e0",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/crypto/tegra/tegra-se-aes.c",
"drivers/crypto/tegra/tegra-se-hash.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.10"
},
{
"lessThan": "6.10",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.13.*",
"status": "unaffected",
"version": "6.13.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.14",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "5BB3C00D-6033-4D2A-8C20-605FF5E938FE",
"versionEndExcluding": "6.12.13",
"versionStartIncluding": "6.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "6D4116B1-1BFD-4F23-BA84-169CC05FC5A3",
"versionEndExcluding": "6.13.2",
"versionStartIncluding": "6.13",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: tegra - do not transfer req when tegra init fails\n\nThe tegra_cmac_init or tegra_sha_init function may return an error when\nmemory is exhausted. It should not transfer the request when they return\nan error."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: tegra - no transferir solicitud cuando falla la inicializaci\u00f3n de tegra La funci\u00f3n tegra_cmac_init o tegra_sha_init puede devolver un error cuando se agota la memoria. No deber\u00eda transferir la solicitud cuando devuelven un error."
}
],
"id": "CVE-2024-58075",
"lastModified": "2026-08-04T11:22:38.020",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2025-03-06T16:15:54.040",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/15589bda46830695a3261518bb7627afac61f519"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/1dbc270f9df7f0ae1e591323431869059cee1b7d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"tags": [
"Patch"
],
"url": "https://git.kernel.org/stable/c/5eaa7c916e1ec4b122a1c3a8a20e692d9d9e174e"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-05T03:46:36+00:00",
"cve": "CVE-2024-58075",
"id": "CVE-2024-58075",
"initial_release_date": "2024-01-01T00:00:00+00:00",
"product_status:fixed": "612",
"product_status:known_affected": "22",
"product_status:known_not_affected": "90",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: crypto: tegra - do not transfer req when tegra init fails",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-58075.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…