ext4: fix error handling in ext4_fc_record_modified_inode()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix error handling in ext4_fc_record_modified_inode()
Current code does not fully takes care of krealloc() error case, which could lead to silent memory corruption or a kernel bug. This patch fixes that.
Also it cleans up some duplicated error handling logic from various functions in fast_commit.c file.
From the CVE record · Linux
The Linux kernel’s ext4 fast-commit code does not fully handle a krealloc() failure in ext4_fc_record_modified_inode(). This could cause silent memory corruption or a kernel bug. The input does not specify how an attacker could trigger the issue or whether access or user interaction is required.
Engineers running Linux kernels with ext4 should check their versions; affected versions are not specified in the input.