Bug 2182441 (CVE-2023-26544)

Summary: CVE-2023-26544 kernel: ntfs3: use-after-free in run_unpack()
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
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, dbohanno, ddepaula, debarbos, dfreiber, dvlasenk, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, ldoskova, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rrobaina, rvrbovsk, rysulliv, scweaver, steve.beattie, tyberry, vkumar, walters, wcosta, williams, wmealing, ycote
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-04-06 09:51:16 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: 2184959    
Bug Blocks: 2173493    

Description Pedro Sampaio 2023-03-28 16:21:27 UTC
In the Linux kernel 6.0.8, there is a use-after-free in run_unpack in fs/ntfs3/run.c, related to a difference between NTFS sector size and media sector size.

References:

https://lkml.org/lkml/2023/2/20/128

Comment 1 Mauro Matteo Cascella 2023-04-06 09:37:19 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2184959]

Comment 2 Mauro Matteo Cascella 2023-04-06 09:43:35 UTC
According to SUSE [1] this may have been fixed via commit 887bfc5460 ("fs/ntfs3: Fix slab-out-of-bounds read in run_unpack").

[1] https://bugzilla.suse.com/show_bug.cgi?id=1208697
[2] https://github.com/torvalds/linux/commit/887bfc5460

Comment 3 Justin M. Forbes 2023-04-06 15:51:54 UTC
This was fixed for Fedora with the 6.0.17 stable kernel updates.