Commit 3c0f396
committed
Merge tag 'slab-for-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab fixes from Vlastimil Babka:
- Fix a possible use-after-free in SLUB's kmem_cache removal,
introduced in this cycle, by Feng Tang.
- WQ_MEM_RECLAIM dependency fix for the workqueue-based cpu slab
flushing introduced in 5.15, by Maurizio Lombardi.
- Add missing KASAN hooks in two kmalloc entry paths, by Peter
Collingbourne.
- A BUG_ON() removal in SLUB's kmem_cache creation when allocation
fails (too small to possibly happen in practice, syzbot used fault
injection), by Chao Yu.
* tag 'slab-for-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
mm/slab_common: fix possible double free of kmem_cache
kasan: call kasan_malloc() from __kmalloc_*track_caller()
mm/slub: fix to return errno if kmalloc() fails2 files changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
484 | 485 | | |
| 486 | + | |
| 487 | + | |
485 | 488 | | |
486 | 489 | | |
487 | 490 | | |
| |||
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
495 | | - | |
| 498 | + | |
496 | 499 | | |
497 | 500 | | |
498 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
313 | 318 | | |
314 | 319 | | |
315 | 320 | | |
| |||
2730 | 2735 | | |
2731 | 2736 | | |
2732 | 2737 | | |
2733 | | - | |
| 2738 | + | |
2734 | 2739 | | |
2735 | 2740 | | |
2736 | 2741 | | |
| |||
4858 | 4863 | | |
4859 | 4864 | | |
4860 | 4865 | | |
| 4866 | + | |
| 4867 | + | |
4861 | 4868 | | |
4862 | 4869 | | |
4863 | 4870 | | |
| |||
4926 | 4933 | | |
4927 | 4934 | | |
4928 | 4935 | | |
| 4936 | + | |
| 4937 | + | |
4929 | 4938 | | |
4930 | 4939 | | |
4931 | 4940 | | |
| |||
4957 | 4966 | | |
4958 | 4967 | | |
4959 | 4968 | | |
| 4969 | + | |
| 4970 | + | |
4960 | 4971 | | |
4961 | 4972 | | |
4962 | 4973 | | |
| |||
5890 | 5901 | | |
5891 | 5902 | | |
5892 | 5903 | | |
5893 | | - | |
| 5904 | + | |
| 5905 | + | |
5894 | 5906 | | |
5895 | 5907 | | |
5896 | 5908 | | |
| |||
5948 | 5960 | | |
5949 | 5961 | | |
5950 | 5962 | | |
| 5963 | + | |
| 5964 | + | |
5951 | 5965 | | |
5952 | 5966 | | |
5953 | 5967 | | |
| |||
0 commit comments