Bug 1226923 (CVE-2024-34027) - VUL-0: CVE-2024-34027: kernel: f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
Summary: VUL-0: CVE-2024-34027: kernel: f2fs: compress: fix to cover {reserve,release}...
Status: RESOLVED INVALID
Alias: CVE-2024-34027
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411971/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-34027:6.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-24 18:16 UTC by SMASH SMASH
Modified: 2024-06-25 13:43 UTC (History)
2 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 SMASH SMASH 2024-06-24 18:16:03 UTC
In the Linux kernel, the following vulnerability has been resolved:

f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock

It needs to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
to avoid racing with checkpoint, otherwise, filesystem metadata including
blkaddr in dnode, inode fields and .total_valid_block_count may be
corrupted after SPO case.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-34027
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-34027.mbox
https://git.kernel.org/stable/c/a6e1f7744e9b84f86a629a76024bba8468aa153b
https://git.kernel.org/stable/c/b5bac43875aa27ec032dbbb86173baae6dce6182
https://git.kernel.org/stable/c/5d47d63883735718825ca2efc4fca6915469774f
https://git.kernel.org/stable/c/329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b
https://git.kernel.org/stable/c/69136304fd144144a4828c7b7b149d0f80321ba4
https://git.kernel.org/stable/c/0a4ed2d97cb6d044196cc3e726b6699222b41019
https://www.cve.org/CVERecord?id=CVE-2024-34027