Bug 1211887 (CVE-2022-48502)

Summary: VUL-0: CVE-2022-48502: kernel-source-azure,kernel-source-rt,kernel-source: out of bounds read in ntfs_set_ea()
Product: [Novell Products] SUSE Security Incidents Reporter: Carlos López <carlos.lopez>
Component: IncidentsAssignee: Goldwyn Rodrigues <rgoldwyn>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: chester.lin, rgoldwyn, security-team, vasant.karasulli
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/368041/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-48502:6.7:(AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos López 2023-06-01 08:04:05 UTC
CVE-2022-48502

An issue was discovered in the Linux kernel before 6.2. The ntfs3 subsystem does
not properly check for correctness during disk reads, leading to an
out-of-bounds read in ntfs_set_ea in fs/ntfs3/xattr.c.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48502
https://www.cve.org/CVERecord?id=CVE-2022-48502
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.2
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b
https://syzkaller.appspot.com/bug?extid=8778f030156c6cd16d72
Comment 2 Carlos López 2023-06-01 08:33:37 UTC
We only have CONFIG_NTFS3_FS enabled in stable and master (so Leap and Tumbleweed), and they both already got the fix:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b

Please confirm and I will close the bug.
Comment 4 Goldwyn Rodrigues 2023-07-14 18:08:29 UTC
Yes, we don't support NTFS in kernel filesystem for enterprise products.  So this can be closed. Thanks for following up.