CVE-2024-50230CWE-787

CVE-2024-50230

High · published November 9, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
19.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix kernel bug due to missing clearing of checked flag

Syzbot reported that in directory operations after nilfs2 detects

filesystem corruption and degrades to read-only,

__block_write_begin_int(), which is called to prepare block writes, may

fail the BUG_ON check for accesses exceeding the folio/page size,

triggering a kernel bug.

This was found to be because the "checked" flag of a page/folio was not

cleared when it was discarded by nilfs2's own routine, which causes the

sanity check of directory entries to be skipped when the directory

page/folio is reloaded. So, fix that.

This was necessary when the use of nilfs2's own page discard routine was

applied to more than just metadata files.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00281 · 19.6th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-11-09T16:15Z
Affected products (12)
ProductVersionsFixed in
linux/linux_kernel≥ 3.10, < 4.19.3234.19.323
linux/linux_kernel≥ 4.20, < 5.4.2855.4.285
linux/linux_kernel≥ 5.5, < 5.10.2295.10.229
linux/linux_kernel≥ 5.11, < 5.15.1715.15.171
linux/linux_kernel≥ 5.16, < 6.1.1166.1.116
linux/linux_kernel≥ 6.2, < 6.6.606.6.60
linux/linux_kernel≥ 6.7, < 6.11.76.11.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (10)
EPSS history
Timeline
  • 09 NOV 10:14Z
    nilfs2: fix kernel bug due to missing clearing of checked flag
    cvelistv5