Bug 2297556 (CVE-2024-40972) - CVE-2024-40972 kernel: ext4: do not create EA inode under buffer lock
Summary: CVE-2024-40972 kernel: ext4: do not create EA inode under buffer lock
Keywords:
Status: NEW
Alias: CVE-2024-40972
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:43 UTC by OSIDB Bzimport
Modified: 2024-11-07 15:10 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.7, kernel 6.10-rc1
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:7043 0 None None None 2024-09-24 09:43:08 UTC
Red Hat Product Errata RHBA-2024:7198 0 None None None 2024-09-26 09:50:49 UTC
Red Hat Product Errata RHBA-2024:7236 0 None None None 2024-09-26 14:33:22 UTC
Red Hat Product Errata RHBA-2024:7637 0 None None None 2024-10-03 14:45:56 UTC
Red Hat Product Errata RHBA-2024:8227 0 None None None 2024-10-17 06:46:00 UTC
Red Hat Product Errata RHBA-2024:9014 0 None None None 2024-11-07 15:10:48 UTC
Red Hat Product Errata RHSA-2024:7000 0 None None None 2024-09-24 02:34:32 UTC
Red Hat Product Errata RHSA-2024:7001 0 None None None 2024-09-24 00:39:14 UTC
Red Hat Product Errata RHSA-2024:8617 0 None None None 2024-10-30 01:26:40 UTC

Description OSIDB Bzimport 2024-07-12 13:43:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

ext4: do not create EA inode under buffer lock

ext4_xattr_set_entry() creates new EA inodes while holding buffer lock
on the external xattr block. This is problematic as it nests all the
allocation locking (which acquires locks on other buffers) under the
buffer lock. This can even deadlock when the filesystem is corrupted and
e.g. quota file is setup to contain xattr block as data block. Move the
allocation of EA inode out of ext4_xattr_set_entry() into the callers.

Comment 11 errata-xmlrpc 2024-09-24 00:39:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 12 errata-xmlrpc 2024-09-24 02:34:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 13 errata-xmlrpc 2024-10-30 01:26:39 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


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