CVE-2024-44974
mptcp: pm: avoid possible UaF when selecting endp
Reported by linux · Published September 4, 2024
In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: avoid possible UaF when selecting endp select_local_address() and select_signal_address() both select an endpoint entry from the list inside an RCU protected section, but return a reference to it, to be read later on. If the entry is dereferenced after the RCU unlock, reading info could cause a Use-after-Free. A simple solution is to copy the required info while inside the RCU protected section to avoid any risk of UaF later. The address ID might need to be modified later to handle the ID0 case later, so a copy seems OK to deal with.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 6.1.109-118.189.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.109-118.189.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.109-118.189.amzn2023 |
| linux_kernel | linux | 6.10.7, 6.6.48, 6.1.109, 5.15.167, 5.10.226 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6, 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6, 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 |
| Linux | Linux | 5.7, 0, 5.10.226 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| linux | linux_kernel | 5.7, 5.7, 5.7 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.109-118.189 | 0 |
| amazon:2023 | python3-perf | 0 |
| Linux | Linux | 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6, 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6, 01cacb00b35cb62b139f07d5f84bcf0eeda8eff6 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf | 0 |
Timeline
- Sep 4, 2024 CVE Published
- Sep 5, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 5, 2026 Security Advisory (99 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (78 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-44974
vulnetix vdb fixes CVE-2024-44974
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-44974/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart