Bug 2217271 (CVE-2023-3397) - CVE-2023-3397 kernel: slab-use-after-free Write in txEnd due to race condition
Summary: CVE-2023-3397 kernel: slab-use-after-free Write in txEnd due to race condition
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2023-3397
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2217272
Blocks: 2203855
TreeView+ depends on / blocked
 
Reported: 2023-06-25 19:23 UTC by Rohit Keshri
Modified: 2023-10-04 11:01 UTC (History)
46 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A race condition occurred between the functions lmLogClose and txEnd in JFS, in the Linux Kernel, executed in different threads. This flaw allows a local attacker with normal user privileges to crash the system or leak internal kernel information.
Clone Of:
Environment:
Last Closed: 2023-06-26 11:32:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2023-06-25 19:23:00 UTC
A race condition occurred between two functions lmLogClose and txEnd, which were executed in different threads.
The possible sequence is as follows:

-------------------------------------------------------------------------
cpu1(free thread)        |        cpu2(use thread)
-------------------------------------------------------------------------
lmLogClose                |        txEnd
                                   |        log = JFS_SBI(tblk->sb)->log;
sbi->log = NULL;        |
kfree(log); [1] free log |
                                   |        clear_bit(log_FLUSH,
&log->flag); [2] UAF

Comment 2 Rohit Keshri 2023-06-25 19:25:07 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2217272]

Comment 5 Product Security DevOps Team 2023-06-26 11:32:13 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-3397


Note You need to log in before you can comment on or make changes to this bug.