VDB

CVE-2024-35908

CVE-2024-35908 PUBLISHED

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.

PackageEcosystemFixed in
kernel-toolsAmazon Linux6.1.87-99.174.amzn2023
python3-perfAmazon Linux6.1.87-99.174.amzn2023
bpftoolAmazon Linux6.1.87-99.174.amzn2023

Affected products

VendorProductVersions
LinuxLinux4cbc325ed6b4dce4910be06d9d6940a8b919c59b, 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, 4cbc325ed6b4dce4910be06d9d6940a8b919c59b
LinuxLinux6.0, 0, 6.1.85
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023bpftool0
linuxlinux_kernel6.0, 6.0, 6.0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel0
amazon:2023kernel-libbpf0
amazon:2023perf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.87-99.1740
amazon:2023kernel-devel0
LinuxLinux6.9, 0, 6.1.85
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-headers0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›