CVE-2024-41034

Source
https://cve.org/CVERecord?id=CVE-2024-41034
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41034.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-41034
Downstream
Related
Published
2024-07-29T14:31:49.043Z
Modified
2026-03-20T12:37:29.471293Z
Summary
nilfs2: fix kernel bug on rename operation of broken directory
Details

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

nilfs2: fix kernel bug on rename operation of broken directory

Syzbot reported that in rename directory operation on broken directory on nilfs2, __blockwritebeginint() called to prepare block write may fail BUGON check for access exceeding the folio/page size.

This is because nilfs_dotdot(), which gets parent directory reference entry ("..") of the directory to be moved or renamed, does not check consistency enough, and may return location exceeding folio/page size for broken directories.

Fix this issue by checking required directory entries ("." and "..") in the first chunk of the directory in nilfs_dotdot().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41034.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
2ba466d74ed74f073257f86e61519cb8f8f46184
Fixed
ff9767ba2cb949701e45e6e4287f8af82986b703
Fixed
24c1c8566a9b6be51f5347be2ea76e25fc82b11e
Fixed
a9a466a69b85059b341239766a10efdd3ee68a4b
Fixed
7000b438dda9d0f41a956fc9bffed92d2eb6be0d
Fixed
1a8879c0771a68d70ee2e5e66eea34207e8c6231
Fixed
60f61514374e4a0c3b65b08c6024dd7e26150bfd
Fixed
298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5
Fixed
a9e1ddc09ca55746079cc479aa3eb6411f0d99d4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41034.json"