Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-56780— quota: flush quota_release_work upon quota writeback

EPSS 0.02% · P4
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-56780

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
quota: flush quota_release_work upon quota writeback
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: quota: flush quota_release_work upon quota writeback One of the paths quota writeback is called from is: freeze_super() sync_filesystem() ext4_sync_fs() dquot_writeback_dquots() Since we currently don't always flush the quota_release_work queue in this path, we can end up with the following race: 1. dquot are added to releasing_dquots list during regular operations. 2. FS Freeze starts, however, this does not flush the quota_release_work queue. 3. Freeze completes. 4. Kernel eventually tries to flush the workqueue while FS is frozen which hits a WARN_ON since transaction gets started during frozen state: ext4_journal_check_start+0x28/0x110 [ext4] (unreliable) __ext4_journal_start_sb+0x64/0x1c0 [ext4] ext4_release_dquot+0x90/0x1d0 [ext4] quota_release_workfn+0x43c/0x4d0 Which is the following line: WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); Which ultimately results in generic/390 failing due to dmesg noise. This was detected on powerpc machine 15 cores. To avoid this, make sure to flush the workqueue during dquot_writeback_dquots() so we dont have any pending workitems after freeze.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于配额系统在冻结文件系统时,未始终刷新quota_release_work队列,可能导致在文件系统冻结状态下尝试启动事务,触发警告,影响文件系统的稳定性和性能。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux d40c192e119892799dd4ddf94f5cea6fa93775ef ~ a5abba5e0e586e258ded3e798fe5f69c66fec198 -
LinuxLinux 6.6 -

II. Public POCs for CVE-2024-56780

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56780

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-01-08 · 16 CVEs total

CVE-2024-56770net/sched: netem: account for backlog updates from child qdisc
CVE-2024-56771mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information
CVE-2024-56773kunit: Fix potential null dereference in kunit_device_driver_test()
CVE-2024-56772kunit: string-stream: Fix a UAF bug in kunit_init_suite()
CVE-2024-56774btrfs: add a sanity check for btrfs root in btrfs_search_slot()
CVE-2024-56775drm/amd/display: Fix handling of plane refcount
CVE-2024-56776drm/sti: avoid potential dereference of error pointers
CVE-2024-56777drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
CVE-2024-56778drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
CVE-2024-56779nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
CVE-2024-56782ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
CVE-2024-56783netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
CVE-2024-56785MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
CVE-2024-56784drm/amd/display: Adding array index check to prevent memory corruption
CVE-2024-56787soc: imx8m: Probe the SoC driver as platform driver

IV. Related Vulnerabilities

V. Comments for CVE-2024-56780

No comments yet


Leave a comment