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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-26791— btrfs: dev-replace: properly validate device names

AI Predicted 5.5 Difficulty: Easy EPSS 0.25% · P16

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinuxe93c89c1aaaaaec3487c4c18dd02360371790722< 11d7a2e429c02d51e2dc90713823ea8b8d3d3a84affected
e93c89c1aaaaaec3487c4c18dd02360371790722< c6652e20d7d783d060fe5f987eac7b5cabe31311affected
e93c89c1aaaaaec3487c4c18dd02360371790722< 2886fe308a83968dde252302884a1e63351cf16daffected
e93c89c1aaaaaec3487c4c18dd02360371790722< ab2d68655d0f04650bef09fee948ff80597c5fb9affected
e93c89c1aaaaaec3487c4c18dd02360371790722< f590040ce2b712177306b03c2a63b16f7d48d3c8affected
e93c89c1aaaaaec3487c4c18dd02360371790722< b1690ced4d2d8b28868811fb81cd33eee5aefee1affected
e93c89c1aaaaaec3487c4c18dd02360371790722< 343eecb4ff49a7b1cc1dfe86958a805cf2341cfbaffected
e93c89c1aaaaaec3487c4c18dd02360371790722< 9845664b9ee47ce7ee7ea93caf47d39a9d4552c4affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-26791

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: dev-replace: properly validate device names
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: dev-replace: properly validate device names There's a syzbot report that device name buffers passed to device replace are not properly checked for string termination which could lead to a read out of bounds in getname_kernel(). Add a helper that validates both source and target device name buffers. For devid as the source initialize the buffer to empty string in case something tries to read it later. This was originally analyzed and fixed in a different way by Edward Adam Davis (see links).
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于btrfs dev-replace未正确验证设备名称,可能会导致越界读取。
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 e93c89c1aaaaaec3487c4c18dd02360371790722 ~ 11d7a2e429c02d51e2dc90713823ea8b8d3d3a84 -
LinuxLinux 3.8 -

II. Public POCs for CVE-2024-26791

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26791

登录查看更多情报信息。

Mailing List Discussions for CVE-2024-26791 (2)

Other References for CVE-2024-26791 (8)

Same Patch Batch · Linux · 2024-04-04 · 32 CVEs total

CVE-2024-26793gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
CVE-2024-26809netfilter: nft_set_pipapo: release elements in clone only from destroy path
CVE-2024-26808netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
CVE-2024-26807spi: cadence-qspi: fix pointer reference in runtime PM hooks
CVE-2024-26806spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks
CVE-2024-26805netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
CVE-2024-26804net: ip_tunnel: prevent perpetual headroom growth
CVE-2024-26803net: veth: clear GRO when clearing XDP even when down
CVE-2024-26802stmmac: Clear variable when destroying workqueue
CVE-2024-26800tls: fix use-after-free on failed backlog decryption
CVE-2024-26801Bluetooth: Avoid potential use-after-free in hci_error_reset
CVE-2024-26799ASoC: qcom: Fix uninitialized pointer dmactl
CVE-2024-26798fbcon: always restore the old font data in fbcon_do_set_font()
CVE-2024-26797drm/amd/display: Prevent potential buffer overflow in map_hw_resources
CVE-2024-26796drivers: perf: ctr_get_width function for legacy is not defined
CVE-2024-26795riscv: Sparse-Memory/vmemmap out-of-bounds fix
CVE-2024-26745powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
CVE-2024-26792btrfs: fix double free of anonymous device after snapshot creation failure
CVE-2024-26790dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
CVE-2024-26789crypto: arm64/neonbs - fix out-of-bounds access on short input

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-26791

No comments yet


Leave a comment