CVE-2024-50116

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50116
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50116.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50116
Downstream
Related
Published
2024-11-05T17:10:47.336Z
Modified
2025-11-28T02:35:03.687328Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
nilfs2: fix kernel bug due to missing clearing of buffer delay flag
Details

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 BUGON check for the buffer delay flag in submitbh_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50116.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8c26c4e2694a163d525976e804d81cd955bbb40c
Fixed
033bc52f35868c2493a2d95c56ece7fc155d7cb3
Fixed
412a30b1b28d6073ba29c46a2b0f324c5936293f
Fixed
9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1
Fixed
822203f6355f4b322d21e7115419f6b98284be25
Fixed
27524f65621f490184f2ace44cd8e5f3685af4a3
Fixed
743c78d455e784097011ea958b27396001181567
Fixed
c6f58ff2d4c552927fe9a187774e668ebba6c7aa
Fixed
6ed469df0bfbef3e4b44fca954a781919db9f7ab

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.0
Fixed
4.19.323
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.285
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.229
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.170
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.115
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.59
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.6