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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-50088— btrfs: fix uninitialized pointer free in add_inode_ref()

EPSS 0.04% · P11
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-50088

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
btrfs: fix uninitialized pointer free in add_inode_ref()
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free in add_inode_ref() The add_inode_ref() function does not initialize the "name" struct when it is declared. If any of the following calls to "read_one_inode() returns NULL, dir = read_one_inode(root, parent_objectid); if (!dir) { ret = -ENOENT; goto out; } inode = read_one_inode(root, inode_objectid); if (!inode) { ret = -EIO; goto out; } then "name.name" would be freed on "out" before being initialized. out: ... kfree(name.name); This issue was reported by Coverity with CID 1526744.
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存在安全漏洞,该漏洞源于在add_inode_ref函数中未初始化“name”结构体,导致释放未初始化的指针。
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 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e ~ 12cf028381aa19bc38465341512c280256e8d82d -
LinuxLinux 6.2 -

II. Public POCs for CVE-2024-50088

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-50088

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-10-29 · 21 CVEs total

CVE-2024-50077Bluetooth: ISO: Fix multiple init when debugfs is disabled
CVE-2024-50068mm/damon/tests/sysfs-kunit.h: fix memory leak in damon_sysfs_test_add_targets()
CVE-2024-50069pinctrl: apple: check devm_kasprintf() returned value
CVE-2024-50070pinctrl: stm32: check devm_kasprintf() returned value
CVE-2024-50071pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func()
CVE-2024-50072x86/bugs: Use code segment selector for VERW operand
CVE-2024-50073tty: n_gsm: Fix use-after-free in gsm_cleanup_mux
CVE-2024-50074parport: Proper fix for array out-of-bounds access
CVE-2024-50075xhci: tegra: fix checked USB2 port number
CVE-2024-50076vt: prevent kernel-infoleak in con_font_get()
CVE-2024-50087btrfs: fix uninitialized pointer free on read_alloc_one_name() error
CVE-2024-50078Bluetooth: Call iso_exit() on module unload
CVE-2024-50079io_uring/sqpoll: ensure task state is TASK_RUNNING when running task_work
CVE-2024-50080ublk: don't allow user copy for unprivileged device
CVE-2024-50081blk-mq: setup queue ->tag_set before initializing hctx
CVE-2024-50082blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race
CVE-2024-50083tcp: fix mptcp DSS corruption due to large pmtu xmit
CVE-2024-50084net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_test()
CVE-2024-50085mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow
CVE-2024-50086ksmbd: fix user-after-free from session log off

IV. Related Vulnerabilities

V. Comments for CVE-2024-50088

No comments yet


Leave a comment