Commit 87aecd24f58e for kernel
commit 87aecd24f58e15256870befed777bbffc5d4a9d5
Merge: 481f9afb337b e92cd41e8e5e
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Nov 15 13:45:14 2026 -0800
Merge tag 'for-7.4/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper fixes from Mikulas Patocka:
"dm:
- fix infinite loop when removing a zoned device
- fix misbehavior if kobject_init_and_add fails
- fix refcount underflow if zone reset failed
- fix misbehavior if we attempt to load a table after previous table
load failed
- fix use-after-free if we open a device read-only and then re-open
it read-write
- fix error being ignored if flush failed
dm-pcache:
- fix misbehavior on flush failure
dm-raid:
- validate array_position after it is read from the superblock
dm-cache:
- fix a crash if dm_kcopyd_client_create fails
- fix divide by zero on extremely large device
- fix NULL pointer dereference on open failure
- fix misbehavior if dm_bitset_cursor_begin fails
dm-snapshot:
- properly advertise discard_granularity in the queue limits
- fix data corruption on unaligned discards
dm-crypt:
- fix a crash on invalid table line
- fix scheduling in atomic context when using no_write_workqueue and
asynchronous completion cipher
- fix misbehavior if percpu_counter_init fails
dm-thin:
- fix integer overflow if no_space_timeout is too high
- fix data corruption if discard races with regular I/O
- fix leak if __set_snapshot_details fails
- fix parsing of feature arguments
dm-mpath:
- fix buffer overflow when parsing the table string
- fix integer overflow in queue_if_no_path_timeout_secs
dm-log-userspace:
- fix open device leak on initialization error
dm-zoned:
- back off when reclaim cannot make progress
- do not reclaim a random zone into another random zone
dm-integrity:
- don't recalculate with HMAC because of a dirty bitmap
- don't attempt to commit journal on disabled device
dm-persistent-data:
- don't ignore the return value of node_copy
- fix buffer leak if find_leaf fails
dm-verity:
- don't restart or panic on errors during system shutdown
dm-raid:
- flush a work item in raid_dtr, fix use-after-free"
* tag 'for-7.4/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (34 commits)
dm: fail a REQ_PREFLUSH bio with data when its preflush fails
dm-raid: fix use-after-free in raid_dtr()
dm-integrity: don't attempt to commit journal on disabled device
dm-verity: don't restart or panic on errors during system shutdown
dm crypt: fix use of uninitialized percpu_counter in ctr error path
dm: fix use-after-free when dm_get_device() widens the open mode
dm persistent data: don't leak bufio buffer if find_leaf fails
dm persistent data: don't ignore writeback errors
dm persistent data: test return value of node_copy
dm-thin: fix parsing of feature arguments
dm-thin: fix leak if __set_snapshot_details fails
dm-thin: fix data corruption if discard races with regular I/O
dm-cache: fix ending a cursor that never began
dm-cache: fix NULL pointer dereference on open failure
dm-crypt: defer async write submission to write thread
dm mpath: cap queue_if_no_path_timeout_secs
dm cache: validate the discard block size before narrowing
dm: Reject table setup after queue or disk teardown
dm: avoid double-dropping the zone reset submission reference
dm-sysfs: fix misbehavior if kobject_init_and_add fails
...