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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-52444— f2fs: fix to avoid dirent corruption

EPSS 0.01% · P1
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-52444

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
f2fs: fix to avoid dirent corruption
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid dirent corruption As Al reported in link[1]: f2fs_rename() ... if (old_dir != new_dir && !whiteout) f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir); else f2fs_put_page(old_dir_page, 0); You want correct inumber in the ".." link. And cross-directory rename does move the source to new parent, even if you'd been asked to leave a whiteout in the old place. [1] https://lore.kernel.org/all/20231017055040.GN800259@ZenIV/ With below testcase, it may cause dirent corruption, due to it missed to call f2fs_set_link() to update ".." link to new directory. - mkdir -p dir/foo - renameat2 -w dir/foo bar [ASSERT] (__chk_dots_dentries:1421) --> Bad inode number[0x4] for '..', parent parent ino is [0x3] [FSCK] other corrupted bugs [Fail]
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存在安全漏洞,该漏洞源于跨目录重命名会将源移动到新的父级。
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 7e01e7ad746bc8198a8b46163ddc73a1c7d22339 ~ 02160112e6d45c2610b049df6eb693d7a2e57b46 -
LinuxLinux 4.2 -

II. Public POCs for CVE-2023-52444

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52444

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-02-22 · 17 CVEs total

CVE-2024-26592ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
CVE-2024-26591bpf: Fix re-attachment branch in bpf_tracing_prog_attach
CVE-2023-52452bpf: Fix accesses to uninit stack slots
CVE-2023-52451powerpc/pseries/memhp: Fix access beyond end of drmem array
CVE-2023-52450perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()
CVE-2023-52449mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
CVE-2023-52448gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
CVE-2023-52447bpf: Defer the free of inner map when necessary
CVE-2023-52446bpf: Fix a race condition between btf_put() and map_free()
CVE-2023-52445media: pvrusb2: fix use after free on context disconnection
CVE-2024-26589bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
CVE-2024-26590erofs: fix inconsistent per-file compression format
CVE-2024-26588LoongArch: BPF: Prevent out-of-bounds memory access
CVE-2024-26586mlxsw: spectrum_acl_tcam: Fix stack corruption
CVE-2024-26587net: netdevsim: don't try to destroy PHC on VFs
CVE-2023-52443apparmor: avoid crash when parsed profile name is empty

IV. Related Vulnerabilities

V. Comments for CVE-2023-52444

No comments yet


Leave a comment