[SRU][F/J][PATCH v2 0/1] CVE-2024-44942

Massimiliano Pellizzer massimiliano.pellizzer at canonical.com
Wed Oct 16 09:31:56 UTC 2024


[Impact]

Add sanity check on F2FS_INLINE_DATA flag in inode during garbage
collection.

[Fix]

Noble:  Fixed through stable updates
Jammy:  Backported from linux-6.6.y
Focal:  Applied jammy patch
Bionic: Sent to ESM ML
Xenial: Sent to ESM ML

[Test Case]

Compile and boot tested.
Moreover tested a f2fs partition using:
- stress-ng --hdd
- stress-ng --aio
- stress-ng --iomix

[Where problems could occur]

The fix affects the f2fs filesystem. An issue with this fix may lead to
kernel crashes, particularly during the garbage collection process.
Users may also notice filesystem inconsistencies and data corruption.

[Changes between v1 and v2]

Dropped a prereq both in Jammy and Focal which only purpose was to
define the function f2fs_err_ratelimited(), used printk_ratelimited
instead.

Chao Yu (1):
  f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during
    GC

 fs/f2fs/gc.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

-- 
2.43.0




More information about the kernel-team mailing list