CVE-2024-46780

published 18 Sep 2024 · updated 5 Aug 2026

nilfs2: protect references to superblock parameters exposed in sysfs

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 157c0d94b4c40887329418c70ef4edd1a8d6b4ed, Kernel 19cfeba0e4b8eda51484fcf8cf7d150418e1d880, Kernel 683408258917541bdb294cd717c210a04381931e and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.17, >=da7141fb78db915680616e15677539fc8140cf53 <157c0d94b4c40887329418c70ef4edd1a8d6b4ed, >=da7141fb78db915680616e15677539fc8140cf53 <19cfeba0e4b8eda51484fcf8cf7d150418e1d880, >=da7141fb78db915680616e15677539fc8140cf53 <683408258917541bdb294cd717c210a04381931e, >=da7141fb78db915680616e15677539fc8140cf53 <8c6e43b3d5f109cf9c61bc188fcc8175404e924f, >=da7141fb78db915680616e15677539fc8140cf53 <962562d4c70c5cdeb4e955d63ff2017c4eca1aad, >=da7141fb78db915680616e15677539fc8140cf53 <b14e7260bb691d7f563f61da07d61e3c8b59a614, >=da7141fb78db915680616e15677539fc8140cf53 <b90beafac05931cbfcb6b1bd4f67c1923f47040e, >=da7141fb78db915680616e15677539fc8140cf53 <ba97ba173f9625d5f34a986088979eae8b80d38e157c0d94b4c40887329418c70ef4edd1a8d6b4ed, 19cfeba0e4b8eda51484fcf8cf7d150418e1d880, 683408258917541bdb294cd717c210a04381931e, 8c6e43b3d5f109cf9c61bc188fcc8175404e924f, 962562d4c70c5cdeb4e955d63ff2017c4eca1aad, b14e7260bb691d7f563f61da07d61e3c8b59a614, b90beafac05931cbfcb6b1bd4f67c1923f47040e, ba97ba173f9625d5f34a986088979eae8b80d38e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-46780 severity on Zeptric[![CVE-2024-46780](https://zeptric.io/badge/cve/CVE-2024-46780.svg)](https://zeptric.io/cve/CVE-2024-46780)