Bug 2140882 (CVE-2022-3649) - CVE-2022-3649 kernel: nilfs2: use-after-free in nilfs_new_inode of fs/nilfs2/inode.c
Summary: CVE-2022-3649 kernel: nilfs2: use-after-free in nilfs_new_inode of fs/nilfs2/...
Alias: CVE-2022-3649
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On:
Blocks: 2136784
TreeView+ depends on / blocked
Reported: 2022-11-08 03:10 UTC by TEJ RATHI
Modified: 2022-12-21 11:22 UTC (History)
36 users (show)

Fixed In Version: kernel 6.1-rc1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the NILFS2 file system implementation in the Linux kernel. If the beginning of the inode bitmap area was corrupted on disk, an inode with the same inode number as the root inode could be allocated and fail soon after. The subsequent call to nilfs_clear_inode() wrongly decremented the reference counter of struct nilfs_root, leading to a use-after-free issue. A user permitted to mount arbitrary file system images could use this flaw to cause a denial of service.
Clone Of:
Last Closed: 2022-12-21 11:22:39 UTC

Attachments (Terms of Use)

Description TEJ RATHI 2022-11-08 03:10:42 UTC
A vulnerability was found in Linux Kernel. It has been classified as problematic. Affected is the function nilfs_new_inode of the file fs/nilfs2/inode.c of the component BPF. The manipulation leads to use after free. It is possible to launch the attack remotely. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211992.


Note You need to log in before you can comment on or make changes to this bug.