Skip to contentSkip to conversation

ac1e516d5a4c ("drm/ttm: fix start page for huge page check in ttm_put_pages()")

DISCUSSION Zubin Mithra 2 participants 3 messages Jan 16, 2020 Stable branch

lore
Share & tools
lore
#0 lore raw

Hello,

The patch :
a66477b0efe5 ("drm/ttm: fix out-of-bounds read in ttm_put_pages() v2")

has been applied to linux-4.19.y. However, 2 follow-up fixes have not been applied.

Could the following two fixes be applied to linux-4.19.y? These commits are present in linux-5.4.y. These patches do not have to be applied to linux-4.14.y.

ac1e516d5a4c ("drm/ttm: fix start page for huge page check in ttm_put_pages()") 453393369dc9 ("drm/ttm: fix incrementing the page pointer for huge pages")

Thanks,
- Zubin

maintainer
#1 lore raw
Quoted 6 lines · Zubin Mithra

Hello,

The patch :
a66477b0efe5 ("drm/ttm: fix out-of-bounds read in ttm_put_pages() v2")

has been applied to linux-4.19.y. However, 2 follow-up fixes have not been applied.

How did you figure out that they were "follow-up" fixes?

Quoted 6 lines

Could the following two fixes be applied to linux-4.19.y? These commits are present in linux-5.4.y. These patches do not have to be applied to linux-4.14.y.

ac1e516d5a4c ("drm/ttm: fix start page for huge page check in ttm_put_pages()") 453393369dc9 ("drm/ttm: fix incrementing the page pointer for huge pages")

Both now queued up, thanks for letting me know.

greg k-h

#2 lore raw
Quoted 9 lines · Greg KH
Quoted 6 lines · Zubin Mithra

Hello,

The patch :
a66477b0efe5 ("drm/ttm: fix out-of-bounds read in ttm_put_pages() v2")

has been applied to linux-4.19.y. However, 2 follow-up fixes have not been applied.

How did you figure out that they were "follow-up" fixes?

CVE-2019-19927 references commits a66477b0efe5, ac1e516d5a4c and 453393369dc9.
The patch author(Christian König) confirmed that if the patches were being backported, then all three of them need to be.

Thanks,
- Zubin

Quoted 11 lines
Quoted 7 lines

Could the following two fixes be applied to linux-4.19.y? These commits are present in linux-5.4.y. These patches do not have to be applied to linux-4.14.y.

ac1e516d5a4c ("drm/ttm: fix start page for huge page check in ttm_put_pages()") 453393369dc9 ("drm/ttm: fix incrementing the page pointer for huge pages")

Both now queued up, thanks for letting me know.

greg k-h