CVE-2024-46780: nilfs2: protect references to superblock parameters exposed in sysfs
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->nssem".
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46780?
CVE-2024-46780 has a medium severity rating due to potential impacts on system stability and reliability.
How do I fix CVE-2024-46780?
To remediate CVE-2024-46780, update to a fixed version of the Linux kernel, such as 5.10.226-1 or any later version listed in the advisories.
Which Linux kernel versions are affected by CVE-2024-46780?
CVE-2024-46780 affects Linux kernel versions up to 5.10.223-1 across various distributions.
What is nilfs2 in context of CVE-2024-46780?
Nilfs2 is a file system in the Linux kernel that was found to expose superblock parameters in sysfs, leading to the reported vulnerability.
Are there any specific distributions impacted by CVE-2024-46780?
Yes, Debian-based distributions, particularly those using the affected versions of the Linux kernel, are significantly impacted by CVE-2024-46780.