Bug 1212704 (CVE-2023-3397) - VUL-0: CVE-2023-3397: kernel-source,kernel-source-rt,kernel-source-azure: slab-use-after-free Write in txEnd due to race condition
Summary: VUL-0: CVE-2023-3397: kernel-source,kernel-source-rt,kernel-source-azure: sla...
Status: RESOLVED WONTFIX
Alias: CVE-2023-3397
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Goldwyn Rodrigues
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/370458/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-3397:7.0:(AV:L...
Keywords:
Depends on:
Blocks: 1212935
  Show dependency treegraph
 
Reported: 2023-06-26 07:35 UTC by Cathy Hu
Modified: 2023-10-04 10:52 UTC (History)
5 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cathy Hu 2023-06-26 07:35:12 UTC
CVE-2023-3397

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

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-3397
https://bugzilla.redhat.com/show_bug.cgi?id=2217271
Comment 6 Goldwyn Rodrigues 2023-10-04 10:52:30 UTC
This is a syzkaller discovered bug which does not have a proper resolution. The developer has not posted a followup after the discussion. Closing as WONTFIX because the filesystem is unsupported.