|
[PATCH 4.4-cip 3/5] mm/slab: clean up DEBUG_PAGEALLOC processing code
From: Joonsoo Kim <iamjoonsoo.kim@...> commit 40b44137971c2e5865a78f9f7de274449983ccb5 upstream. Currently, open code for checking DEBUG_PAGEALLOC cache is spread to some sites. It makes code unreadab
From: Joonsoo Kim <iamjoonsoo.kim@...> commit 40b44137971c2e5865a78f9f7de274449983ccb5 upstream. Currently, open code for checking DEBUG_PAGEALLOC cache is spread to some sites. It makes code unreadab
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 4/5] mm/page_poison.c: enable PAGE_POISONING as a separate option
From: Laura Abbott <labbott@...> commit 8823b1dbc05fab1a8bec275eeae4709257c2661d upstream. Page poisoning is currently set up as a feature if architectures don't have architecture debug page_alloc to
From: Laura Abbott <labbott@...> commit 8823b1dbc05fab1a8bec275eeae4709257c2661d upstream. Page poisoning is currently set up as a feature if architectures don't have architecture debug page_alloc to
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 5/5] mm/page_poisoning.c: allow for zero poisoning
From: Laura Abbott <labbott@...> commit 1414c7f4f7d72d138fff35f00151d15749b5beda upstream. By default, page poisoning uses a poison value (0xaa) on free. If this is changed to 0, the page is not only
From: Laura Abbott <labbott@...> commit 1414c7f4f7d72d138fff35f00151d15749b5beda upstream. By default, page poisoning uses a poison value (0xaa) on free. If this is changed to 0, the page is not only
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 00/23] Undefined Behaviour Sanititizer support
This is a backport of changes in 4.5 to add support for GCC's Undefined Behaviour Sanitizer (UBSAN), and fixes for undefined behaviour that it has found (that are not already in 4.4.30). UBSAN detects
This is a backport of changes in 4.5 to add support for GCC's Undefined Behaviour Sanitizer (UBSAN), and fixes for undefined behaviour that it has found (that are not already in 4.4.30). UBSAN detects
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 01/23] UBSAN: run-time undefined behavior sanity checker
From: Andrey Ryabinin <aryabinin@...> commit c6d308534aef6c99904bf5862066360ae067abc4 upstream. UBSAN uses compile-time instrumentation to catch undefined behavior (UB). Compiler inserts code that per
From: Andrey Ryabinin <aryabinin@...> commit c6d308534aef6c99904bf5862066360ae067abc4 upstream. UBSAN uses compile-time instrumentation to catch undefined behavior (UB). Compiler inserts code that per
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 02/23] ubsan: cosmetic fix to Kconfig text
From: Yang Shi <yang.shi@...> commit 7707535ab95e2231b6d7f2bfb4f27558e83c4dc2 upstream. When enabling UBSAN_SANITIZE_ALL, the kernel image size gets increased significantly (~3x). So, it sounds better
From: Yang Shi <yang.shi@...> commit 7707535ab95e2231b6d7f2bfb4f27558e83c4dc2 upstream. When enabling UBSAN_SANITIZE_ALL, the kernel image size gets increased significantly (~3x). So, it sounds better
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 03/23] PM / sleep: declare __tracedata symbols as char[] rather than char
From: Eric Biggers <ebiggers3@...> commit f97238373b8662a6d580e204df2e7bcbfa43e27a upstream. Accessing more than one byte from a symbol declared simply 'char' is undefined behavior, as reported by UBS
From: Eric Biggers <ebiggers3@...> commit f97238373b8662a6d580e204df2e7bcbfa43e27a upstream. Accessing more than one byte from a symbol declared simply 'char' is undefined behavior, as reported by UBS
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 04/23] x86/microcode/intel: Change checksum variables to u32
From: Chris Bainbridge <chris.bainbridge@...> commit bc864af13f34d19c911f5691d87bdacc9ce109f5 upstream. Microcode checksum verification should be done using unsigned 32-bit values otherwise the calcul
From: Chris Bainbridge <chris.bainbridge@...> commit bc864af13f34d19c911f5691d87bdacc9ce109f5 upstream. Microcode checksum verification should be done using unsigned 32-bit values otherwise the calcul
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 05/23] mm/page-writeback: fix dirty_ratelimit calculation
From: Andrey Ryabinin <aryabinin@...> commit d59b1087a98e402ed9a7cc577f4da435f9a555f5 upstream. Calculation of dirty_ratelimit sometimes is not correct. E.g. initial values of dirty_ratelimit == INIT_
From: Andrey Ryabinin <aryabinin@...> commit d59b1087a98e402ed9a7cc577f4da435f9a555f5 upstream. Calculation of dirty_ratelimit sometimes is not correct. E.g. initial values of dirty_ratelimit == INIT_
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 06/23] perf/core: Fix Undefined behaviour in rb_alloc()
From: Peter Zijlstra <peterz@...> commit 8184059e93c200757f5c0805dae0f14e880eab5d upstream. Sasha reported: [ 3494.030114] UBSAN: Undefined behaviour in kernel/events/ring_buffer.c:685:22 [ 3494.03064
From: Peter Zijlstra <peterz@...> commit 8184059e93c200757f5c0805dae0f14e880eab5d upstream. Sasha reported: [ 3494.030114] UBSAN: Undefined behaviour in kernel/events/ring_buffer.c:685:22 [ 3494.03064
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 07/23] ubsan: fix tree-wide -Wmaybe-uninitialized false positives
From: Andrey Ryabinin <aryabinin@...> commit dde5cf39d4d2cce71f2997c37210dd624d0e4bf6 upstream. -fsanitize=* options makes GCC less smart than usual and increase number of 'maybe-uninitialized' false-
From: Andrey Ryabinin <aryabinin@...> commit dde5cf39d4d2cce71f2997c37210dd624d0e4bf6 upstream. -fsanitize=* options makes GCC less smart than usual and increase number of 'maybe-uninitialized' false-
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 08/23] mm/filemap: generic_file_read_iter(): check for zero reads unconditionally
From: Nicolai Stange <nicstange@...> commit e7080a439a6f507abbc860847c33efc39b5c1c6d upstream. If - generic_file_read_iter() gets called with a zero read length, - the read offset is at a page boundar
From: Nicolai Stange <nicstange@...> commit e7080a439a6f507abbc860847c33efc39b5c1c6d upstream. If - generic_file_read_iter() gets called with a zero read length, - the read offset is at a page boundar
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 09/23] perf/x86/amd: Set the size of event map array to PERF_COUNT_HW_MAX
From: Adam Borowski <kilobyte@...> commit 0a25556f84d5f79e68e9502bb1f32a43377ab2bf upstream. The entry for PERF_COUNT_HW_REF_CPU_CYCLES is not used on AMD, but is referenced by filter_events() which e
From: Adam Borowski <kilobyte@...> commit 0a25556f84d5f79e68e9502bb1f32a43377ab2bf upstream. The entry for PERF_COUNT_HW_REF_CPU_CYCLES is not used on AMD, but is referenced by filter_events() which e
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 10/23] drm/radeon: don't include RADEON_HPD_NONE in HPD IRQ enable bitsets
From: Nicolai Stange <nicstange@...> commit b2c0cbd657173f024138d6421774007690ceeffd upstream. The values of all but the RADEON_HPD_NONE members of the radeon_hpd_id enum transform 1:1 into bit positi
From: Nicolai Stange <nicstange@...> commit b2c0cbd657173f024138d6421774007690ceeffd upstream. The values of all but the RADEON_HPD_NONE members of the radeon_hpd_id enum transform 1:1 into bit positi
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 11/23] btrfs: fix int32 overflow in shrink_delalloc().
From: Adam Borowski <kilobyte@...> commit 8eb0dfdbda3f56bf7d248ed87fcc383df114ecbb upstream. UBSAN: Undefined behaviour in fs/btrfs/extent-tree.c:4623:21 signed integer overflow: 10808 * 262144 cannot
From: Adam Borowski <kilobyte@...> commit 8eb0dfdbda3f56bf7d248ed87fcc383df114ecbb upstream. UBSAN: Undefined behaviour in fs/btrfs/extent-tree.c:4623:21 signed integer overflow: 10808 * 262144 cannot
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 12/23] blk-mq: fix undefined behaviour in order_to_size()
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...> commit b3a834b1596ac668df206aa2bb1f191c31f5f5e4 upstream. When this_order variable in blk_mq_init_rq_map() becomes zero the code incorrectly decremen
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...> commit b3a834b1596ac668df206aa2bb1f191c31f5f5e4 upstream. When this_order variable in blk_mq_init_rq_map() becomes zero the code incorrectly decremen
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 13/23] batman-adv: Fix integer overflow in batadv_iv_ogm_calc_tq
From: Sven Eckelmann <sven.eckelmann@...> commit d285f52cc0f23564fd61976d43fd5b991b4828f6 upstream. The undefined behavior sanatizer detected an signed integer overflow in a setup with near perfect li
From: Sven Eckelmann <sven.eckelmann@...> commit d285f52cc0f23564fd61976d43fd5b991b4828f6 upstream. The undefined behavior sanatizer detected an signed integer overflow in a setup with near perfect li
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 14/23] signal: move the "sig < SIGRTMIN" check into siginmask(sig)
From: Oleg Nesterov <oleg@...> commit 5c8ccefdf46c5f87d87b694c7fbc04941c2c99a5 upstream. All the users of siginmask() must ensure that sig < SIGRTMIN. sig_fatal() doesn't and this is wrong: UBSAN: Und
From: Oleg Nesterov <oleg@...> commit 5c8ccefdf46c5f87d87b694c7fbc04941c2c99a5 upstream. All the users of siginmask() must ensure that sig < SIGRTMIN. sig_fatal() doesn't and this is wrong: UBSAN: Und
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 15/23] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()
From: Seung-Woo Kim <sw0312.kim@...> commit 65257a0deed5aee66b4e3708944f0be62a64cabc upstream. This patch removes following UBSAN warnings in dw_mci_setup_bus(). UBSAN: Undefined behaviour in drivers/
From: Seung-Woo Kim <sw0312.kim@...> commit 65257a0deed5aee66b4e3708944f0be62a64cabc upstream. This patch removes following UBSAN warnings in dw_mci_setup_bus(). UBSAN: Undefined behaviour in drivers/
|
By
Ben Hutchings
·
|
|
[PATCH 4.4-cip 16/23] UBSAN: fix typo in format string
From: Nicolas Iooss <nicolas.iooss_linux@...> commit 901d805c33fc4c029fc6b2d94ee5fb7d30278045 upstream. handle_object_size_mismatch() used %pk to format a kernel pointer with pr_err(). This seemed to
From: Nicolas Iooss <nicolas.iooss_linux@...> commit 901d805c33fc4c029fc6b2d94ee5fb7d30278045 upstream. handle_object_size_mismatch() used %pk to format a kernel pointer with pr_err(). This seemed to
|
By
Ben Hutchings
·
|