Skip to content

Releases: nilfs-dev/nilfs2-kmod8

nilfs2-kmod8 1.24

23 Dec 04:33
v1.24
Compare
Choose a tag to compare
  • Backport fixes for potential issues such as out-of-page memory access and link counter underflow that can occur on corrupted file systems:
    • prevent use of deleted inode
    • fix potential out-of-bounds memory access in nilfs_find_entry()

nilfs2-kmod8 1.23

13 Nov 21:42
v1.23
Compare
Choose a tag to compare
  • Backport fixes for null pointer dereference bugs that occur when using nilfs2 and two block-related tracepoints:
    • fix null-ptr-deref in block_touch_buffer tracepoint
    • fix null-ptr-deref in block_dirty_buffer tracepoint

nilfs2-kmod8 1.22

04 Nov 12:07
v1.22
Compare
Choose a tag to compare
  • Backport fixes for two kernel bug that could occur when file system corruption was detected and the mount mode was degraded to read-only:
    • fix kernel bug due to missing clearing of buffer delay flag
    • fix kernel bug due to missing clearing of checked flag
  • Backport a fix for a potential deadlock issue:
    • fix potential deadlock with newly created symlinks

nilfs2-kmod8 1.21

18 Oct 15:10
v1.21
Compare
Choose a tag to compare
  • Backport an upstream fix for a problem where a directory search could loop for a long time on a broken filesystem, which could result in a large amount of error logs being output in bursts:
    • propagate directory read errors from nilfs_find_entry()

nilfs2-kmod8 1.20

22 Sep 16:26
v1.20
Compare
Choose a tag to compare
  • Backport upstream fixes that prevent internal code -ENOENT from propagating to system calls:
    • treat missing sufile header block as metadata corruption
    • treat missing cpfile header block as metadata corruption
    • do not propagate ENOENT error from sufile during recovery
    • do not propagate ENOENT error from sufile during GC
    • do not propagate ENOENT error from nilfs_sufile_mark_dirty()
  • Backport upstream fixes for three potential issues with empty b-tree nodes that can occur with corrupted file system images, including one recently discovered by syzbot:
    • fix potential null-ptr-deref in nilfs_btree_insert()
    • determine empty node blocks as corrupted
    • fix potential oob read in nilfs_btree_check_delete()
  • Backport a change to suppress nuisance kernel warnings that are output after detecting file system corruption and degrading to a read-only mount:
    • do not output warnings when clearing dirty buffers
  • Backport a cleanup patch to remove code that is no longer needed by an existing fix:
    • do not repair reserved inode bitmap in nilfs_new_inode()

nilfs2-kmod8 1.19

05 Sep 05:03
v1.19
Compare
Choose a tag to compare
  • Backport upstream bug fixes for issues such as memory access violations or invalid pointer dereferencing due to missing exclusive controls in the sysfs interface, a use-after-free bug in an error path of recovery during mount, and hangs and metadata block loss due to insufficient cleanup after log writer errors:
    • fix state management in error path of log writing function
    • fix missing cleanup on rollforward recovery error
    • protect references to superblock parameters exposed in sysfs
  • Backport bug fixes for a kernel bug in b-tree node block creation that can occur when the disk address translation table is corrupted, and potential synchronization operation malfunctions due to an environment-dependent flaw in a sequence counter comparision macro:
    • handle inconsistent state in nilfs_btnode_create_block()
    • avoid undefined behavior in nilfs_cnt32_ge macro
  • Backport a cleanup patch to resolve a conflict:
    • remove some unused macros to tame gcc

nilfs2-kmod8 1.18

11 Jul 15:10
v1.18
Compare
Choose a tag to compare
  • Backport a fix for a kernel bug that could occur when moving/renaming broken directories, and a commit that it depends on:
    • fix kernel bug on rename operation of broken directory
    • return the mapped address from nilfs_get_page()

nilfs2-kmod8 1.17

05 Jul 17:02
v1.17
Compare
Choose a tag to compare
  • Backport a fix for use-after-free of metadata file inodes that could cause kernel bugs when directory entries were corrupted:
    • add missing check for inode numbers on directory entries
  • Backport fixes for a couple of flaws that could cause problems if the starting number of non-reserved inodes was intentionally (or corruptly) changed from its default value:
    • fix inode number range checks
    • fix incorrect inode allocation from reserved inodes

nilfs2-kmod8 1.16

08 Jun 12:37
v1.16
Compare
Choose a tag to compare
  • Backport fixes for a kernel bug that could occur when overwriting a block device on which nilfs2 is mounted, and for potential FS corruption when removing or renaming a directory failed with I/O errors:
    • fix potential kernel bug due to lack of writeback flag waiting
    • fix nilfs_empty_dir() misjudgment and long loop on I/O errors
  • CentOS 8 stream EOL has been reflected in the README file:
    • README: remove CentOS 8 stream from supported distributions

nilfs2-kmod8 1.15

27 May 05:29
v1.15
Compare
Choose a tag to compare
  • Backport fixes for a few issues with the log writer, including potential use-after-free and hang issues on unmount, and potential sync operation freezes:
    • fix use-after-free of timer for log writer thread
    • fix unexpected freezing of nilfs_segctor_sync()
    • fix potential hang in nilfs_detach_log_writer()
  • Backport fixes for potential issues with finishing block writes in rollforward recovery on mount:
    • make block erasure safe in nilfs_finish_roll_forward()
    • convert BUG_ON() in nilfs_finish_roll_forward() to WARN_ON()
  • Backport a fix for one potential array out-of-bounds access issue around the directory code:
    • fix OOB in nilfs_set_de_type
  • Backport one environment-dependent build warning fix:
    • fix out-of-range warning