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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-56755— netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING

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

I. Basic Information for CVE-2024-56755

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
netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING In fscache_create_volume(), there is a missing memory barrier between the bit-clearing operation and the wake-up operation. This may cause a situation where, after a wake-up, the bit-clearing operation hasn't been detected yet, leading to an indefinite wait. The triggering process is as follows: [cookie1] [cookie2] [volume_work] fscache_perform_lookup fscache_create_volume fscache_perform_lookup fscache_create_volume fscache_create_volume_work cachefiles_acquire_volume clear_and_wake_up_bit test_and_set_bit test_and_set_bit goto maybe_wait goto no_wait In the above process, cookie1 and cookie2 has the same volume. When cookie1 enters the -no_wait- process, it will clear the bit and wake up the waiting process. If a barrier is missing, it may cause cookie2 to remain in the -wait- process indefinitely. In commit 3288666c7256 ("fscache: Use clear_and_wake_up_bit() in fscache_create_volume_work()"), barriers were added to similar operations in fscache_create_volume_work(), but fscache_create_volume() was missed. By combining the clear and wake operations into clear_and_wake_up_bit() to fix this issue.
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存在安全漏洞,该漏洞源于f2fs模块中f2fs_record_stop_reason函数中的潜在死锁。
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 bfa22da3ed652aa15acd4246fa13a0de6dbe4a59 ~ ddab02607eed9e415dc62fde421d4329e5345315 -
LinuxLinux 5.17 -

II. Public POCs for CVE-2024-56755

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56755

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-12-29 · 39 CVEs total

CVE-2024-56748scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
CVE-2024-56729smb: Initialize cfid->tcon before performing network ops
CVE-2024-56730net/9p/usbg: fix handling of the failed kzalloc() memory allocation
CVE-2024-56740nfs/localio: must clear res.replen in nfs_local_read_done
CVE-2024-56739rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
CVE-2024-56742vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
CVE-2024-56743nfs_common: must not hold RCU while calling nfsd_file_put_local
CVE-2024-56745PCI: Fix reset_method_store() memory leak
CVE-2024-56744f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
CVE-2024-56746fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
CVE-2024-56727octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_flows.c
CVE-2024-56747scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
CVE-2024-56749dlm: fix dlm_recover_members refcount on error
CVE-2024-56750erofs: fix blksize < PAGE_SIZE for file-backed mounts
CVE-2024-56751ipv6: release nexthop on device removal
CVE-2024-56752drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
CVE-2024-56753drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module
CVE-2024-56754crypto: caam - Fix the pointer passed to caam_qi_shutdown()
CVE-2024-56756nvme-pci: fix freeing of the HMB descriptor table
CVE-2024-56719net: stmmac: fix TSO DMA API usage causing oops

Showing top 20 of 39 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-56755

No comments yet


Leave a comment