[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: 7d79cd784470395539bda91bf0b3505ff5b2ab6d
WARNING: Author mismatch between patch and upstream commit: Backport author: Andrey Kalachev kalachev@swemel.ru Commit author: Vivek Kasireddy vivek.kasireddy@intel.com
Status in newer kernel trees: 6.12.y | Present (exact SHA1) 6.11.y | Present (exact SHA1) 6.6.y | Not found
Note: The patch differs from the upstream commit: --- 1: 7d79cd7844703 ! 1: edc6b0308d474 udmabuf: use vmf_insert_pfn and VM_PFNMAP for handling mmap @@ Metadata ## Commit message ## udmabuf: use vmf_insert_pfn and VM_PFNMAP for handling mmap
+ [ Upstream commit 7d79cd784470395539bda91bf0b3505ff5b2ab6d ] + Add VM_PFNMAP to vm_flags in the mmap handler to ensure that the mappings would be managed without using struct page.
@@ Commit message Cc: Oscar Salvador osalvador@suse.de Cc: Shuah Khan shuah@kernel.org Signed-off-by: Andrew Morton akpm@linux-foundation.org + Reported-by: syzbot+3d218f7b6c5511a83a79@syzkaller.appspotmail.com
## drivers/dma-buf/udmabuf.c ## @@ drivers/dma-buf/udmabuf.c: static vm_fault_t udmabuf_vm_fault(struct vm_fault *vmf) ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success |