Commit 9e23acf
committed
Merge tag 'for-6.12/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper fixes from Mikulas Patocka:
- fix memory safety bugs in dm-cache
- fix restart/panic logic in dm-verity
- fix 32-bit unsigned integer overflow in dm-unstriped
- fix a device mapper crash if blk_alloc_disk fails
* tag 'for-6.12/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
dm cache: fix potential out-of-bounds access on the first resume
dm cache: optimize dirty bit checking with find_next_bit when resizing
dm cache: fix out-of-bounds access to the dirty bitset when resizing
dm cache: fix flushing uninitialized delayed_work on cache_ctr error
dm cache: correct the number of origin blocks to match the target length
dm-verity: don't crash if panic_on_corruption is not selected
dm-unstriped: cast an operand to sector_t to prevent potential uint32_t overflow
dm: fix a crash if blk_alloc_disk failsFile tree
5 files changed
+42
-35
lines changed- drivers/md
5 files changed
+42
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1905 | 1905 | | |
1906 | 1906 | | |
1907 | 1907 | | |
1908 | | - | |
| 1908 | + | |
1909 | 1909 | | |
1910 | | - | |
1911 | | - | |
1912 | 1910 | | |
1913 | 1911 | | |
1914 | 1912 | | |
1915 | 1913 | | |
1916 | 1914 | | |
1917 | | - | |
1918 | 1915 | | |
1919 | 1916 | | |
1920 | 1917 | | |
| |||
1942 | 1939 | | |
1943 | 1940 | | |
1944 | 1941 | | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
1945 | 1953 | | |
1946 | 1954 | | |
1947 | 1955 | | |
1948 | 1956 | | |
1949 | | - | |
1950 | | - | |
1951 | | - | |
| 1957 | + | |
1952 | 1958 | | |
1953 | 1959 | | |
1954 | 1960 | | |
| |||
2003 | 2009 | | |
2004 | 2010 | | |
2005 | 2011 | | |
2006 | | - | |
2007 | 2012 | | |
2008 | 2013 | | |
2009 | 2014 | | |
| |||
2084 | 2089 | | |
2085 | 2090 | | |
2086 | 2091 | | |
| 2092 | + | |
2087 | 2093 | | |
2088 | 2094 | | |
2089 | 2095 | | |
| |||
2096 | 2102 | | |
2097 | 2103 | | |
2098 | 2104 | | |
2099 | | - | |
2100 | | - | |
| 2105 | + | |
| 2106 | + | |
2101 | 2107 | | |
2102 | 2108 | | |
2103 | 2109 | | |
| |||
2407 | 2413 | | |
2408 | 2414 | | |
2409 | 2415 | | |
2410 | | - | |
| 2416 | + | |
2411 | 2417 | | |
2412 | 2418 | | |
2413 | 2419 | | |
| |||
2561 | 2567 | | |
2562 | 2568 | | |
2563 | 2569 | | |
2564 | | - | |
| 2570 | + | |
2565 | 2571 | | |
2566 | 2572 | | |
2567 | 2573 | | |
| |||
2612 | 2618 | | |
2613 | 2619 | | |
2614 | 2620 | | |
2615 | | - | |
| 2621 | + | |
2616 | 2622 | | |
2617 | 2623 | | |
2618 | 2624 | | |
| |||
2895 | 2901 | | |
2896 | 2902 | | |
2897 | 2903 | | |
2898 | | - | |
2899 | | - | |
2900 | | - | |
2901 | | - | |
2902 | | - | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
2903 | 2907 | | |
2904 | 2908 | | |
2905 | 2909 | | |
2906 | 2910 | | |
2907 | 2911 | | |
2908 | | - | |
2909 | | - | |
2910 | | - | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
2911 | 2917 | | |
2912 | 2918 | | |
2913 | 2919 | | |
| |||
2943 | 2949 | | |
2944 | 2950 | | |
2945 | 2951 | | |
2946 | | - | |
2947 | | - | |
2948 | | - | |
2949 | | - | |
2950 | | - | |
2951 | | - | |
2952 | | - | |
2953 | | - | |
| 2952 | + | |
2954 | 2953 | | |
2955 | 2954 | | |
2956 | 2955 | | |
2957 | 2956 | | |
2958 | 2957 | | |
2959 | 2958 | | |
| 2959 | + | |
| 2960 | + | |
2960 | 2961 | | |
2961 | 2962 | | |
2962 | 2963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
361 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
| |||
606 | 607 | | |
607 | 608 | | |
608 | 609 | | |
| 610 | + | |
609 | 611 | | |
610 | 612 | | |
611 | 613 | | |
| |||
779 | 781 | | |
780 | 782 | | |
781 | 783 | | |
| 784 | + | |
782 | 785 | | |
783 | 786 | | |
784 | 787 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2290 | 2290 | | |
2291 | 2291 | | |
2292 | 2292 | | |
2293 | | - | |
| 2293 | + | |
| 2294 | + | |
2294 | 2295 | | |
| 2296 | + | |
2295 | 2297 | | |
2296 | 2298 | | |
2297 | 2299 | | |
| |||
0 commit comments