CVE-2024-27389
pstore: inode: Only d_invalidate() is needed
Reported by linux · Published May 1, 2024
In the Linux kernel, the following vulnerability has been resolved: pstore: inode: Only d_invalidate() is needed Unloading a modular pstore backend with records in pstorefs would trigger the dput() double-drop warning: WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410 Using the combo of d_drop()/dput() (as mentioned in Documentation/filesystems/vfs.rst) isn't the right approach here, and leads to the reference counting problem seen above. Use d_invalidate() and update the code to not bother checking for error codes that can never happen. ---
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf | Amazon Linux | 6.1.84-99.169.amzn2023 |
| bpftool | Amazon Linux | 6.1.84-99.169.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.84-99.169.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.84-99.169.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.84-99.169.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 609e28bb139e53621521130f0d4aea27a725d465, 609e28bb139e53621521130f0d4aea27a725d465, 609e28bb139e53621521130f0d4aea27a725d465 |
| Linux | Linux | 5.8, 0, 5.15.209 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.84-99.169 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 0, 6.1.83, 6.6.23 |
Timeline
- May 1, 2024 CVE Published
- May 2, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 15, 2026 Security Advisory (308 in total, the first dated here)
- May 28, 2026 Distribution Patch (270 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-27389
vulnetix vdb fixes CVE-2024-27389
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-27389/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart