nilfs2-kmod8-1.14 Sat Mar 16, 2024 JST * backport fixes for potential issues that could cause a buffer I/O routine to trigger a kernel bug due to writes to file systems whose DAT metadata is corrupted or unexpected write races: - nilfs2: fix failure to detect DAT corruption in btree and direct mappings - nilfs2: prevent kernel bug at submit_bh_wbc() nilfs2-kmod8-1.13 Sun Feb 11, 2024 JST * backport fixes for a data corruption issue, mmap-related hangs and recovery failures, potential kernel panics, and a log writer freeze handling issue: - nilfs2: fix hang in nilfs_lookup_dirty_data_buffers() - nilfs2: fix data corruption in dsync block recovery for small block sizes - nilfs2: fix potential bug in end_buffer_async_write - nilfs2: add missing set_freezable() for freezable kthread * backport a patch that replaces potentially problematic state inconsistency checks with warning message output: - nilfs2: switch WARN_ONs to warning output in nilfs_sufile_do_free() nilfs2-kmod8-1.12 Sat Dec 9, 2023 JST * backport fixes for a potential use-after-free issue, problems including memory access violations due to lack of block size error handling, and a bug reported by syzbot: - nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() - nilfs2: fix missing error check for sb_set_blocksize call - nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage() nilfs2-kmod8-1.11 Mon Sep 4, 2023 JST * backport fixes for user-after-free read, general protection fault, and kernel warning issues under abnormal conditions reported by syzbot: - nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput - nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers() - nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse nilfs2-kmod8-1.10 Sat Jun 24, 2023 JST * backport fixes for general protection faults on corrupted disk images and buffer corruption issues caused by concurrent device reads: - nilfs2: prevent general protection fault in nilfs_clear_dirty_page() - nilfs2: fix buffer corruption due to concurrent device reads nilfs2-kmod8-1.9 Wed Jun 14, 2023 JST * backport recent fixes for various issues reported by syzbot: - nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode() - nilfs2: reject devices with insufficient block count - nilfs2: fix possible out-of-bounds segment allocation in resize ioctl - nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key() * add inline function compatibility definitions for maintenance: - Allow to use bdev_nr_bytes() and sb_bdev_nr_blocks() nilfs2-kmod8-1.8 Sun May 7, 2023 JST * backport fixes for kernel hangs and writes even after read-only degeneration: - nilfs2: do not write dirty data after degenerating to read-only - nilfs2: fix infinite loop in nilfs_mdt_get_block() nilfs2-kmod8-1.7 Sun Apr 23, 2023 JST * backport another missing block initialization fix: - nilfs2: initialize unused bytes in segment summary blocks nilfs2-kmod8-1.6 Sun Apr 16, 2023 JST * backport fixes for a potential use-after-free read issue and missing segment summary data initialization: - nilfs2: initialize "struct nilfs_binfo_dat"->bi_pad field - nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread() * backport the fix for potential null pointer dereferences, use-after-free, and lockdep warnings caused by improper sysfs interface lifetime: - nilfs2: fix sysfs interface lifetime nilfs2-kmod8-1.5 Mon Mar 27, 2023 JST * backport the fix for a potential kernel information leak when specifying anomalous ioctl parameters: - nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy() * backport improved anomaly checks for corrupted disk images: - nilfs2: prevent WARNING in nilfs_dat_commit_end() - nilfs2: replace WARN_ONs for invalid DAT metadata block requests nilfs2-kmod8-1.4 Sun Feb 19, 2023 JST * backport fixes for general protection faults on corrupted disk images, an out-of-bounds block access issue on empty or very small devices, bad segment counts and a writer thread hang issue after attempting to resize to very small sizes: - nilfs2: fix general protection fault in nilfs_btree_insert() - nilfs2: fix underflow in second superblock position calculations nilfs2-kmod8-1.3 Sun Dec 25, 2022 JST * backport the fixes for potential shift-out-of-bounds issues at mount time against corrupted disk images: - nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset() - nilfs2: fix shift-out-of-bounds due to too large exponent of block size nilfs2-kmod8-1.2 Mon Dec 5, 2022 JST * backport bug fixes: - nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty - nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry() nilfs2-kmod8-1.1 Sun Nov 20, 2022 JST * backport bug fixes: - nilfs2: fix deadlock in nilfs_count_free_blocks() - nilfs2: fix use-after-free bug of ns_writer on remount nilfs2-kmod8-1.0 Mon Oct 24, 2022 JST * Fix build issues with older RHEL 8 kernels: - Allow to use sysfs_emit() in old kernels (< 8.5) - Allow to add gfp argument to blkdev_issue_flush() for old kernels (< 8.6) - Add dummy error sector argument to blkdev_issue_flush() for old kernels (< 8.4) - Allow to use the fallthrough keyword in older kernels (< 8.4) - Revert "nilfs2: use default_groups in kobj_type" (< 8.3) - Avoid using unexported __inode_attach_wb() in older kernels (< 8.3) - nilfs2-kmod8: output an error when compiling against unsupported versions (= 8.0) * Makefile updates: - nilfs2-kmod8: pass RHEL release number to preprocessor - Include header files in local include/uapi directory - Use KBUILD_EXTMOD instead of SUBDIRS in fs/nilfs2/Makefile - Use KBUILD_CFLAGS and LINUXINCLUDE instead of EXTRA_CFLAGS nilfs2-kmod8-0.2 Sun Oct 16, 2022 JST * backport bug fixes: - nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure - nilfs2: fix use-after-free bug of struct nilfs_root - nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level() - nilfs2: fix leak of nilfs_root in case of writer thread creation failure nilfs2-kmod8-0.1 Wed Oct 12, 2022 JST * backport RHEL 8 changes: - block: use an on-stack bio in blkdev_issue_flush - block: remove the error_sector argument to blkdev_issue_flush - fs/nilfs2/file.c: use new return type vm_fault_t - nilfs2: Convert to XArray - nilfs2: Use xa_erase_irq - XArray: Change xa_insert to return -EBUSY - treewide: Use fallthrough pseudo-keyword - Allow to backport vfs_ioc_setflags_prepare() - Allow to backport the new readahead aop * backport bug fixes: - nilfs2: use 64-bit superblock timstamps - nilfs2: fix null pointer dereference at nilfs_segctor_do_construct() - nilfs2: only call unlock_new_inode() if I_NEW - nilfs2: fix memory leak in nilfs_sysfs_delete_device_group - nilfs2: fix memory leak in nilfs_sysfs_create_device_group - nilfs2: fix NULL pointer in nilfs_##name##_attr_release - nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group - nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group - nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group - nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group - nilfs2: use refcount_dec_and_lock() to fix potential UAF - nilfs2: fix lockdep warnings in page operations for btree nodes - nilfs2: fix lockdep warnings during disk space reclamation - nilfs2: get rid of nilfs_mapping_init() - nilfs2: fix incorrect masking of permission flags for symlinks - nilfs2: fix use-after-free bug in nilfs_mdt_destroy() * backport documentation fixes: - nilfs2: fix some kernel-doc warnings for nilfs2 - fs/nilfs2: fix misspellings using codespell tool - nilfs2: fix typos in comments * backport other changes: - nilfs2: convert to SPDX license tags - nilfs2: replace snprintf in show functions with sysfs_emit - nilfs2: remove filenames from file comments - nilfs2: use default_groups in kobj_type - nilfs2: convert __nilfs_msg to integrate the level and format - nilfs2: use a more common logging style * add ChangeLog file * add README file * add kern_feature.h header file * add .gitignore file * Import source files from stable kernel-4.18.y.