CVE-2024-46780
nilfs2: protect references to superblock parameters exposed in sysfs
Reported by linux · Published September 18, 2024
In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect references to superblock parameters exposed in sysfs The superblock buffers of nilfs2 can not only be overwritten at runtime for modifications/repairs, but they are also regularly swapped, replaced during resizing, and even abandoned when degrading to one side due to backing device issues. So, accessing them requires mutual exclusion using the reader/writer semaphore "nilfs->ns_sem". Some sysfs attribute show methods read this superblock buffer without the necessary mutual exclusion, which can cause problems with pointer dereferencing and memory access, so fix it.
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 | 4.14.355-271.569.amzn2 |
| kernel | Amazon Linux | 4.14.355-271.569.amzn2 |
| kernel-livepatch-4.14.355-271.569 | Amazon Linux | 1.0-0.amzn2 |
| python-perf | Amazon Linux | 4.14.355-271.569.amzn2 |
| kernel-devel | Amazon Linux | 4.14.355-271.569.amzn2 |
| kernel-tools-devel | Amazon Linux | 4.14.355-271.569.amzn2 |
| linux_kernel | linux | 6.10.10, 6.6.51, 6.1.110, 5.15.167, 5.10.226, 5.4.284, 4.19.322 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | da7141fb78db915680616e15677539fc8140cf53, da7141fb78db915680616e15677539fc8140cf53, da7141fb78db915680616e15677539fc8140cf53 |
| Linux | Linux | 3.17, 0, 4.19.322 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-livepatch-4.14.355-271.569 | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| linux | linux_kernel | 3.17, 3.17, 3.17 |
| Linux | Linux | *, 6.6.51, 5.4.284 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-headers | 0 |
Timeline
- Sep 17, 2024 CVE Published
- Sep 19, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (15 in total, the first dated here)
- Jan 4, 2026 Security Advisory (180 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (166 in total, the first dated here)
- Nov 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-46780
vulnetix vdb fixes CVE-2024-46780
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-46780/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart