aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2024-03-06netlink: add nla be16/32 types to minlen arrayFlorian Westphal1-0/+4
2024-02-23crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_initTianjia Zhang1-0/+3
2024-02-05debugobjects: Stop accessing objects after releasing hash bucket lockAndrzej Hajda1-122/+78
2024-01-25kunit: debugfs: Fix unchecked dereference in debugfs_print_results()Richard Fitzgerald1-1/+3
2024-01-20btf, scripts: Exclude Rust CUs with paholeMartin Rodriguez Reboredo1-0/+9
2024-01-20ida: Fix crash in ida_free when the bitmap is emptyMatthew Wilcox (Oracle)2-1/+41
2024-01-10genirq/affinity: Only build SMP-only helper functions on SMP kernelsIngo Molnar1-3/+4
2024-01-10lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenlyMing Lei1-6/+16
2024-01-10genirq/affinity: Move group_cpus_evenly() into lib/Ming Lei2-0/+429
2024-01-01lib/vsprintf: Fix %pfwf when current node refcount == 0Herve Codina1-3/+8
2023-12-13zstd: Fix array-index-out-of-bounds UBSAN warningNick Terrell1-1/+1
2023-12-08parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codesHelge Deller1-6/+0
2023-11-28lib/generic-radix-tree.c: Don't overflow in peek()Kent Overstreet1-3/+14
2023-11-20kunit: Fix missed memory release in kunit_free_suite_set()Jinjie Ruan1-1/+3
2023-11-02maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()Liam R. Howlett2-12/+25
2023-10-25fprobe: Pass entry_data to handlersMasami Hiramatsu (Google)1-2/+4
2023-10-25lib/Kconfig.debug: do not enable DEBUG_PREEMPT by defaultHyeonggon Yoo1-1/+4
2023-10-15lib/test_meminit: fix off-by-one error in test_pages()Greg Kroah-Hartman1-1/+1
2023-09-23kobject: Add sanity check for kset->kobj.ktype in kset_register()Zhen Lei1-0/+5
2023-09-23crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()Mark O'Donovan1-2/+6
2023-09-19kunit: Fix wild-memory-access bug in kunit_free_suite_set()Jinjie Ruan1-1/+2
2023-09-19lib: test_scanf: Add explicit type cast to result initialization in test_numb...Nathan Chancellor1-1/+1
2023-09-19idr: fix param name in idr_alloc_cyclic() docAriel Marcovitch1-1/+1
2023-09-19lib/test_meminit: allocate pages up to order MAX_ORDERAndrew Donnellan1-1/+1
2023-09-13XArray: Do not return sibling entries from xa_load()Matthew Wilcox (Oracle)1-1/+1
2023-08-30maple_tree: disable mas_wr_append() when other readers are possibleLiam R. Howlett1-0/+3
2023-08-30radix tree: remove unused variableArnd Bergmann1-1/+0
2023-08-30lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernelsHelge Deller1-26/+6
2023-08-11debugobjects: Recheck debug_objects_enabled before reportingTetsuo Handa1-0/+9
2023-08-11lib/bitmap: workaround const_eval test build failureYury Norov2-4/+10
2023-08-03test_firmware: return ENOMEM instead of ENOSPC on failed memory allocationMirsad Goran Todorovac1-6/+6
2023-08-03maple_tree: fix 32 bit mas_next testingLiam R. Howlett1-1/+4
2023-08-03maple_tree: add __init and __exit to test moduleLiam R. Howlett1-78/+80
2023-08-03test_maple_tree: test modifications while iteratingLiam R. Howlett1-0/+72
2023-07-27maple_tree: set the node limit when creating a new root nodePeng Zhang1-1/+2
2023-07-19lib/bitmap: drop optimization of bitmap_{from,to}_arr64Yury Norov1-1/+1
2023-07-19lib/ts_bm: reset initial match offset for every block of textJeremy Sowden1-1/+3
2023-07-01maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()Peng Zhang1-5/+6
2023-06-21test_firmware: prevent race conditions by a correct implementation of lockingMirsad Goran Todorovac1-17/+35
2023-06-21test_firmware: Use kstrtobool() instead of strtobool()Christophe JAILLET1-1/+2
2023-06-14lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()Ben Hutchings1-1/+1
2023-06-09test_firmware: fix the memory leak of the allocated firmware bufferMirsad Goran Todorovac1-1/+18
2023-06-09test_firmware: fix a memory leak with reqs bufferMirsad Goran Todorovac1-0/+10
2023-05-30debugobjects: Don't wake up kswapd from fill_pool()Tetsuo Handa1-1/+1
2023-05-24maple_tree: make maple state reusable after mas_empty_area()Peng Zhang1-9/+3
2023-05-24lib: cpu_rmap: Avoid use after free on rmap->obj array entriesEli Cohen1-1/+4
2023-05-24linux/dim: Do nothing if no time delta between samplesRoy Novich3-4/+7
2023-05-11debugobject: Ensure pool refill (again)Thomas Gleixner1-6/+15
2023-05-11debugobject: Prevent init race with static objectsThomas Gleixner1-59/+66
2023-05-11kunit: fix bug in the order of lines in debugfs logsRae Moar2-9/+26
2023-05-11kunit: improve KTAP compliance of KUnit test outputRae Moar3-7/+10
2023-04-26maple_tree: fix a potential memory leak, OOB access, or other unpredictable bugPeng Zhang1-12/+7
2023-04-26maple_tree: fix mas_empty_area() searchLiam R. Howlett1-9/+11
2023-04-26maple_tree: make maple state reusable after mas_empty_area_rev()Liam R. Howlett1-14/+13
2023-04-20maple_tree: fix write memory barrier of nodes once dead for RCU modeLiam R. Howlett1-2/+5
2023-04-13maple_tree: add RCU lock checking to rcu callback functionsLiam R. Howlett1-92/+96
2023-04-13maple_tree: add smp_rmb() to dead node detectionLiam R. Howlett1-2/+6
2023-04-13maple_tree: remove extra smp_wmb() from mas_dead_leaves()Liam R. Howlett1-1/+0
2023-04-13maple_tree: fix freeing of nodes in rcu modeLiam R. Howlett1-11/+62
2023-04-13maple_tree: detect dead nodes in mas_start()Liam R. Howlett1-0/+4
2023-04-13maple_tree: refine ma_state init from mas_start()Liam R. Howlett1-3/+3
2023-04-13maple_tree: be more cautious about dead nodesLiam R. Howlett1-9/+43
2023-04-13maple_tree: fix mas_prev() and mas_find() state handlingLiam R. Howlett1-1/+5
2023-04-13maple_tree: fix handle of invalidated state in mas_wr_store_setup()Liam R. Howlett1-0/+3
2023-04-13maple_tree: reduce user error potentialLiam R. Howlett1-0/+10
2023-04-13maple_tree: fix potential rcu issueLiam R. Howlett1-1/+1
2023-04-13maple_tree: remove GFP_ZERO from kmem_cache_alloc() and kmem_cache_alloc_bulk()Liam R. Howlett1-37/+43
2023-04-13maple_tree: fix a potential concurrency bug in RCU modePeng Zhang1-2/+1
2023-04-13maple_tree: fix get wrong data_end in mtree_lookup_walk()Peng Zhang1-10/+5
2023-04-06zstd: Fix definition of assert()Jonathan Neuschäfer1-1/+1
2023-03-30maple_tree: fix mas_skip_node() end slot detectionLiam R. Howlett1-19/+5
2023-03-30test_maple_tree: add more testing for mas_empty_area()Liam R. Howlett1-0/+48
2023-03-10sbitmap: Try each queue to wake up at least one waiterGabriel Krisman Bertazi1-16/+12
2023-03-10sbitmap: Advance the queue index before waking up a queueGabriel Krisman Bertazi1-2/+8
2023-03-10cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUGPeter Zijlstra1-1/+14
2023-03-10kobject: Fix slab-out-of-bounds in fill_kobj_path()Wang Hai1-2/+10
2023-03-10kobject: modify kobject_get_path() to take a const *Greg Kroah-Hartman1-5/+5
2023-03-10printf: fix errname.c listArnd Bergmann1-8/+14
2023-03-10lib/mpi: Fix buffer overrun when SG is too longHerbert Xu1-1/+2
2023-03-10sbitmap: correct wake_batch recalculation to avoid potential IO hungKemeng Shi1-4/+1
2023-03-10sbitmap: Use single per-bitmap counting to wake up queued tagsGabriel Krisman Bertazi1-96/+26
2023-03-10sbitmap: remove redundant check in __sbitmap_queue_get_batchKemeng Shi1-5/+3
2023-02-25uaccess: Add speculation barrier to copy_from_user()Dave Hansen1-0/+7
2023-02-09maple_tree: fix mas_empty_area_rev() lower bound validationLiam Howlett2-9/+97
2023-02-09maple_tree: should get pivots boundary by typeWei Yang1-2/+3
2023-02-01netlink: prevent potential spectre v1 gadgetsEric Dumazet1-0/+3
2023-02-01lockref: stop doing cpu_relax in the cmpxchg loopMateusz Guzik1-1/+0
2023-01-24panic: Consolidate open-coded panic_on_warn checksKees Cook1-2/+1
2023-01-12kunit: alloc_string_stream_fragment error handling bug fixYoungJun.park1-1/+3
2023-01-07test_kprobes: Fix implicit declaration error of test_kprobesLi Hua1-0/+1
2022-12-31maple_tree: fix mas_spanning_rebalance() on insufficient dataLiam Howlett1-1/+3
2022-12-31test_maple_tree: add test for mas_spanning_rebalance() on insufficient dataLiam Howlett1-0/+23
2022-12-31test_firmware: fix memory leak in test_firmware_init()Zhengchao Shao1-0/+1
2022-12-31lib/notifier-error-inject: fix error when writing -errno to debugfs fileAkinobu Mita1-1/+1
2022-12-31lib/fonts: fix undefined behavior in bit shift for get_default_fontGaosheng Cui1-2/+2
2022-12-31lib/debugobjects: fix stat count and optimize debug_objects_mem_initwuchi1-0/+10
2022-12-02Merge tag 'mm-hotfixes-stable-2022-12-02' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+1
2022-12-01error-injection: Add prompt for function error injectionSteven Rostedt (Google)1-1/+7
2022-11-30Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabledLee Jones1-0/+1
2022-11-27Merge tag 'char-misc-6.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-11-23lib/vdso: use "grep -E" instead of "egrep"Greg Kroah-Hartman1-1/+1
2022-11-22test_kprobes: fix implicit declaration error of test_kprobesLi Hua1-0/+1
2022-11-22mm: fix unexpected changes to {failslab|fail_page_alloc}.attrQi Zheng1-5/+8
2022-11-08maple_tree: don't set a new maximum on the node when not reusing nodesLiam Howlett1-2/+1
2022-11-08maple_tree: fix depth tracking in maple_stateLiam Howlett1-1/+2
2022-11-08kmsan: make sure PREEMPT_RT is offAlexander Potapenko1-0/+1
2022-11-08Kconfig.debug: ensure early check for KMSAN in CONFIG_KMSAN_WARNAlexander Potapenko1-1/+1
2022-11-08maple_tree: reorganize testing to restore module testingLiam Howlett4-35741/+232
2022-11-08maple_tree: mas_anode_descend() clang-analyzer cleanupLiam Howlett1-6/+4
2022-11-08maple_tree: remove pointer to pointer use in mas_alloc_nodes()Liam Howlett1-3/+1
2022-11-03Merge tag 'net-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-26/+15
2022-11-01netlink: introduce bigendian integer typesFlorian Westphal1-26/+15
2022-10-29Merge tag 'mm-hotfixes-stable-2022-10-28' of git://git.kernel.org/pub/scm/lin...Linus Torvalds2-3/+4
2022-10-28lib: maple_tree: remove unneeded initialization in mtree_range_walk()Lukas Bulwahn1-2/+2
2022-10-28Kconfig.debug: disable CONFIG_FRAME_WARN for KMSAN by defaultAlexander Potapenko1-1/+2
2022-10-27Merge tag 'net-6.1-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-36/+22
2022-10-27Merge tag 'hardening-v6.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-11/+36
2022-10-26rhashtable: make test actually randomRolf Eike Beer1-36/+22
2022-10-25overflow: Refactor test skips for Clang-specific issuesKees Cook1-17/+35
2022-10-25overflow: disable failing tests for older clang versionsNick Desaulniers1-1/+8
2022-10-18kunit: update NULL vs IS_ERR() testsDan Carpenter2-3/+3
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds17-47/+38
2022-10-16Merge tag 'kbuild-fixes-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+8
2022-10-17lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5Nathan Chancellor1-2/+7
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-25/+126
2022-10-14Merge tag 'parisc-for-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2022-10-12hmm-tests: add test for migrate_device_range()Alistair Popple2-21/+100
2022-10-12mm: free device private pages have zero refcountAlistair Popple1-1/+1
2022-10-12mm/memory.c: fix race when faulting a device private pageAlistair Popple1-3/+4
2022-10-12lib/test_meminit: add checks for the allocation functionsXiaoke Wang1-0/+21
2022-10-12Merge tag 'linux-kselftest-kunit-6.1-rc1-2' of git://git.kernel.org/pub/scm/l...Linus Torvalds4-95/+43
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-10/+6
2022-10-13Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULTMasahiro Yamada1-0/+1
2022-10-13Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5Masahiro Yamada1-2/+2
2022-10-11treewide: use get_random_bytes() when possibleJason A. Donenfeld3-3/+3
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld6-12/+12
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 2Jason A. Donenfeld1-1/+1
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-2/+2
2022-10-11treewide: use prandom_u32_max() when possible, part 2Jason A. Donenfeld2-14/+5
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld8-15/+15
2022-10-11parisc: Convert PDC console to an early consoleHelge Deller1-1/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds15-1600/+45612
2022-10-10Merge tag 'dma-mapping-6.1-2022-10-10' of git://git.infradead.org/users/hch/d...Linus Torvalds1-14/+2
2022-10-10Merge tag 'v6.1-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds6-11/+98
2022-10-10Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linuxLinus Torvalds7-142/+536
2022-10-10Merge tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds4-12/+27
2022-10-10Merge tag 'printk-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-23/+28
2022-10-10Merge tag 'sched-rt-2022-10-05' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-0/+5
2022-10-10Merge tag 'perf-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+10
2022-10-07Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds5-86/+555
2022-10-07Merge tag 'tty-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-3/+0
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-39/+70
2022-10-07kunit: remove format func from struct kunit_assert, get it to 0 bytesDaniel Latypov1-3/+4
2022-10-07kunit: make kunit_kfree(NULL) a no-op to match kfree()Daniel Latypov1-0/+3
2022-10-07kunit: make kunit_kfree() not segfault on invalid inputsDaniel Latypov1-12/+2
2022-10-07kunit: make kunit_kfree() only work on pointers from kunit_malloc() and friendsDaniel Latypov2-2/+15
2022-10-07kunit: drop test pointer in string_stream_fragmentDaniel Latypov2-6/+5
2022-10-07kunit: string-stream: Simplify resource useDavid Gow3-76/+18
2022-10-06Merge tag 'linux-kselftest-kunit-6.1-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds5-2/+41
2022-10-06lib/test_cpumask: Add for_each_cpu_and(not) testsValentin Schneider1-0/+19
2022-10-06lib/find_bit: Introduce find_next_andnot_bit()Valentin Schneider1-0/+9
2022-10-05Merge tag 'sound-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-0/+44
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-4/+57
2022-10-04Merge branch 'for-6.1-hash-pointer-init' into for-linusPetr Mladek1-21/+26
2022-10-03once: rename _SLOW to _SLEEPABLEJason A. Donenfeld1-5/+5
2022-10-03Merge tag 'hardening-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-59/+329
2022-10-03kmsan: disable strscpy() optimization under KMSANAlexander Potapenko1-0/+8
2022-10-03kmsan: add tests for KMSANAlexander Potapenko1-0/+12
2022-10-03kmsan: add iomap supportAlexander Potapenko1-0/+44
2022-10-03kmsan: disable instrumentation of unsupported common kernel codeAlexander Potapenko1-0/+3
2022-10-03kmsan: add KMSAN runtime coreAlexander Potapenko2-0/+51
2022-10-03instrumented.h: allow instrumenting both sides of copy_from_user()Alexander Potapenko2-4/+8
2022-10-03stackdepot: reserve 5 extra bits in depot_stack_handle_tAlexander Potapenko1-5/+24
2022-10-03mm/hmm/test: use char dev with struct device to get device nodeMika Penttilä1-3/+10
2022-10-03kasan: move tests to mm/kasan/Andrey Konovalov3-1596/+0
2022-10-03kasan: add another use-after-free testAndrey Konovalov1-0/+24
2022-10-03kasan: drop CONFIG_KASAN_TAGS_IDENTIFYAndrey Konovalov1-8/+0
2022-10-03once: add DO_ONCE_SLOW() for sleepable contextsEric Dumazet1-0/+30
2022-10-03zstd: Fixing mixed module-builtin objectsAlexey Kardashevskiy4-12/+27
2022-10-01lib/bitmap: add tests for for_each() loopsYury Norov1-1/+243
2022-10-01lib/find_bit: add find_next{,_and}_bit_wrapYury Norov1-9/+3
2022-09-30lib: stackinit: update reference to kunit-toolTales Aparecida1-1/+1
2022-09-30lib: overflow: update reference to kunit-toolTales Aparecida1-1/+1
2022-09-30kunit: add kunit.enable to enable/disable KUnit testJoe Fradley3-0/+39
2022-09-29sbitmap: fix lockup while swappingHugh Dickins1-1/+1
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2022-09-29lib/vsprintf: Initialize vsprintf's pointer hash once the random core is ready.Sebastian Andrzej Siewior1-19/+27
2022-09-29lib/vsprintf: Remove static_branch_likely() from __ptr_to_hashval().Sebastian Andrzej Siewior1-11/+8
2022-09-29Merge branch 'v6.0-rc7'Peter Zijlstra5-29/+49
2022-09-28Kbuild: add Rust supportMiguel Ojeda1-0/+34
2022-09-28vsprintf: add new `%pA` format specifierGary Guo1-0/+13
2022-09-26mm: reduce noise in show_mem for lowmem allocationsMichal Hocko1-2/+2
2022-09-26mm: remove vmacacheLiam R. Howlett1-8/+0
2022-09-26lib/test_maple_tree: add testing for maple treeLiam R. Howlett1-0/+38307
2022-09-26Maple Tree: add new data structureLiam R. Howlett3-1/+7146
2022-09-26cpumask: add cpumask_nth_{,and,andnot}Yury Norov1-15/+13
2022-09-26lib/bitmap: remove bitmap_ord_to_posYury Norov1-33/+3
2022-09-26lib/bitmap: add tests for find_nth_bit()Yury Norov2-2/+63
2022-09-26lib: add find_nth{,_and,_andnot}_bit()Yury Norov1-0/+44
2022-09-26lib/bitmap: add bitmap_weight_and()Yury Norov1-9/+21