nilfs2: protect references to superblock parameters exposed in sysfs (Linux Linux)

CVE-2024-46780
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected da7141fb78db915680616e15677539fc8140cf53 < b90beafac05931cbfcb6b1bd4f67c1923f47040e ; affected da7141fb78db915680616e15677539fc8140cf53 < ba97ba173f9625d5f34a986088979eae8b80d38e ; affected da7141fb78db915680616e15677539fc8140cf53 < 157c0d94b4c40887329418c70ef4edd1a8d6b4ed ; affected da7141fb78db915680616e15677539fc8140cf53 < b14e7260bb691d7f563f61da07d61e3c8b59a614 ; affected da7141fb78db915680616e15677539fc8140cf53 < 19cfeba0e4b8eda51484fcf8cf7d150418e1d880 ; affected da7141fb78db915680616e15677539fc8140cf53 < 8c6e43b3d5f109cf9c61bc188fcc8175404e924f
Linux · Linuxaffected 3.17 ; unaffected 0 < 3.17 ; unaffected 4.19.322 ≤ 4.19.* ; unaffected 5.4.284 ≤ 5.4.* ; unaffected 5.10.226 ≤ 5.10.* ; unaffected 5.15.167 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD