net: tls: fix use-after-free with partial reads and async decrypt
Summary
| CVE | CVE-2024-26582 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-02-21 15:15:09 UTC |
| Updated | 2026-08-04 11:16:44 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: net: tls: fix use-after-free with partial reads and async decrypt tls_decrypt_sg doesn't take a reference on the pages from clear_skb, so the put_page() in tls_decrypt_done releases them, and we trigger a use-after-free in process_rx_list when we try to read from the partially-read skb. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected fd31f3996af2627106e22a9f8072764fede51161 20b4ed034872b4d024b26e2bc1092c3f80e5db96 git | Not specified |
| CNA | Linux | Linux | affected fd31f3996af2627106e22a9f8072764fede51161 d684763534b969cca1022e2a28645c7cc91f7fa5 git | Not specified |
| CNA | Linux | Linux | affected fd31f3996af2627106e22a9f8072764fede51161 754c9bab77a1b895b97bd99d754403c505bc79df git | Not specified |
| CNA | Linux | Linux | affected fd31f3996af2627106e22a9f8072764fede51161 32b55c5ff9103b8508c1e04bfa5a08c64e7a925f git | Not specified |
| CNA | Linux | Linux | affected 6.0 | Not specified |
| CNA | Linux | Linux | unaffected 6.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.79 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.18 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.6 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/32b55c5ff9103b8508c1e04bfa5a08c64e7a925f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d684763534b969cca1022e2a28645c7cc91f7fa5 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/20b4ed034872b4d024b26e2bc1092c3f80e5db96 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| git.kernel.org/stable/c/754c9bab77a1b895b97bd99d754403c505bc79df | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 284941 Fedora Security Update for kernel (FEDORA-2024-71f0f16533)
- 284956 Fedora Security Update for kernel (FEDORA-2024-d16d94b00d)
- 357301 Amazon Linux Security Advisory for kernel : ALAS2023-2024-549
- 6000567 Debian Security Update for linux (DSA 5658-1)
- 6140443 AWS Bottlerocket Security Update for kernel (GHSA-vgwj-mxr8-jq8w)