Bug 2179668 (CVE-2023-26606)

Summary: CVE-2023-26606 kernel: ntfs3: use-after-free read in ntfs_trim_fs()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dhoward, dvlasenk, ezulian, fhrbata, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.2-rc1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-19 21:30:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2179669    
Bug Blocks: 2173495    

Description Mauro Matteo Cascella 2023-03-19 17:36:15 UTC
NVD description: In the Linux kernel 6.0.8, there is a use-after-free in ntfs_trim_fs in fs/ntfs3/bitmap.c.

Reference:
https://lkml.org/lkml/2023/2/20/860

Comment 1 Mauro Matteo Cascella 2023-03-19 17:36:40 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2179669]

Comment 2 Mauro Matteo Cascella 2023-03-19 17:39:46 UTC
syzkaller reproducer: https://gist.github.com/oswalpalash/113c274067bc9c4c653a6dd09fb2e456

According to SUSE [1] this flaw was fixed in upstream commit 557d19675a47: https://github.com/torvalds/linux/commit/557d19675a47

[1] https://bugzilla.suse.com/show_bug.cgi?id=1208694

Comment 3 Product Security DevOps Team 2023-03-19 21:30:44 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-26606

Comment 4 Justin M. Forbes 2023-03-21 12:51:51 UTC
This was fixed for Fedora with the 6.0.16 stable kernel updates.