Bug 2296067 (CVE-2024-39472)

Summary: CVE-2024-39472 kernel: xfs: fix log recovery buffer allocation for the legacy h_size fixup
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bzimport, dfreiber, drow, jburrell, rkeshri, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.10-rc1 Doc Type: If docs needed, set a value
Doc Text:
A security vulnerability has been discovered in the Linux kernel's XFS file system implementation, specifically within the xlog_logrec_hblks function. This flaw arises from an inadequate log recovery buffer allocation during the processing of legacy header size adjustments. The vulnerability can be triggered by maliciously crafted inputs, leading to an out-of-bounds memory access. Successful exploitation of this condition could result in data corruption within the XFS file system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mauro Matteo Cascella 2024-07-05 21:30:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

xfs: fix log recovery buffer allocation for the legacy h_size fixup

The Linux kernel CVE team has assigned CVE-2024-39472 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024070512-CVE-2024-39472-f977@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-05 21:31:00 UTC
*** Bug 2295910 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2024-08-08 04:46:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:5102 https://access.redhat.com/errata/RHSA-2024:5102

Comment 10 errata-xmlrpc 2024-08-08 04:58:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:5101 https://access.redhat.com/errata/RHSA-2024:5101

Comment 11 errata-xmlrpc 2024-10-16 00:09:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:8158 https://access.redhat.com/errata/RHSA-2024:8158

Comment 12 errata-xmlrpc 2024-10-16 00:20:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:8157 https://access.redhat.com/errata/RHSA-2024:8157

Comment 13 errata-xmlrpc 2024-10-30 01:26:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:8617 https://access.redhat.com/errata/RHSA-2024:8617