nilfs2: fix kernel bug due to missing clearing of buffer delay flag (Linux Linux)

CVE-2024-50116
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug due to missing clearing of buffer delay flag Syzbot reported that after nilfs2 reads a corrupted file system image and degrades to read-only, the BUG_ON check for the buffer delay flag in submit_bh_wbc() may fail, causing a kernel bug. This is because the buffer delay flag is not cleared when clearing the buffer state flags to discard a page/folio or a buffer head. So, fix this. This became necessary when the use of nilfs2's own page clear routine was expanded. This state inconsistency does not occur if the buffer is written normally by log writing.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8c26c4e2694a163d525976e804d81cd955bbb40c < 033bc52f35868c2493a2d95c56ece7fc155d7cb3 ; affected 8c26c4e2694a163d525976e804d81cd955bbb40c < 412a30b1b28d6073ba29c46a2b0f324c5936293f ; affected 8c26c4e2694a163d525976e804d81cd955bbb40c < 9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1 ; affected 8c26c4e2694a163d525976e804d81cd955bbb40c < 822203f6355f4b322d21e7115419f6b98284be25 ; affected 8c26c4e2694a163d525976e804d81cd955bbb40c < 27524f65621f490184f2ace44cd8e5f3685af4a3 ; affected 8c26c4e2694a163d525976e804d81cd955bbb40c < 743c78d455e784097011ea958b27396001181567
Linux · Linuxaffected 3.10 ; unaffected 0 < 3.10 ; unaffected 4.19.323 ≤ 4.19.* ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.229 ≤ 5.10.* ; unaffected 5.15.170 ≤ 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