Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2024-50202
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-08 Nov, 2024 | 05:56
Updated At-04 May, 2025 | 09:48
Rejected At-
▼CVE Numbering Authority (CNA)
nilfs2: propagate directory read errors from nilfs_find_entry()

In the Linux kernel, the following vulnerability has been resolved: nilfs2: propagate directory read errors from nilfs_find_entry() Syzbot reported that a task hang occurs in vcs_open() during a fuzzing test for nilfs2. The root cause of this problem is that in nilfs_find_entry(), which searches for directory entries, ignores errors when loading a directory page/folio via nilfs_get_folio() fails. If the filesystem images is corrupted, and the i_size of the directory inode is large, and the directory page/folio is successfully read but fails the sanity check, for example when it is zero-filled, nilfs_check_folio() may continue to spit out error messages in bursts. Fix this issue by propagating the error to the callers when loading a page/folio fails in nilfs_find_entry(). The current interface of nilfs_find_entry() and its callers is outdated and cannot propagate error codes such as -EIO and -ENOMEM returned via nilfs_find_entry(), so fix it together.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • fs/nilfs2/dir.c
  • fs/nilfs2/namei.c
  • fs/nilfs2/nilfs.h
Default Status
unaffected
Versions
Affected
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before bb857ae1efd3138c653239ed1e7aef14e1242c81 (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before b4b3dc9e7e604be98a222e9f941f5e93798ca475 (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before c1d0476885d708a932980b0f28cd90d9bd71db39 (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before edf8146057264191d5bfe5b91773f13d936dadd3 (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before 270a6f9df35fa2aea01ec23770dc9b3fc9a12989 (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before 9698088ac7704e260f492d9c254e29ed7dd8729a (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before efa810b15a25531cbc2f527330947b9fe16916e7 (git)
  • From 2ba466d74ed74f073257f86e61519cb8f8f46184 before 08cfa12adf888db98879dbd735bc741360a34168 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • fs/nilfs2/dir.c
  • fs/nilfs2/namei.c
  • fs/nilfs2/nilfs.h
Default Status
affected
Versions
Affected
  • 2.6.30
Unaffected
  • From 0 before 2.6.30 (semver)
  • From 4.19.323 through 4.19.* (semver)
  • From 5.4.285 through 5.4.* (semver)
  • From 5.10.228 through 5.10.* (semver)
  • From 5.15.169 through 5.15.* (semver)
  • From 6.1.114 through 6.1.* (semver)
  • From 6.6.58 through 6.6.* (semver)
  • From 6.11.5 through 6.11.* (semver)
  • From 6.12 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/bb857ae1efd3138c653239ed1e7aef14e1242c81
N/A
https://git.kernel.org/stable/c/b4b3dc9e7e604be98a222e9f941f5e93798ca475
N/A
https://git.kernel.org/stable/c/c1d0476885d708a932980b0f28cd90d9bd71db39
N/A
https://git.kernel.org/stable/c/edf8146057264191d5bfe5b91773f13d936dadd3
N/A
https://git.kernel.org/stable/c/270a6f9df35fa2aea01ec23770dc9b3fc9a12989
N/A
https://git.kernel.org/stable/c/9698088ac7704e260f492d9c254e29ed7dd8729a
N/A
https://git.kernel.org/stable/c/efa810b15a25531cbc2f527330947b9fe16916e7
N/A
https://git.kernel.org/stable/c/08cfa12adf888db98879dbd735bc741360a34168
N/A
Details not found