Skip to content

Backported fixes for 4.4 stable tree

Ajay Kaher stable 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 2 repliesIn review
  2. v38 patches 7 repliesSuperseded
  3. v28 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mm: make page ref count overflow check tighter and more explicitinclude/linux/mm.h mm/internal.h+8 -30 replies
2/7mm: add 'try_get_page()' helper functioninclude/linux/mm.h mm/internal.h+35 -00 replies
3/7mm, gup: remove broken VM_BUG_ON_PAGE compound check for hugepagesmm/gup.c+0 -30 replies
4/7mm, gup: ensure real head page is ref-counted when using hugepagesmm/gup.c+6 -60 replies
5/7mm: prevent get_user_pages() from overflowing page refcountarch/s390/mm/gup.c arch/x86/mm/gup.c include/linux/mm.h +2 more+65 -130 replies
6/7pipe: add pipe_buf_get() helperfs/fuse/dev.c fs/splice.c include/linux/pipe_fs_i.h+14 -30 replies
7/7fs: prevent page refcount overflow in pipe_buf_getfs/fuse/dev.c fs/pipe.c fs/splice.c +2 more+29 -150 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchMatthew WilcoxSteve CapperKirill A. Shutemov
1/7A-b
2/7A-b
3/7A-b A-b
4/7A-b
5/7A-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 v4.4.y 0/7] Backported fixes for 4.4 stable tree

[Posting again after correcting CC’ed e-mail id]

These patches include few backported fixes for the 4.4 stable tree.
I would appreciate if you could kindly consider including them in the next release.

Ajay

---

[Changes from v3]:
- Dropped [Patch v3 8/8] [2] as patches 1-7 are independent from patch 8 and patch 8 may require more work.

[Changes from v2]:
Merged following changes from Vlastimil's series [1]:
- Added page_ref_count() in [Patch v3 5/8]
- Added missing refcount overflow checks on x86 and s390 [Patch v3 5/8]
- Added [Patch v3 8/8]
- Removed 7aef4172c795 i.e. [Patch v2 3/8]

[1] https://lore.kernel.org/stable/[email protected]/
[2] https://lore.kernel.org/stable/[email protected]/
---

[PATCH v4 1/7]:
Backporting of upstream commit f958d7b528b1:
mm: make page ref count overflow check tighter and more explicit

[PATCH v4 2/7]:
Backporting of upstream commit 88b1a17dfc3e:
mm: add 'try_get_page()' helper function

[PATCH v4 3/7]:
Backporting of upstream commit a3e328556d41:
mm, gup: remove broken VM_BUG_ON_PAGE compound check for hugepages

[PATCH v4 4/7]:
Backporting of upstream commit d63206ee32b6:
mm, gup: ensure real head page is ref-counted when using hugepages

[PATCH v4 5/7]:
Backporting of upstream commit 8fde12ca79af:
mm: prevent get_user_pages() from overflowing page refcount

[PATCH v4 6/7]:
Backporting of upstream commit 7bf2d1df8082:
pipe: add pipe_buf_get() helper

[PATCH v4 7/7]:
Backporting of upstream commit 15fab63e1e57:
fs: prevent page refcount overflow in pipe_buf_get