跳转到帖子

Red Hat: CVE-2024-40972: kernel: ext4: do not create EA inode under buffer lock (Multiple Advisories)

recommended_posts

发布于
  • Members

Red Hat: CVE-2024-40972: kernel: ext4: do not create EA inode under buffer lock (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:H/Au:M/C:N/I:N/A:C)
Published
07/12/2024
Created
09/26/2024
Added
09/25/2024
Modified
02/06/2025

Description

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.

Solution(s)

  • redhat-upgrade-kernel
  • redhat-upgrade-kernel-rt

References

  • CVE-2024-40972
  • RHSA-2024:7000
  • RHSA-2024:7001
  • RHSA-2024:8617
  • 查看数 699
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…