Kernel: slab-use-after-free write in txend due to race condition

Summary

CVECVE-2023-3397
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-01 20:15:08 UTC
Updated2026-11-07 14:16:54 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6.3 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

EPSS: 0.002100000 probability, percentile 0.112040000 (date 2026-11-08)

Problem Types: CWE-416 | CWE-362 | CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
3.1[email protected]Secondary7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
[PATCH] fs/jfs: Add a mutex named txEnd_lmLogClose_mutex to prevent a race condition between txEnd and lmLogClose functions — Linux Kernel af854a3a-2127-422b-91ae-364da2661108 www.spinics.net Mailing List, Patch
2217271 – (CVE-2023-3397) CVE-2023-3397 kernel: slab-use-after-free Write in txEnd due to race condition af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-05-15T00:00:00.000ZReported to Red Hat.
CNA2023-05-08T00:00:00.000ZMade public.

Workarounds

CNA: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Legacy QID Mappings

  • 356736 Amazon Linux Security Advisory for kernel : ALAS2-2023-2340
  • 356744 Amazon Linux Security Advisory for kernel : ALAS-2023-1883
  • 356874 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2023-056
  • 356887 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2023-043
  • 6140019 AWS Bottlerocket Security Update for kernel (GHSA-r7gg-6g8h-2h2x)
  • 6140190 AWS Bottlerocket Security Update for kernel (GHSA-r7gg-6g8h-2h2x)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report