CVE-2024-35908
tls: get psock ref after taking rxlock to avoid leak
Reported by linux · Published May 19, 2024
In the Linux kernel, the following vulnerability has been resolved: tls: get psock ref after taking rxlock to avoid leak At the start of tls_sw_recvmsg, we take a reference on the psock, and then call tls_rx_reader_lock. If that fails, we return directly without releasing the reference. Instead of adding a new label, just take the reference after locking has succeeded, since we don't need it before.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.87-99.174.amzn2023 |
| python3-perf | Amazon Linux | 6.1.87-99.174.amzn2023 |
| bpftool | Amazon Linux | 6.1.87-99.174.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, 4cbc325ed6b4dce4910be06d9d6940a8b919c59b |
| Linux | Linux | 6.0, 0, 6.1.85 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.87-99.174 | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 6.9, 0, 6.1.85 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-headers | 0 |
Timeline
- May 19, 2024 CVE Published
- May 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Jan 10, 2026 Security Advisory (436 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (331 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35908
vulnetix vdb fixes CVE-2024-35908
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35908/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart